public static class ContainerCommandHealthCheck.Builder extends Object
Constructor and Description |
---|
Builder() |
public ContainerCommandHealthCheck.Builder name(String name)
public ContainerCommandHealthCheck.Builder initialDelayInSeconds(Integer initialDelayInSeconds)
public ContainerCommandHealthCheck.Builder intervalInSeconds(Integer intervalInSeconds)
public ContainerCommandHealthCheck.Builder failureThreshold(Integer failureThreshold)
public ContainerCommandHealthCheck.Builder successThreshold(Integer successThreshold)
public ContainerCommandHealthCheck.Builder timeoutInSeconds(Integer timeoutInSeconds)
public ContainerCommandHealthCheck.Builder status(ContainerHealthCheck.Status status)
public ContainerCommandHealthCheck.Builder statusDetails(String statusDetails)
public ContainerCommandHealthCheck.Builder failureAction(ContainerHealthCheckFailureAction failureAction)
public ContainerCommandHealthCheck.Builder command(List<String> command)
The list of strings that will be simplified to a single command for checking the status of the container.
command
- the value to setpublic ContainerCommandHealthCheck build()
public ContainerCommandHealthCheck.Builder copy(ContainerCommandHealthCheck model)
Copyright © 2016–2024. All rights reserved.