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 Summary
Constructors Constructor Description ConnectivityInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getHostAddress()
String
getId()
String
getMetadata()
Integer
getPortNumber()
int
hashCode()
void
setHostAddress(String hostAddress)
Sets the address of the endpointvoid
setId(String id)
Sets the identifier associated with this endpoint entryvoid
setMetadata(String metadata)
Sets the additional user-configurable metadata about the connectivity entryvoid
setPortNumber(Integer portNumber)
Sets the port of the endpoint
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- identifier associated with this endpoint entry
-
setId
public void setId(String id)
Sets the identifier associated with this endpoint entry- Parameters:
id
- identifier associated with this endpoint entry
-
getHostAddress
public String getHostAddress()
- Returns:
- address of the endpoint
-
setHostAddress
public void setHostAddress(String hostAddress)
Sets the address of the endpoint- Parameters:
hostAddress
- address of the endpoint
-
getMetadata
public String getMetadata()
- Returns:
- additional user-configurable metadata about the connectivity entry
-
setMetadata
public void setMetadata(String metadata)
Sets the additional user-configurable metadata about the connectivity entry- Parameters:
metadata
- Additional user-configurable metadata about the connectivity entry
-
getPortNumber
public Integer getPortNumber()
- Returns:
- port of the endpoint
-
setPortNumber
public void setPortNumber(Integer portNumber)
Sets the port of the endpoint- Parameters:
portNumber
- port of the endpoint
-
-