Class ConnectivityInfo
- java.lang.Object
-
- software.amazon.awssdk.services.greengrassv2.model.ConnectivityInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConnectivityInfo.Builder,ConnectivityInfo>
@Generated("software.amazon.awssdk:codegen") public final class ConnectivityInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectivityInfo.Builder,ConnectivityInfo>
Contains information about an endpoint and port where client devices can connect to an MQTT broker on a Greengrass core device.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnectivityInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectivityInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostAddress()The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.Stringid()An ID for the connectivity information.Stringmetadata()Additional metadata to provide to client devices that connect to this core device.IntegerportNumber()The port where the MQTT broker operates on the core device.List<SdkField<?>>sdkFields()static Class<? extends ConnectivityInfo.Builder>serializableBuilderClass()ConnectivityInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
An ID for the connectivity information.
- Returns:
- An ID for the connectivity information.
-
hostAddress
public final String hostAddress()
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
- Returns:
- The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
-
portNumber
public final 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.
- Returns:
- 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.
-
metadata
public final String metadata()
Additional metadata to provide to client devices that connect to this core device.
- Returns:
- Additional metadata to provide to client devices that connect to this core device.
-
toBuilder
public ConnectivityInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConnectivityInfo.Builder,ConnectivityInfo>
-
builder
public static ConnectivityInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConnectivityInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-