public static class ContainerHttpHealthCheck.Builder extends Object
Constructor and Description |
---|
Builder() |
public ContainerHttpHealthCheck.Builder name(String name)
public ContainerHttpHealthCheck.Builder initialDelayInSeconds(Integer initialDelayInSeconds)
public ContainerHttpHealthCheck.Builder intervalInSeconds(Integer intervalInSeconds)
public ContainerHttpHealthCheck.Builder failureThreshold(Integer failureThreshold)
public ContainerHttpHealthCheck.Builder successThreshold(Integer successThreshold)
public ContainerHttpHealthCheck.Builder timeoutInSeconds(Integer timeoutInSeconds)
public ContainerHttpHealthCheck.Builder status(ContainerHealthCheck.Status status)
public ContainerHttpHealthCheck.Builder statusDetails(String statusDetails)
public ContainerHttpHealthCheck.Builder failureAction(ContainerHealthCheckFailureAction failureAction)
public ContainerHttpHealthCheck.Builder path(String path)
Container health check HTTP path.
path
- the value to setpublic ContainerHttpHealthCheck.Builder port(Integer port)
Container health check HTTP port.
port
- the value to setpublic ContainerHttpHealthCheck.Builder headers(List<HealthCheckHttpHeader> headers)
Container health check HTTP headers.
headers
- the value to setpublic ContainerHttpHealthCheck build()
public ContainerHttpHealthCheck.Builder copy(ContainerHttpHealthCheck model)
Copyright © 2016–2024. All rights reserved.