Interface DescribeDeviceResponse.Builder

    • Method Detail

      • associatedWithJob

        DescribeDeviceResponse.Builder associatedWithJob​(String associatedWithJob)

        The ID of the job used when ordering the device.

        Parameters:
        associatedWithJob - The ID of the job used when ordering the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceCapacities

        DescribeDeviceResponse.Builder deviceCapacities​(Collection<Capacity> deviceCapacities)

        The hardware specifications of the device.

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

        DescribeDeviceResponse.Builder deviceCapacities​(Capacity... deviceCapacities)

        The hardware specifications of the device.

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

        DescribeDeviceResponse.Builder deviceCapacities​(Consumer<Capacity.Builder>... deviceCapacities)

        The hardware specifications of the device.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #deviceCapacities(List).

        Parameters:
        deviceCapacities - a consumer that will call methods on Capacity.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #deviceCapacities(java.util.Collection)
      • deviceState

        DescribeDeviceResponse.Builder deviceState​(String deviceState)

        The current state of the device.

        Parameters:
        deviceState - The current state of the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UnlockState, UnlockState
      • deviceType

        DescribeDeviceResponse.Builder deviceType​(String deviceType)

        The type of Amazon Web Services Snow Family device.

        Parameters:
        deviceType - The type of Amazon Web Services Snow Family device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastReachedOutAt

        DescribeDeviceResponse.Builder lastReachedOutAt​(Instant lastReachedOutAt)

        When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.

        Parameters:
        lastReachedOutAt - When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedAt

        DescribeDeviceResponse.Builder lastUpdatedAt​(Instant lastUpdatedAt)

        When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.

        Parameters:
        lastUpdatedAt - When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedDeviceArn

        DescribeDeviceResponse.Builder managedDeviceArn​(String managedDeviceArn)

        The Amazon Resource Name (ARN) of the device.

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

        DescribeDeviceResponse.Builder managedDeviceId​(String managedDeviceId)

        The ID of the device that you checked the information for.

        Parameters:
        managedDeviceId - The ID of the device that you checked the information for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • physicalNetworkInterfaces

        DescribeDeviceResponse.Builder physicalNetworkInterfaces​(Collection<PhysicalNetworkInterface> physicalNetworkInterfaces)

        The network interfaces available on the device.

        Parameters:
        physicalNetworkInterfaces - The network interfaces available on the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • physicalNetworkInterfaces

        DescribeDeviceResponse.Builder physicalNetworkInterfaces​(PhysicalNetworkInterface... physicalNetworkInterfaces)

        The network interfaces available on the device.

        Parameters:
        physicalNetworkInterfaces - The network interfaces available on the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • software

        DescribeDeviceResponse.Builder software​(SoftwareInformation software)

        The software installed on the device.

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

        DescribeDeviceResponse.Builder tags​(Map<String,​String> tags)

        Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.

        Parameters:
        tags - Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.