Class ConnectivityInfo
java.lang.Object
software.amazon.awssdk.iot.discovery.model.ConnectivityInfo
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()inthashCode()voidsetHostAddress(String hostAddress) Sets the address of the endpointvoidSets 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
-
Constructor Details
-
ConnectivityInfo
public ConnectivityInfo()
-
-
Method Details
-
getId
- Returns:
- identifier associated with this endpoint entry
-
setId
Sets the identifier associated with this endpoint entry- Parameters:
id- identifier associated with this endpoint entry
-
getHostAddress
- Returns:
- address of the endpoint
-
setHostAddress
Sets the address of the endpoint- Parameters:
hostAddress- address of the endpoint
-
getMetadata
- Returns:
- additional user-configurable metadata about the connectivity entry
-
setMetadata
Sets the additional user-configurable metadata about the connectivity entry- Parameters:
metadata- Additional user-configurable metadata about the connectivity entry
-
getPortNumber
- Returns:
- port of the endpoint
-
setPortNumber
Sets the port of the endpoint- Parameters:
portNumber- port of the endpoint
-
equals
-
hashCode
public int hashCode()
-