Interface GatewayConnector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayConnector.Builder,,GatewayConnector> SdkBuilder<GatewayConnector.Builder,,GatewayConnector> SdkPojo
- Enclosing class:
GatewayConnector
@Mutable
@NotThreadSafe
public static interface GatewayConnector.Builder
extends SdkPojo, CopyableBuilder<GatewayConnector.Builder,GatewayConnector>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GatewayConnector.Builderfilters(Consumer<GatewayConnectorFilters.Builder> filters) The filters that control which gateway ingress paths the connector applies to.filters(GatewayConnectorFilters filters) The filters that control which gateway ingress paths the connector applies to.default GatewayConnector.BuilderhealthCheck(Consumer<GatewayConnectorHealthCheck.Builder> healthCheck) The health check that the gateway uses to determine whether the targets for this connector are healthy.healthCheck(GatewayConnectorHealthCheck healthCheck) The health check that the gateway uses to determine whether the targets for this connector are healthy.The name of the service port that the gateway routes ingress traffic to.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
-
portName
The name of the service port that the gateway routes ingress traffic to.
- Parameters:
portName- The name of the service port that the gateway routes ingress traffic to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
The health check that the gateway uses to determine whether the targets for this connector are healthy.
- Parameters:
healthCheck- The health check that the gateway uses to determine whether the targets for this connector are healthy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
default GatewayConnector.Builder healthCheck(Consumer<GatewayConnectorHealthCheck.Builder> healthCheck) The health check that the gateway uses to determine whether the targets for this connector are healthy.
This is a convenience method that creates an instance of theGatewayConnectorHealthCheck.Builderavoiding the need to create one manually viaGatewayConnectorHealthCheck.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheck(GatewayConnectorHealthCheck).- Parameters:
healthCheck- a consumer that will call methods onGatewayConnectorHealthCheck.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
The filters that control which gateway ingress paths the connector applies to.
- Parameters:
filters- The filters that control which gateway ingress paths the connector applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters that control which gateway ingress paths the connector applies to.
This is a convenience method that creates an instance of theGatewayConnectorFilters.Builderavoiding the need to create one manually viaGatewayConnectorFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(GatewayConnectorFilters).- Parameters:
filters- a consumer that will call methods onGatewayConnectorFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-