Interface ContainerServiceEndpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerServiceEndpoint.Builder,ContainerServiceEndpoint>,SdkBuilder<ContainerServiceEndpoint.Builder,ContainerServiceEndpoint>,SdkPojo
- Enclosing class:
- ContainerServiceEndpoint
public static interface ContainerServiceEndpoint.Builder extends SdkPojo, CopyableBuilder<ContainerServiceEndpoint.Builder,ContainerServiceEndpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ContainerServiceEndpoint.BuildercontainerName(String containerName)The name of the container entry of the deployment that the endpoint configuration applies to.ContainerServiceEndpoint.BuildercontainerPort(Integer containerPort)The port of the specified container to which traffic is forwarded to.default ContainerServiceEndpoint.BuilderhealthCheck(Consumer<ContainerServiceHealthCheckConfig.Builder> healthCheck)An object that describes the health check configuration of the container.ContainerServiceEndpoint.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
ContainerServiceEndpoint.Builder containerName(String containerName)
The name of the container entry of the deployment that the endpoint configuration applies to.
- Parameters:
containerName- The name of the container entry of the deployment that the endpoint configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerPort
ContainerServiceEndpoint.Builder containerPort(Integer containerPort)
The port of the specified container to which traffic is forwarded to.
- Parameters:
containerPort- The port of the specified container to which traffic is forwarded to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
ContainerServiceEndpoint.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 ContainerServiceEndpoint.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)
-
-