Interface UpdatePolicyStoreRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePolicyStoreRequest.Builder,,UpdatePolicyStoreRequest> SdkBuilder<UpdatePolicyStoreRequest.Builder,,UpdatePolicyStoreRequest> SdkPojo,SdkRequest.Builder,VerifiedPermissionsRequest.Builder
- Enclosing class:
UpdatePolicyStoreRequest
public static interface UpdatePolicyStoreRequest.Builder
extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<UpdatePolicyStoreRequest.Builder,UpdatePolicyStoreRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(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.BuildervalidationSettings(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.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:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-