Class ConnectivityInfo
- java.lang.Object
- 
- software.amazon.awssdk.iot.discovery.model.ConnectivityInfo
 
- 
 public class ConnectivityInfo extends Object Describes a Greengrass core endpoint that a device can connect to API Documentation: https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-discover-api.html
- 
- 
Constructor SummaryConstructors Constructor Description ConnectivityInfo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetHostAddress()StringgetId()StringgetMetadata()IntegergetPortNumber()inthashCode()voidsetHostAddress(String hostAddress)Sets the address of the endpointvoidsetId(String id)Sets the identifier associated with this endpoint entryvoidsetMetadata(String metadata)Sets the additional user-configurable metadata about the connectivity entryvoidsetPortNumber(Integer portNumber)Sets the port of the endpoint
 
- 
- 
- 
Method Detail- 
getIdpublic String getId() - Returns:
- identifier associated with this endpoint entry
 
 - 
setIdpublic void setId(String id) Sets the identifier associated with this endpoint entry- Parameters:
- id- identifier associated with this endpoint entry
 
 - 
getHostAddresspublic String getHostAddress() - Returns:
- address of the endpoint
 
 - 
setHostAddresspublic void setHostAddress(String hostAddress) Sets the address of the endpoint- Parameters:
- hostAddress- address of the endpoint
 
 - 
getMetadatapublic String getMetadata() - Returns:
- additional user-configurable metadata about the connectivity entry
 
 - 
setMetadatapublic void setMetadata(String metadata) Sets the additional user-configurable metadata about the connectivity entry- Parameters:
- metadata- Additional user-configurable metadata about the connectivity entry
 
 - 
getPortNumberpublic Integer getPortNumber() - Returns:
- port of the endpoint
 
 - 
setPortNumberpublic void setPortNumber(Integer portNumber) Sets the port of the endpoint- Parameters:
- portNumber- port of the endpoint
 
 
- 
 
-