Interface GetPolicyStoreResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPolicyStoreResponse.Builder,GetPolicyStoreResponse>,SdkBuilder<GetPolicyStoreResponse.Builder,GetPolicyStoreResponse>,SdkPojo,SdkResponse.Builder,VerifiedPermissionsResponse.Builder
- Enclosing class:
- GetPolicyStoreResponse
@Mutable @NotThreadSafe public static interface GetPolicyStoreResponse.Builder extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<GetPolicyStoreResponse.Builder,GetPolicyStoreResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetPolicyStoreResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the policy store.GetPolicyStoreResponse.BuildercedarVersion(String cedarVersion)The version of the Cedar language used with policies, policy templates, and schemas in this policy store.GetPolicyStoreResponse.BuildercedarVersion(CedarVersion cedarVersion)The version of the Cedar language used with policies, policy templates, and schemas in this policy store.GetPolicyStoreResponse.BuildercreatedDate(Instant createdDate)The date and time that the policy store was originally created.GetPolicyStoreResponse.BuilderdeletionProtection(String deletionProtection)Specifies whether the policy store can be deleted.GetPolicyStoreResponse.BuilderdeletionProtection(DeletionProtection deletionProtection)Specifies whether the policy store can be deleted.GetPolicyStoreResponse.Builderdescription(String description)Descriptive text that you can provide to help with identification of the current policy store.GetPolicyStoreResponse.BuilderlastUpdatedDate(Instant lastUpdatedDate)The date and time that the policy store was last updated.GetPolicyStoreResponse.BuilderpolicyStoreId(String policyStoreId)The ID of the policy store;GetPolicyStoreResponse.Buildertags(Map<String,String> tags)The list of tags associated with the policy store.default GetPolicyStoreResponse.BuildervalidationSettings(Consumer<ValidationSettings.Builder> validationSettings)The current validation settings for the policy store.GetPolicyStoreResponse.BuildervalidationSettings(ValidationSettings validationSettings)The current validation settings for the policy store.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
policyStoreId
GetPolicyStoreResponse.Builder policyStoreId(String policyStoreId)
The ID of the policy store;
- Parameters:
policyStoreId- The ID of the policy store;- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
GetPolicyStoreResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the policy store.
- Parameters:
arn- The Amazon Resource Name (ARN) of the policy store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationSettings
GetPolicyStoreResponse.Builder validationSettings(ValidationSettings validationSettings)
The current validation settings for the policy store.
- Parameters:
validationSettings- The current validation settings for the policy store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationSettings
default GetPolicyStoreResponse.Builder validationSettings(Consumer<ValidationSettings.Builder> validationSettings)
The current validation settings for the policy store.
This is a convenience method that creates an instance of theValidationSettings.Builderavoiding the need to create one manually viaValidationSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationSettings(ValidationSettings).- Parameters:
validationSettings- a consumer that will call methods onValidationSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
validationSettings(ValidationSettings)
-
createdDate
GetPolicyStoreResponse.Builder createdDate(Instant createdDate)
The date and time that the policy store was originally created.
- Parameters:
createdDate- The date and time that the policy store was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDate
GetPolicyStoreResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date and time that the policy store was last updated.
- Parameters:
lastUpdatedDate- The date and time that the policy store was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetPolicyStoreResponse.Builder description(String description)
Descriptive text that you can provide to help with identification of the current policy store.
- Parameters:
description- Descriptive text that you can provide to help with identification of the current policy store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
GetPolicyStoreResponse.Builder deletionProtection(String deletionProtection)
Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.
The default state is
DISABLED.- Parameters:
deletionProtection- Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.The default state is
DISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeletionProtection,DeletionProtection
-
deletionProtection
GetPolicyStoreResponse.Builder deletionProtection(DeletionProtection deletionProtection)
Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.
The default state is
DISABLED.- Parameters:
deletionProtection- Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.The default state is
DISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeletionProtection,DeletionProtection
-
cedarVersion
GetPolicyStoreResponse.Builder cedarVersion(String cedarVersion)
The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.
- Parameters:
cedarVersion- The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CedarVersion,CedarVersion
-
cedarVersion
GetPolicyStoreResponse.Builder cedarVersion(CedarVersion cedarVersion)
The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.
- Parameters:
cedarVersion- The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see Amazon Verified Permissions upgrade to Cedar v4 FAQ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CedarVersion,CedarVersion
-
tags
GetPolicyStoreResponse.Builder tags(Map<String,String> tags)
The list of tags associated with the policy store.
- Parameters:
tags- The list of tags associated with the policy store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-