public static interface ContainerServiceEndpoint.Builder extends SdkPojo, CopyableBuilder<ContainerServiceEndpoint.Builder,ContainerServiceEndpoint>
| Modifier and Type | Method and Description |
|---|---|
ContainerServiceEndpoint.Builder |
containerName(String containerName)
The name of the container entry of the deployment that the endpoint configuration applies to.
|
ContainerServiceEndpoint.Builder |
containerPort(Integer containerPort)
The port of the specified container to which traffic is forwarded to.
|
default ContainerServiceEndpoint.Builder |
healthCheck(Consumer<ContainerServiceHealthCheckConfig.Builder> healthCheck)
An object that describes the health check configuration of the container.
|
ContainerServiceEndpoint.Builder |
healthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContainerServiceEndpoint.Builder containerName(String containerName)
The name of the container entry of the deployment that the endpoint configuration applies to.
containerName - The name of the container entry of the deployment that the endpoint configuration applies to.ContainerServiceEndpoint.Builder containerPort(Integer containerPort)
The port of the specified container to which traffic is forwarded to.
containerPort - The port of the specified container to which traffic is forwarded to.ContainerServiceEndpoint.Builder healthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
healthCheck - An object that describes the health check configuration of the container.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.Builder avoiding the need to create one manually via
ContainerServiceHealthCheckConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to healthCheck(ContainerServiceHealthCheckConfig).
healthCheck - a consumer that will call methods on ContainerServiceHealthCheckConfig.BuilderhealthCheck(ContainerServiceHealthCheckConfig)Copyright © 2023. All rights reserved.