Interface UpdateAccessControlRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAccessControlRequest.Builder,,UpdateAccessControlRequest> SdkBuilder<UpdateAccessControlRequest.Builder,,UpdateAccessControlRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAccessControlRequest
@Mutable
@NotThreadSafe
public static interface UpdateAccessControlRequest.Builder
extends AmplifyGen3Request.Builder, SdkPojo, CopyableBuilder<UpdateAccessControlRequest.Builder,UpdateAccessControlRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.environmentName(String environmentName) The name of the environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The rule that determines which users are granted access.rule(AccessControlRule rule) The rule that determines which users are granted access.The scope that the access control configuration applies to.scope(AccessControlScope scope) The scope that the access control configuration applies to.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Request.Builder
buildMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the environment.
- Parameters:
environmentName- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope that the access control configuration applies to.
- Parameters:
scope- The scope that the access control configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The scope that the access control configuration applies to.
- Parameters:
scope- The scope that the access control configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rule
The rule that determines which users are granted access.
- Parameters:
rule- The rule that determines which users are granted access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
The rule that determines which users are granted access.
This is a convenience method that creates an instance of theAccessControlRule.Builderavoiding the need to create one manually viaAccessControlRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(AccessControlRule).- Parameters:
rule- a consumer that will call methods onAccessControlRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAccessControlRequest.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
UpdateAccessControlRequest.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.
-