public static interface EndpointRequest.Builder extends SdkPojo, CopyableBuilder<EndpointRequest.Builder,EndpointRequest>
| Modifier and Type | Method and Description |
|---|---|
EndpointRequest.Builder |
containerName(String containerName)
The name of the container for the endpoint.
|
EndpointRequest.Builder |
containerPort(Integer containerPort)
The port of the container to which traffic is forwarded to.
|
default EndpointRequest.Builder |
healthCheck(Consumer<ContainerServiceHealthCheckConfig.Builder> healthCheck)
An object that describes the health check configuration of the container.
|
EndpointRequest.Builder |
healthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEndpointRequest.Builder containerName(String containerName)
The name of the container for the endpoint.
containerName - The name of the container for the endpoint.EndpointRequest.Builder containerPort(Integer containerPort)
The port of the container to which traffic is forwarded to.
containerPort - The port of the container to which traffic is forwarded to.EndpointRequest.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 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.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 © 2022. All rights reserved.