public class ContainerProbe extends Object
Constructor and Description |
---|
ContainerProbe() |
Modifier and Type | Method and Description |
---|---|
ContainerExec |
exec()
Get the execution command to probe.
|
Integer |
failureThreshold()
Get the failure threshold.
|
ContainerHttpGet |
httpGet()
Get the Http Get settings to probe.
|
Integer |
initialDelaySeconds()
Get the initial delay seconds.
|
Integer |
periodSeconds()
Get the period seconds.
|
Integer |
successThreshold()
Get the success threshold.
|
Integer |
timeoutSeconds()
Get the timeout seconds.
|
ContainerProbe |
withExec(ContainerExec exec)
Set the execution command to probe.
|
ContainerProbe |
withFailureThreshold(Integer failureThreshold)
Set the failure threshold.
|
ContainerProbe |
withHttpGet(ContainerHttpGet httpGet)
Set the Http Get settings to probe.
|
ContainerProbe |
withInitialDelaySeconds(Integer initialDelaySeconds)
Set the initial delay seconds.
|
ContainerProbe |
withPeriodSeconds(Integer periodSeconds)
Set the period seconds.
|
ContainerProbe |
withSuccessThreshold(Integer successThreshold)
Set the success threshold.
|
ContainerProbe |
withTimeoutSeconds(Integer timeoutSeconds)
Set the timeout seconds.
|
public ContainerExec exec()
public ContainerProbe withExec(ContainerExec exec)
exec
- the exec value to setpublic ContainerHttpGet httpGet()
public ContainerProbe withHttpGet(ContainerHttpGet httpGet)
httpGet
- the httpGet value to setpublic Integer initialDelaySeconds()
public ContainerProbe withInitialDelaySeconds(Integer initialDelaySeconds)
initialDelaySeconds
- the initialDelaySeconds value to setpublic Integer periodSeconds()
public ContainerProbe withPeriodSeconds(Integer periodSeconds)
periodSeconds
- the periodSeconds value to setpublic Integer failureThreshold()
public ContainerProbe withFailureThreshold(Integer failureThreshold)
failureThreshold
- the failureThreshold value to setpublic Integer successThreshold()
public ContainerProbe withSuccessThreshold(Integer successThreshold)
successThreshold
- the successThreshold value to setpublic Integer timeoutSeconds()
public ContainerProbe withTimeoutSeconds(Integer timeoutSeconds)
timeoutSeconds
- the timeoutSeconds value to setCopyright © 2019. All rights reserved.