Interface GetThingConnectivityDataResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetThingConnectivityDataResponse.Builder,GetThingConnectivityDataResponse>
,IotResponse.Builder
,SdkBuilder<GetThingConnectivityDataResponse.Builder,GetThingConnectivityDataResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetThingConnectivityDataResponse
public static interface GetThingConnectivityDataResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetThingConnectivityDataResponse.Builder,GetThingConnectivityDataResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetThingConnectivityDataResponse.Builder
connected(Boolean connected)
A Boolean that indicates the connectivity status.GetThingConnectivityDataResponse.Builder
disconnectReason(String disconnectReason)
The reason why the client is disconnecting.GetThingConnectivityDataResponse.Builder
disconnectReason(DisconnectReasonValue disconnectReason)
The reason why the client is disconnecting.GetThingConnectivityDataResponse.Builder
thingName(String thingName)
The name of your IoT thing.GetThingConnectivityDataResponse.Builder
timestamp(Instant timestamp)
The timestamp of when the event occurred.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
thingName
GetThingConnectivityDataResponse.Builder thingName(String 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
GetThingConnectivityDataResponse.Builder connected(Boolean 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
GetThingConnectivityDataResponse.Builder timestamp(Instant timestamp)
The timestamp of when the event occurred.
- Parameters:
timestamp
- The timestamp of when the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disconnectReason
GetThingConnectivityDataResponse.Builder disconnectReason(String disconnectReason)
The reason why the client is disconnecting.
- Parameters:
disconnectReason
- The reason why the client is disconnecting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DisconnectReasonValue
,DisconnectReasonValue
-
disconnectReason
GetThingConnectivityDataResponse.Builder disconnectReason(DisconnectReasonValue disconnectReason)
The reason why the client is disconnecting.
- Parameters:
disconnectReason
- The reason why the client is disconnecting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DisconnectReasonValue
,DisconnectReasonValue
-
-