Interface UpdatePolicyStoreRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePolicyStoreRequest.Builder,
,UpdatePolicyStoreRequest> SdkBuilder<UpdatePolicyStoreRequest.Builder,
,UpdatePolicyStoreRequest> SdkPojo
,SdkRequest.Builder
,VerifiedPermissionsRequest.Builder
- Enclosing class:
UpdatePolicyStoreRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtection
(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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyStoreId
(String policyStoreId) Specifies the ID of the policy store that you want to updatedefault UpdatePolicyStoreRequest.Builder
validationSettings
(Consumer<ValidationSettings.Builder> validationSettings) A structure that defines the validation settings that want to enable for the policy store.validationSettings
(ValidationSettings validationSettings) A structure that defines the validation settings that want to enable for the policy store.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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.services.verifiedpermissions.model.VerifiedPermissionsRequest.Builder
build
-
Method Details
-
policyStoreId
Specifies the ID of the policy store that you want to update
- Parameters:
policyStoreId
- Specifies the ID of the policy store that you want to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationSettings
A structure that defines the validation settings that want to enable for the policy store.
- Parameters:
validationSettings
- A structure that defines the validation settings that want to enable for the policy store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationSettings
default UpdatePolicyStoreRequest.Builder validationSettings(Consumer<ValidationSettings.Builder> validationSettings) A structure that defines the validation settings that want to enable 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:
-
deletionProtection
Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.
When you call
UpdatePolicyStore
, this parameter is unchanged unless explicitly included in the call.- Parameters:
deletionProtection
- Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.When you call
UpdatePolicyStore
, this parameter is unchanged unless explicitly included in the call.- 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.
When you call
UpdatePolicyStore
, this parameter is unchanged unless explicitly included in the call.- Parameters:
deletionProtection
- Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.When you call
UpdatePolicyStore
, this parameter is unchanged unless explicitly included in the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
UpdatePolicyStoreRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePolicyStoreRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-