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
public class ProbeRepresentation extends AbstractExtensibleRepresentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProbeRepresentation.ExecActionRepresentation
static class
ProbeRepresentation.HTTPGetActionRepresentation
static class
ProbeRepresentation.HttpHeaderRepresentation
static class
ProbeRepresentation.ProbeRepresentationBuilder
static class
ProbeRepresentation.TCPSocketActionRepresentation
-
Constructor Summary
Constructors Constructor Description ProbeRepresentation()
ProbeRepresentation(ProbeRepresentation.ExecActionRepresentation exec, ProbeRepresentation.TCPSocketActionRepresentation tcpSocket, ProbeRepresentation.HTTPGetActionRepresentation httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, Integer timeoutSeconds, Integer failureThreshold)
-
Method Summary
-
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 Detail
-
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 Detail
-
builder
public static ProbeRepresentation.ProbeRepresentationBuilder builder()
-
setExec
public void setExec(ProbeRepresentation.ExecActionRepresentation exec)
-
setTcpSocket
public void setTcpSocket(ProbeRepresentation.TCPSocketActionRepresentation tcpSocket)
-
setHttpGet
public void setHttpGet(ProbeRepresentation.HTTPGetActionRepresentation httpGet)
-
setInitialDelaySeconds
public void setInitialDelaySeconds(Integer initialDelaySeconds)
-
setPeriodSeconds
public void setPeriodSeconds(Integer periodSeconds)
-
setSuccessThreshold
public void setSuccessThreshold(Integer successThreshold)
-
setTimeoutSeconds
public void setTimeoutSeconds(Integer timeoutSeconds)
-
setFailureThreshold
public void setFailureThreshold(Integer failureThreshold)
-
canEqual
protected boolean canEqual(Object other)
-
toString
public String toString()
- Overrides:
toString
in classBaseResourceRepresentation
-
getExec
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.ExecActionRepresentation getExec()
-
getTcpSocket
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.TCPSocketActionRepresentation getTcpSocket()
-
getHttpGet
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.HTTPGetActionRepresentation getHttpGet()
-
getInitialDelaySeconds
@JSONProperty(ignoreIfNull=true) public Integer getInitialDelaySeconds()
-
getPeriodSeconds
@JSONProperty(ignoreIfNull=true) public Integer getPeriodSeconds()
-
getSuccessThreshold
@JSONProperty(ignoreIfNull=true) public Integer getSuccessThreshold()
-
getTimeoutSeconds
@JSONProperty(ignoreIfNull=true) public Integer getTimeoutSeconds()
-
getFailureThreshold
@JSONProperty(ignoreIfNull=true) public Integer getFailureThreshold()
-
-