Interface GetPolicyStoreResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPolicyStoreResponse.Builder,
,GetPolicyStoreResponse> SdkBuilder<GetPolicyStoreResponse.Builder,
,GetPolicyStoreResponse> SdkPojo
,SdkResponse.Builder
,VerifiedPermissionsResponse.Builder
- Enclosing class:
GetPolicyStoreResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the policy store.cedarVersion
(String cedarVersion) The version of the Cedar language used with policies, policy templates, and schemas in this policy store.cedarVersion
(CedarVersion cedarVersion) The version of the Cedar language used with policies, policy templates, and schemas in this policy store.createdDate
(Instant createdDate) The date and time that the policy store was originally created.deletionProtection
(String deletionProtection) Specifies whether the policy store can be deleted.deletionProtection
(DeletionProtection deletionProtection) Specifies whether the policy store can be deleted.description
(String description) Descriptive text that you can provide to help with identification of the current policy store.lastUpdatedDate
(Instant lastUpdatedDate) The date and time that the policy store was last updated.policyStoreId
(String policyStoreId) The ID of the policy store;The list of tags associated with the policy store.default GetPolicyStoreResponse.Builder
validationSettings
(Consumer<ValidationSettings.Builder> validationSettings) The current validation settings for the policy store.validationSettings
(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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaValidationSettings.builder()
.When the
Consumer
completes,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:
-
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
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
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
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
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:
-
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
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:
-
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.
-