Interface GatewayConnection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayConnection.Builder,,GatewayConnection> SdkBuilder<GatewayConnection.Builder,,GatewayConnection> SdkPojo
- Enclosing class:
GatewayConnection
-
Method Summary
Modifier and TypeMethodDescriptionaccessType(String accessType) The access type of the gateway ingress path.accessType(AccessType accessType) The access type of the gateway ingress path.gatewayArn(String gatewayArn) The Amazon Resource Name (ARN) of the gateway.gatewayRouteArn(String gatewayRouteArn) The Amazon Resource Name (ARN) of the gateway route for the connection.The name of the service port that receives gateway-managed ingress traffic.default GatewayConnection.Builderresources(Consumer<GatewayConnectionResources.Builder> resources) The gateway-managed infrastructure resources for the connection.resources(GatewayConnectionResources resources) The gateway-managed infrastructure resources for the connection.serviceUrl(String serviceUrl) The URL that the gateway uses to route ingress traffic to the service.The status of the gateway route for the connection.status(GatewayRouteStatus status) The status of the gateway route for the connection.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.
-
gatewayRouteArn
The Amazon Resource Name (ARN) of the gateway route for the connection.
- Parameters:
gatewayRouteArn- The Amazon Resource Name (ARN) of the gateway route for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portName
The name of the service port that receives gateway-managed ingress traffic.
- Parameters:
portName- The name of the service port that receives gateway-managed ingress traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceUrl
The URL that the gateway uses to route ingress traffic to the service.
- Parameters:
serviceUrl- The URL that the gateway uses to route ingress traffic to the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessType
The access type of the gateway ingress path.
Valid values:
-
PUBLIC- The ingress path is publicly accessible. -
PRIVATE- The ingress path is only accessible privately.
- Parameters:
accessType- The access type of the gateway ingress path.Valid values:
-
PUBLIC- The ingress path is publicly accessible. -
PRIVATE- The ingress path is only accessible privately.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
accessType
The access type of the gateway ingress path.
Valid values:
-
PUBLIC- The ingress path is publicly accessible. -
PRIVATE- The ingress path is only accessible privately.
- Parameters:
accessType- The access type of the gateway ingress path.Valid values:
-
PUBLIC- The ingress path is publicly accessible. -
PRIVATE- The ingress path is only accessible privately.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the gateway route for the connection.
- Parameters:
status- The status of the gateway route for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the gateway route for the connection.
- Parameters:
status- The status of the gateway route for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
The gateway-managed infrastructure resources for the connection.
- Parameters:
resources- The gateway-managed infrastructure resources for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The gateway-managed infrastructure resources for the connection.
This is a convenience method that creates an instance of theGatewayConnectionResources.Builderavoiding the need to create one manually viaGatewayConnectionResources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(GatewayConnectionResources).- Parameters:
resources- a consumer that will call methods onGatewayConnectionResources.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-