Class ProbeRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.application.microservice.ProbeRepresentation
- All Implemented Interfaces:
ResourceRepresentation,org.svenson.DynamicProperties
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionProbeRepresentation(ProbeRepresentation.ExecActionRepresentation exec, ProbeRepresentation.TCPSocketActionRepresentation tcpSocket, ProbeRepresentation.HTTPGetActionRepresentation httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, Integer timeoutSeconds, Integer failureThreshold) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetExec()inthashCode()voidvoidsetFailureThreshold(Integer failureThreshold) voidvoidsetInitialDelaySeconds(Integer initialDelaySeconds) voidsetPeriodSeconds(Integer periodSeconds) voidsetSuccessThreshold(Integer successThreshold) voidvoidsetTimeoutSeconds(Integer timeoutSeconds) toString()Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setPropertyMethods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON
-
Constructor Details
-
ProbeRepresentation
public ProbeRepresentation() -
ProbeRepresentation
public ProbeRepresentation(ProbeRepresentation.ExecActionRepresentation exec, ProbeRepresentation.TCPSocketActionRepresentation tcpSocket, ProbeRepresentation.HTTPGetActionRepresentation httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, Integer timeoutSeconds, Integer failureThreshold)
-
-
Method Details
-
builder
-
setExec
-
setTcpSocket
-
setHttpGet
-
setInitialDelaySeconds
-
setPeriodSeconds
-
setSuccessThreshold
-
setTimeoutSeconds
-
setFailureThreshold
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classBaseResourceRepresentation
-
getExec
-
getTcpSocket
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.TCPSocketActionRepresentation getTcpSocket() -
getHttpGet
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.HTTPGetActionRepresentation getHttpGet() -
getInitialDelaySeconds
-
getPeriodSeconds
-
getSuccessThreshold
-
getTimeoutSeconds
-
getFailureThreshold
-