Interface DescribeDeviceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDeviceResponse.Builder,
,DescribeDeviceResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeDeviceResponse.Builder,
,DescribeDeviceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDeviceResponse
public static interface DescribeDeviceResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeDeviceResponse.Builder,DescribeDeviceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentVersion
(String agentVersion) Edge Manager agent version.description
(String description) A description of the device.The Amazon Resource Name (ARN) of the device.deviceFleetName
(String deviceFleetName) The name of the fleet the device belongs to.deviceName
(String deviceName) The unique identifier of the device.iotThingName
(String iotThingName) The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.latestHeartbeat
(Instant latestHeartbeat) The last heartbeat received from the device.The maximum number of models.models
(Collection<EdgeModel> models) Models on the device.models
(Consumer<EdgeModel.Builder>... models) Models on the device.Models on the device.The response from the last list when returning a list large enough to need tokening.registrationTime
(Instant registrationTime) The timestamp of the last registration or de-reregistration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deviceArn
The Amazon Resource Name (ARN) of the device.
- Parameters:
deviceArn
- The Amazon Resource Name (ARN) of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceName
The unique identifier of the device.
- Parameters:
deviceName
- The unique identifier of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the device.
- Parameters:
description
- A description of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceFleetName
The name of the fleet the device belongs to.
- Parameters:
deviceFleetName
- The name of the fleet the device belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotThingName
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
- Parameters:
iotThingName
- The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationTime
The timestamp of the last registration or de-reregistration.
- Parameters:
registrationTime
- The timestamp of the last registration or de-reregistration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestHeartbeat
The last heartbeat received from the device.
- Parameters:
latestHeartbeat
- The last heartbeat received from the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Models on the device.
- Parameters:
models
- Models on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Models on the device.
- Parameters:
models
- Models on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Models on the device.
This is a convenience method that creates an instance of theEdgeModel.Builder
avoiding the need to create one manually viaEdgeModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodels(List<EdgeModel>)
.- Parameters:
models
- a consumer that will call methods onEdgeModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxModels
The maximum number of models.
- Parameters:
maxModels
- The maximum number of models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The response from the last list when returning a list large enough to need tokening.
- Parameters:
nextToken
- The response from the last list when returning a list large enough to need tokening.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
Edge Manager agent version.
- Parameters:
agentVersion
- Edge Manager agent version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-