Interface DescribeDeviceResponse.Builder

  • Method Details

    • deviceArn

      DescribeDeviceResponse.Builder deviceArn(String 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

      DescribeDeviceResponse.Builder deviceName(String 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

      DescribeDeviceResponse.Builder description(String 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

      DescribeDeviceResponse.Builder deviceFleetName(String 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

      DescribeDeviceResponse.Builder iotThingName(String 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

      DescribeDeviceResponse.Builder registrationTime(Instant 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

      DescribeDeviceResponse.Builder latestHeartbeat(Instant 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 the EdgeModel.Builder avoiding the need to create one manually via EdgeModel.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to models(List<EdgeModel>).

      Parameters:
      models - a consumer that will call methods on EdgeModel.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

      DescribeDeviceResponse.Builder nextToken(String 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

      DescribeDeviceResponse.Builder agentVersion(String 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.