Interface Gateway.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Gateway.Builder,,Gateway> SdkBuilder<Gateway.Builder,,Gateway> SdkPojo
- Enclosing class:
Gateway
-
Method Summary
Modifier and TypeMethodDescriptionaccessType(String accessType) Specifies whether the gateway is publicly accessible (PUBLIC) or private (PRIVATE).accessType(AccessType accessType) Specifies whether the gateway is publicly accessible (PUBLIC) or private (PRIVATE).default Gateway.Builderconfiguration(Consumer<DescribeGatewayConfiguration.Builder> configuration) The type-specific configuration for the gateway.configuration(DescribeGatewayConfiguration configuration) The type-specific configuration for the gateway.The Unix timestamp for the time when the gateway was created.deletionProtection(Boolean deletionProtection) Specifies whether deletion protection is enabled for the gateway.failures(Collection<GatewayResourceFailure> failures) The per-resource failure details for asynchronous gateway processes, such as anUpdateGatewayoperation that couldn't update every load balancer.failures(Consumer<GatewayResourceFailure.Builder>... failures) The per-resource failure details for asynchronous gateway processes, such as anUpdateGatewayoperation that couldn't update every load balancer.failures(GatewayResourceFailure... failures) The per-resource failure details for asynchronous gateway processes, such as anUpdateGatewayoperation that couldn't update every load balancer.gatewayArn(String gatewayArn) The Amazon Resource Name (ARN) of the gateway.infrastructureRoleArn(String infrastructureRoleArn) The Amazon Resource Name (ARN) of the IAM role that the gateway uses to manage infrastructure on your behalf.The name of the gateway.propagateTags(String propagateTags) Specifies whether the gateway propagates its tags to the infrastructure it manages.propagateTags(PropagateGatewayTags propagateTags) Specifies whether the gateway propagates its tags to the infrastructure it manages.The status of the gateway.status(GatewayStatus status) The status of the gateway.statusReason(String statusReason) A human-readable explanation of the current status.tags(Collection<Tag> tags) The metadata applied to the gateway.tags(Consumer<Tag.Builder>... tags) The metadata applied to the gateway.The metadata applied to the gateway.The Unix timestamp for the time when the gateway was last updated.Methods 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
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway.
- Parameters:
gatewayArn- The Amazon Resource Name (ARN) of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the gateway.
- Parameters:
name- The name of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the gateway.
- Parameters:
status- The status of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the gateway.
- Parameters:
status- The status of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
A human-readable explanation of the current status. This value is populated when the gateway is in a failure state, such as
UPDATE_FAILED.- Parameters:
statusReason- A human-readable explanation of the current status. This value is populated when the gateway is in a failure state, such asUPDATE_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
The per-resource failure details for asynchronous gateway processes, such as an
UpdateGatewayoperation that couldn't update every load balancer.- Parameters:
failures- The per-resource failure details for asynchronous gateway processes, such as anUpdateGatewayoperation that couldn't update every load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
The per-resource failure details for asynchronous gateway processes, such as an
UpdateGatewayoperation that couldn't update every load balancer.- Parameters:
failures- The per-resource failure details for asynchronous gateway processes, such as anUpdateGatewayoperation that couldn't update every load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
The per-resource failure details for asynchronous gateway processes, such as an
This is a convenience method that creates an instance of theUpdateGatewayoperation that couldn't update every load balancer.GatewayResourceFailure.Builderavoiding the need to create one manually viaGatewayResourceFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailures(List<GatewayResourceFailure>).- Parameters:
failures- a consumer that will call methods onGatewayResourceFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
infrastructureRoleArn
The Amazon Resource Name (ARN) of the IAM role that the gateway uses to manage infrastructure on your behalf.
- Parameters:
infrastructureRoleArn- The Amazon Resource Name (ARN) of the IAM role that the gateway uses to manage infrastructure on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
Specifies whether deletion protection is enabled for the gateway.
- Parameters:
deletionProtection- Specifies whether deletion protection is enabled for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The type-specific configuration for the gateway.
- Parameters:
configuration- The type-specific configuration for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The type-specific configuration for the gateway.
This is a convenience method that creates an instance of theDescribeGatewayConfiguration.Builderavoiding the need to create one manually viaDescribeGatewayConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(DescribeGatewayConfiguration).- Parameters:
configuration- a consumer that will call methods onDescribeGatewayConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessType
Specifies whether the gateway is publicly accessible (
PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable.- Parameters:
accessType- Specifies whether the gateway is publicly accessible (PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessType
Specifies whether the gateway is publicly accessible (
PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable.- Parameters:
accessType- Specifies whether the gateway is publicly accessible (PUBLIC) or private (PRIVATE). The gateway derives this value from its scheme when you create the gateway, and the value is immutable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies whether the gateway propagates its tags to the infrastructure it manages.
- Parameters:
propagateTags- Specifies whether the gateway propagates its tags to the infrastructure it manages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Specifies whether the gateway propagates its tags to the infrastructure it manages.
- Parameters:
propagateTags- Specifies whether the gateway propagates its tags to the infrastructure it manages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The metadata applied to the gateway. Each tag consists of a key and an optional value.
- Parameters:
tags- The metadata applied to the gateway. Each tag consists of a key and an optional value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata applied to the gateway. Each tag consists of a key and an optional value.
- Parameters:
tags- The metadata applied to the gateway. Each tag consists of a key and an optional value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata applied to the gateway. Each tag consists of a key and an optional value.
This is a convenience method that creates an instance of theTag.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:
-
createdAt
The Unix timestamp for the time when the gateway was created.
- Parameters:
createdAt- The Unix timestamp for the time when the gateway was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The Unix timestamp for the time when the gateway was last updated.
- Parameters:
updatedAt- The Unix timestamp for the time when the gateway was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-