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
Modifier and TypeMethodDescriptioncontainerName(String containerName) The name of the container for the endpoint.containerPort(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.healthCheck(ContainerServiceHealthCheckConfig healthCheck) An object that describes the health check configuration of the container.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, sdkFields 
- 
Method Details
- 
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
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
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:
 
 
 -