Interface ConnectivityInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectivityInfo.Builder,ConnectivityInfo>,SdkBuilder<ConnectivityInfo.Builder,ConnectivityInfo>,SdkPojo
- Enclosing class:
- ConnectivityInfo
public static interface ConnectivityInfo.Builder extends SdkPojo, CopyableBuilder<ConnectivityInfo.Builder,ConnectivityInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectivityInfo.BuilderhostAddress(String hostAddress)The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.ConnectivityInfo.Builderid(String id)An ID for the connectivity information.ConnectivityInfo.Buildermetadata(String metadata)Additional metadata to provide to client devices that connect to this core device.ConnectivityInfo.BuilderportNumber(Integer portNumber)The port where the MQTT broker operates on the core device.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
ConnectivityInfo.Builder id(String id)
An ID for the connectivity information.
- Parameters:
id- An ID for the connectivity information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostAddress
ConnectivityInfo.Builder hostAddress(String hostAddress)
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
- Parameters:
hostAddress- The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portNumber
ConnectivityInfo.Builder portNumber(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
ConnectivityInfo.Builder metadata(String metadata)
Additional metadata to provide to client devices that connect to this core device.
- Parameters:
metadata- Additional metadata to provide to client devices that connect to this core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-