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 class
static class
static class
static class
static 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 boolean
boolean
getExec()
int
hashCode()
void
void
setFailureThreshold
(Integer failureThreshold) void
void
setInitialDelaySeconds
(Integer initialDelaySeconds) void
setPeriodSeconds
(Integer periodSeconds) void
setSuccessThreshold
(Integer successThreshold) void
void
setTimeoutSeconds
(Integer timeoutSeconds) toString()
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
Methods 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:
toString
in classBaseResourceRepresentation
-
getExec
-
getTcpSocket
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.TCPSocketActionRepresentation getTcpSocket() -
getHttpGet
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.HTTPGetActionRepresentation getHttpGet() -
getInitialDelaySeconds
-
getPeriodSeconds
-
getSuccessThreshold
-
getTimeoutSeconds
-
getFailureThreshold
-