Interface ConnectivityInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectivityInfo.Builder,
,ConnectivityInfo> SdkBuilder<ConnectivityInfo.Builder,
,ConnectivityInfo> SdkPojo
- Enclosing class:
ConnectivityInfo
@Mutable
@NotThreadSafe
public static interface ConnectivityInfo.Builder
extends SdkPojo, CopyableBuilder<ConnectivityInfo.Builder,ConnectivityInfo>
-
Method Summary
Modifier and TypeMethodDescriptionhostAddress
(String hostAddress) The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.An ID for the connectivity information.Additional metadata to provide to client devices that connect to this core device.portNumber
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.
-