@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectivityInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an endpoint and port where client devices can connect to an MQTT broker on a Greengrass core device.
Constructor and Description |
---|
ConnectivityInfo() |
Modifier and Type | Method and Description |
---|---|
ConnectivityInfo |
clone() |
boolean |
equals(Object obj) |
String |
getHostAddress()
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
|
String |
getId()
An ID for the connectivity information.
|
String |
getMetadata()
Additional metadata to provide to client devices that connect to this core device.
|
Integer |
getPortNumber()
The port where the MQTT broker operates on the core device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHostAddress(String hostAddress)
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
|
void |
setId(String id)
An ID for the connectivity information.
|
void |
setMetadata(String metadata)
Additional metadata to provide to client devices that connect to this core device.
|
void |
setPortNumber(Integer portNumber)
The port where the MQTT broker operates on the core device.
|
String |
toString()
Returns a string representation of this object.
|
ConnectivityInfo |
withHostAddress(String hostAddress)
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
|
ConnectivityInfo |
withId(String id)
An ID for the connectivity information.
|
ConnectivityInfo |
withMetadata(String metadata)
Additional metadata to provide to client devices that connect to this core device.
|
ConnectivityInfo |
withPortNumber(Integer portNumber)
The port where the MQTT broker operates on the core device.
|
public void setId(String id)
An ID for the connectivity information.
id
- An ID for the connectivity information.public String getId()
An ID for the connectivity information.
public ConnectivityInfo withId(String id)
An ID for the connectivity information.
id
- An ID for the connectivity information.public void setHostAddress(String hostAddress)
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
hostAddress
- The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core
device.public String getHostAddress()
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
public ConnectivityInfo withHostAddress(String hostAddress)
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
hostAddress
- The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core
device.public void setPortNumber(Integer portNumber)
The port where the MQTT broker operates on the core device. This port is typically 8883, which is the default port for the MQTT broker component that runs on core devices.
portNumber
- The port where the MQTT broker operates on the core device. This port is typically 8883, which is the
default port for the MQTT broker component that runs on core devices.public Integer getPortNumber()
The port where the MQTT broker operates on the core device. This port is typically 8883, which is the default port for the MQTT broker component that runs on core devices.
public ConnectivityInfo withPortNumber(Integer portNumber)
The port where the MQTT broker operates on the core device. This port is typically 8883, which is the default port for the MQTT broker component that runs on core devices.
portNumber
- The port where the MQTT broker operates on the core device. This port is typically 8883, which is the
default port for the MQTT broker component that runs on core devices.public void setMetadata(String metadata)
Additional metadata to provide to client devices that connect to this core device.
metadata
- Additional metadata to provide to client devices that connect to this core device.public String getMetadata()
Additional metadata to provide to client devices that connect to this core device.
public ConnectivityInfo withMetadata(String metadata)
Additional metadata to provide to client devices that connect to this core device.
metadata
- Additional metadata to provide to client devices that connect to this core device.public String toString()
toString
in class Object
Object.toString()
public ConnectivityInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.