Interface EndpointRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EndpointRequest.Builder,EndpointRequest>,SdkBuilder<EndpointRequest.Builder,EndpointRequest>,SdkPojo
- Enclosing class:
- EndpointRequest
public static interface EndpointRequest.Builder extends SdkPojo, CopyableBuilder<EndpointRequest.Builder,EndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EndpointRequest.BuildercontainerName(String containerName)The name of the container for the endpoint.EndpointRequest.BuildercontainerPort(Integer containerPort)The port of the container to which traffic is forwarded to.default EndpointRequest.BuilderhealthCheck(Consumer<ContainerServiceHealthCheckConfig.Builder> healthCheck)An object that describes the health check configuration of the container.EndpointRequest.BuilderhealthCheck(ContainerServiceHealthCheckConfig healthCheck)An object that describes the health check configuration of the container.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
containerName
EndpointRequest.Builder containerName(String containerName)
The name of the container for the endpoint.
- Parameters:
containerName- The name of the container for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerPort
EndpointRequest.Builder containerPort(Integer containerPort)
The port of the container to which traffic is forwarded to.
- Parameters:
containerPort- The port of the container to which traffic is forwarded to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
EndpointRequest.Builder healthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
- Parameters:
healthCheck- An object that describes the health check configuration of the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
default EndpointRequest.Builder healthCheck(Consumer<ContainerServiceHealthCheckConfig.Builder> healthCheck)
An object that describes the health check configuration of the container.
This is a convenience method that creates an instance of theContainerServiceHealthCheckConfig.Builderavoiding the need to create one manually viaContainerServiceHealthCheckConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthCheck(ContainerServiceHealthCheckConfig).- Parameters:
healthCheck- a consumer that will call methods onContainerServiceHealthCheckConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
healthCheck(ContainerServiceHealthCheckConfig)
-
-