Class ProbeRepresentation.ProbeRepresentationBuilder
java.lang.Object
com.cumulocity.rest.representation.application.microservice.ProbeRepresentation.ProbeRepresentationBuilder
- Enclosing class:
- ProbeRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
failureThreshold
(Integer failureThreshold) initialDelaySeconds
(Integer initialDelaySeconds) periodSeconds
(Integer periodSeconds) successThreshold
(Integer successThreshold) timeoutSeconds
(Integer timeoutSeconds) toString()
-
Method Details
-
exec
public ProbeRepresentation.ProbeRepresentationBuilder exec(ProbeRepresentation.ExecActionRepresentation exec) - Returns:
this
.
-
tcpSocket
public ProbeRepresentation.ProbeRepresentationBuilder tcpSocket(ProbeRepresentation.TCPSocketActionRepresentation tcpSocket) - Returns:
this
.
-
httpGet
public ProbeRepresentation.ProbeRepresentationBuilder httpGet(ProbeRepresentation.HTTPGetActionRepresentation httpGet) - Returns:
this
.
-
initialDelaySeconds
public ProbeRepresentation.ProbeRepresentationBuilder initialDelaySeconds(Integer initialDelaySeconds) - Returns:
this
.
-
periodSeconds
- Returns:
this
.
-
successThreshold
- Returns:
this
.
-
timeoutSeconds
- Returns:
this
.
-
failureThreshold
- Returns:
this
.
-
build
-
toString
-