Interface GetThingConnectivityDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetThingConnectivityDataResponse.Builder,,GetThingConnectivityDataResponse> IotResponse.Builder,SdkBuilder<GetThingConnectivityDataResponse.Builder,,GetThingConnectivityDataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetThingConnectivityDataResponse
-
Method Summary
Modifier and TypeMethodDescriptioncleanSession(Boolean cleanSession) Indicates whether the client is using a clean session.The unique identifier of the MQTT client.A Boolean that indicates the connectivity status.disconnectReason(String disconnectReason) The reason that the client is disconnected.disconnectReason(DisconnectReasonValue disconnectReason) The reason that the client is disconnected.keepAliveDuration(Integer keepAliveDuration) The keep-alive interval in seconds that the client specified when establishing the connection.sessionExpiry(Long sessionExpiry) The session expiry interval in seconds for the MQTT client connection.The IP address of the client that initiated the connection.sourcePort(Integer sourcePort) The client's source port.The IP address of the Amazon Web Services IoT Core endpoint that the client connected to.targetPort(Integer targetPort) The port number of the Amazon Web Services IoT Core endpoint that the client connected to.The name of your IoT thing.The timestamp of when the device connected or disconnected.vpcEndpointId(String vpcEndpointId) The ID of the VPC endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
thingName
The name of your IoT thing.
- Parameters:
thingName- The name of your IoT thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connected
A Boolean that indicates the connectivity status.
- Parameters:
connected- A Boolean that indicates the connectivity status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The timestamp of when the device connected or disconnected.
- Parameters:
timestamp- The timestamp of when the device connected or disconnected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disconnectReason
The reason that the client is disconnected.
- Parameters:
disconnectReason- The reason that the client is disconnected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disconnectReason
The reason that the client is disconnected.
- Parameters:
disconnectReason- The reason that the client is disconnected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceIp
The IP address of the client that initiated the connection.
- Parameters:
sourceIp- The IP address of the client that initiated the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePort
The client's source port.
- Parameters:
sourcePort- The client's source port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIp
The IP address of the Amazon Web Services IoT Core endpoint that the client connected to.
- Parameters:
targetIp- The IP address of the Amazon Web Services IoT Core endpoint that the client connected to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetPort
The port number of the Amazon Web Services IoT Core endpoint that the client connected to.
- Parameters:
targetPort- The port number of the Amazon Web Services IoT Core endpoint that the client connected to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointId
The ID of the VPC endpoint. Present for clients connected to Amazon Web Services IoT Core via a VPC endpoint.
- Parameters:
vpcEndpointId- The ID of the VPC endpoint. Present for clients connected to Amazon Web Services IoT Core via a VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keepAliveDuration
The keep-alive interval in seconds that the client specified when establishing the connection.
- Parameters:
keepAliveDuration- The keep-alive interval in seconds that the client specified when establishing the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cleanSession
Indicates whether the client is using a clean session. Returns
truefor clean sessions.- Parameters:
cleanSession- Indicates whether the client is using a clean session. Returnstruefor clean sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionExpiry
The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects.
- Parameters:
sessionExpiry- The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
The unique identifier of the MQTT client.
- Parameters:
clientId- The unique identifier of the MQTT client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-