Interface Device.Builder

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

@Mutable @NotThreadSafe public static interface Device.Builder extends SdkPojo, CopyableBuilder<Device.Builder,Device>
  • Method Details

    • deviceId

      Device.Builder deviceId(String deviceId)

      The ID of the device.

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

      Device.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.
    • globalNetworkId

      Device.Builder globalNetworkId(String globalNetworkId)

      The ID of the global network.

      Parameters:
      globalNetworkId - The ID of the global network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsLocation

      Device.Builder awsLocation(AWSLocation awsLocation)

      The Amazon Web Services location of the device.

      Parameters:
      awsLocation - The Amazon Web Services location of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsLocation

      default Device.Builder awsLocation(Consumer<AWSLocation.Builder> awsLocation)

      The Amazon Web Services location of the device.

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

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

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

      Device.Builder description(String description)

      The description of the device.

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

      Device.Builder type(String type)

      The device type.

      Parameters:
      type - The device type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vendor

      Device.Builder vendor(String vendor)

      The device vendor.

      Parameters:
      vendor - The device vendor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • model

      Device.Builder model(String model)

      The device model.

      Parameters:
      model - The device model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serialNumber

      Device.Builder serialNumber(String serialNumber)

      The device serial number.

      Parameters:
      serialNumber - The device serial number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      Device.Builder location(Location location)

      The site location.

      Parameters:
      location - The site location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      default Device.Builder location(Consumer<Location.Builder> location)

      The site location.

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

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

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

      Device.Builder siteId(String siteId)

      The site ID.

      Parameters:
      siteId - The site ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Device.Builder createdAt(Instant createdAt)

      The date and time that the site was created.

      Parameters:
      createdAt - The date and time that the site was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Device.Builder state(String state)

      The device state.

      Parameters:
      state - The device state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The device state.

      Parameters:
      state - The device state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags for the device.

      Parameters:
      tags - The tags for the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Device.Builder tags(Tag... tags)

      The tags for the device.

      Parameters:
      tags - The tags for the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the device.

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

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

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