Interface UpdateGatewayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGatewayRequest.Builder,,UpdateGatewayRequest> EcsRequest.Builder,SdkBuilder<UpdateGatewayRequest.Builder,,UpdateGatewayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGatewayRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateGatewayRequest.Builderconfiguration(Consumer<UpdateGatewayConfiguration.Builder> configuration) The updated type-specific configuration for the gateway.configuration(UpdateGatewayConfiguration configuration) The updated type-specific configuration for the gateway.deletionProtection(Boolean deletionProtection) Specifies whether to enable deletion protection for the gateway.The name or Amazon Resource Name (ARN) of the gateway to update.infrastructureRoleArn(String infrastructureRoleArn) The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to manage infrastructure on your behalf.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.propagateTags(String propagateTags) Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages.propagateTags(PropagateGatewayTags propagateTags) Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages.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.services.ecs.model.EcsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gateway
The name or Amazon Resource Name (ARN) of the gateway to update.
- Parameters:
gateway- The name or Amazon Resource Name (ARN) of the gateway to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureRoleArn
The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to manage infrastructure on your behalf.
- Parameters:
infrastructureRoleArn- The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to manage infrastructure on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
Specifies whether to enable deletion protection for the gateway. When enabled, the gateway can't be deleted.
- Parameters:
deletionProtection- Specifies whether to enable deletion protection for the gateway. When enabled, the gateway can't be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The updated type-specific configuration for the gateway. The configuration variant must match the gateway's existing type, and only mutable fields can be changed.
- Parameters:
configuration- The updated type-specific configuration for the gateway. The configuration variant must match the gateway's existing type, and only mutable fields can be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateGatewayRequest.Builder configuration(Consumer<UpdateGatewayConfiguration.Builder> configuration) The updated type-specific configuration for the gateway. The configuration variant must match the gateway's existing type, and only mutable fields can be changed.
This is a convenience method that creates an instance of theUpdateGatewayConfiguration.Builderavoiding the need to create one manually viaUpdateGatewayConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(UpdateGatewayConfiguration).- Parameters:
configuration- a consumer that will call methods onUpdateGatewayConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.
- Parameters:
propagateTags- Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.
- Parameters:
propagateTags- Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateGatewayRequest.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
UpdateGatewayRequest.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.
-