Interface CreateGatewayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGatewayRequest.Builder,,CreateGatewayRequest> EcsRequest.Builder,SdkBuilder<CreateGatewayRequest.Builder,,CreateGatewayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateGatewayRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.default CreateGatewayRequest.Builderconfiguration(Consumer<GatewayConfiguration.Builder> configuration) The type-specific configuration for the gateway.configuration(GatewayConfiguration configuration) The type-specific configuration for the gateway.deletionProtection(Boolean deletionProtection) Specifies whether to enable deletion protection for the gateway.infrastructureRoleArn(String infrastructureRoleArn) The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to create and manage infrastructure on your behalf.The name for the gateway.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.tags(Collection<Tag> tags) The metadata that you apply to the gateway to help you categorize and organize it.tags(Consumer<Tag.Builder>... tags) The metadata that you apply to the gateway to help you categorize and organize it.The metadata that you apply to the gateway to help you categorize and organize it.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
-
name
The name for the gateway. The name must be unique within your account and can be up to 255 characters.
- Parameters:
name- The name for the gateway. The name must be unique within your account and can be up to 255 characters.- 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 create and manage infrastructure on your behalf.
- Parameters:
infrastructureRoleArn- The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to create and manage infrastructure on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.- 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, and the gateway propagates this setting to the load balancers it manages. The default is
true.- Parameters:
deletionProtection- Specifies whether to enable deletion protection for the gateway. When enabled, the gateway can't be deleted, and the gateway propagates this setting to the load balancers it manages. The default istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The type-specific configuration for the gateway. Exactly one configuration variant must be set, and it determines the gateway type. For example,
hostSharedAlbconfigures a gateway that uses Application Load Balancers with host-based routing.- Parameters:
configuration- The type-specific configuration for the gateway. Exactly one configuration variant must be set, and it determines the gateway type. For example,hostSharedAlbconfigures a gateway that uses Application Load Balancers with host-based routing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateGatewayRequest.Builder configuration(Consumer<GatewayConfiguration.Builder> configuration) The type-specific configuration for the gateway. Exactly one configuration variant must be set, and it determines the gateway type. For example,
This is a convenience method that creates an instance of thehostSharedAlbconfigures a gateway that uses Application Load Balancers with host-based routing.GatewayConfiguration.Builderavoiding the need to create one manually viaGatewayConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(GatewayConfiguration).- Parameters:
configuration- a consumer that will call methods onGatewayConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The metadata that you apply to the gateway to help you categorize and organize it. Each tag consists of a key and an optional value. Depending on
propagateTags, these tags can be applied to the infrastructure the gateway manages.- Parameters:
tags- The metadata that you apply to the gateway to help you categorize and organize it. Each tag consists of a key and an optional value. Depending onpropagateTags, these tags can be applied to the infrastructure the gateway manages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to the gateway to help you categorize and organize it. Each tag consists of a key and an optional value. Depending on
propagateTags, these tags can be applied to the infrastructure the gateway manages.- Parameters:
tags- The metadata that you apply to the gateway to help you categorize and organize it. Each tag consists of a key and an optional value. Depending onpropagateTags, these tags can be applied to the infrastructure the gateway manages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to the gateway to help you categorize and organize it. Each tag consists of a key and an optional value. Depending on
This is a convenience method that creates an instance of thepropagateTags, these tags can be applied to the infrastructure the gateway manages.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.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. The default is
GATEWAY.- Parameters:
propagateTags- Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. The default isGATEWAY.- 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. The default is
GATEWAY.- Parameters:
propagateTags- Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. The default isGATEWAY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateGatewayRequest.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
CreateGatewayRequest.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.
-