Interface DeviceInstance.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeviceInstance.Builder,DeviceInstance>, SdkBuilder<DeviceInstance.Builder,DeviceInstance>, SdkPojo
Enclosing class:
DeviceInstance

public static interface DeviceInstance.Builder extends SdkPojo, CopyableBuilder<DeviceInstance.Builder,DeviceInstance>
  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the device instance.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the device instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceArn

      DeviceInstance.Builder deviceArn(String deviceArn)

      The ARN of the device.

      Parameters:
      deviceArn - The ARN of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labels

      An array of strings that describe the device instance.

      Parameters:
      labels - An array of strings that describe the device instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labels

      DeviceInstance.Builder labels(String... labels)

      An array of strings that describe the device instance.

      Parameters:
      labels - An array of strings that describe the device instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the device instance. Valid values are listed here.

      Parameters:
      status - The status of the device instance. Valid values are listed here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the device instance. Valid values are listed here.

      Parameters:
      status - The status of the device instance. Valid values are listed here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • udid

      Unique device identifier for the device instance.

      Parameters:
      udid - Unique device identifier for the device instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceProfile

      DeviceInstance.Builder instanceProfile(InstanceProfile instanceProfile)

      A object that contains information about the instance profile.

      Parameters:
      instanceProfile - A object that contains information about the instance profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceProfile

      default DeviceInstance.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)

      A object that contains information about the instance profile.

      This is a convenience method that creates an instance of the InstanceProfile.Builder avoiding the need to create one manually via InstanceProfile.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instanceProfile(InstanceProfile).

      Parameters:
      instanceProfile - a consumer that will call methods on InstanceProfile.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: