Interface Device.Builder

    • Method Detail

      • 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.
      • 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.
      • 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:
        DeviceState, DeviceState
      • tags

        Device.Builder tags​(Collection<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

        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

        Device.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)