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 classProbeRepresentation.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.TCPSocketActionRepresentationBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetHost()IntegergetPort()inthashCode()voidsetHost(String host)voidsetPort(Integer port)StringtoString()-
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:
toStringin classBaseResourceRepresentation
-
getPort
@JSONProperty(ignoreIfNull=true) public Integer getPort()
-
getHost
@JSONProperty(ignoreIfNull=true) public String getHost()
-
-