public class ProbeRepresentation extends AbstractExtensibleRepresentation
Modifier and Type | Class and Description |
---|---|
static class |
ProbeRepresentation.ExecActionRepresentation |
static class |
ProbeRepresentation.HTTPGetActionRepresentation |
static class |
ProbeRepresentation.HttpHeaderRepresentation |
static class |
ProbeRepresentation.ProbeRepresentationBuilder |
static class |
ProbeRepresentation.TCPSocketActionRepresentation |
Constructor and Description |
---|
ProbeRepresentation() |
ProbeRepresentation(ProbeRepresentation.ExecActionRepresentation exec,
ProbeRepresentation.TCPSocketActionRepresentation tcpSocket,
ProbeRepresentation.HTTPGetActionRepresentation httpGet,
Integer initialDelaySeconds,
Integer periodSeconds,
Integer successThreshold,
Integer timeoutSeconds,
Integer failureThreshold) |
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
getSelf, getSelfDecoded, setSelf, toJSON
public ProbeRepresentation()
public ProbeRepresentation(ProbeRepresentation.ExecActionRepresentation exec, ProbeRepresentation.TCPSocketActionRepresentation tcpSocket, ProbeRepresentation.HTTPGetActionRepresentation httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, Integer timeoutSeconds, Integer failureThreshold)
public static ProbeRepresentation.ProbeRepresentationBuilder builder()
public void setExec(ProbeRepresentation.ExecActionRepresentation exec)
public void setTcpSocket(ProbeRepresentation.TCPSocketActionRepresentation tcpSocket)
public void setHttpGet(ProbeRepresentation.HTTPGetActionRepresentation httpGet)
public void setInitialDelaySeconds(Integer initialDelaySeconds)
public void setPeriodSeconds(Integer periodSeconds)
public void setSuccessThreshold(Integer successThreshold)
public void setTimeoutSeconds(Integer timeoutSeconds)
public void setFailureThreshold(Integer failureThreshold)
protected boolean canEqual(Object other)
public String toString()
toString
in class BaseResourceRepresentation
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.ExecActionRepresentation getExec()
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.TCPSocketActionRepresentation getTcpSocket()
@JSONProperty(ignoreIfNull=true) public ProbeRepresentation.HTTPGetActionRepresentation getHttpGet()
@JSONProperty(ignoreIfNull=true) public Integer getInitialDelaySeconds()
@JSONProperty(ignoreIfNull=true) public Integer getPeriodSeconds()
@JSONProperty(ignoreIfNull=true) public Integer getSuccessThreshold()
@JSONProperty(ignoreIfNull=true) public Integer getTimeoutSeconds()
@JSONProperty(ignoreIfNull=true) public Integer getFailureThreshold()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.