Class ProbeRepresentation.TCPSocketActionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.application.microservice.ProbeRepresentation.TCPSocketActionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,org.svenson.DynamicProperties
- Enclosing class:
- ProbeRepresentation
public static class ProbeRepresentation.TCPSocketActionRepresentation extends AbstractExtensibleRepresentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProbeRepresentation.TCPSocketActionRepresentation.TCPSocketActionRepresentationBuilder
-
Constructor Summary
Constructors Constructor Description TCPSocketActionRepresentation()
TCPSocketActionRepresentation(Integer port, String host)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProbeRepresentation.TCPSocketActionRepresentation.TCPSocketActionRepresentationBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getHost()
Integer
getPort()
int
hashCode()
void
setHost(String host)
void
setPort(Integer port)
String
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
-
-
-
-
Method Detail
-
builder
public static ProbeRepresentation.TCPSocketActionRepresentation.TCPSocketActionRepresentationBuilder builder()
-
setPort
public void setPort(Integer port)
-
setHost
public void setHost(String host)
-
canEqual
protected boolean canEqual(Object other)
-
toString
public String toString()
- Overrides:
toString
in classBaseResourceRepresentation
-
getPort
@JSONProperty(ignoreIfNull=true) public Integer getPort()
-
getHost
@JSONProperty(ignoreIfNull=true) public String getHost()
-
-