Interface DeviceType.Builder

    • Method Detail

      • deviceKey

        DeviceType.Builder deviceKey​(String deviceKey)

        The device key.

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

        DeviceType.Builder deviceAttributes​(Collection<AttributeType> deviceAttributes)

        The device attributes.

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

        DeviceType.Builder deviceAttributes​(AttributeType... deviceAttributes)

        The device attributes.

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

        DeviceType.Builder deviceCreateDate​(Instant deviceCreateDate)

        The creation date of the device.

        Parameters:
        deviceCreateDate - The creation date of the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceLastModifiedDate

        DeviceType.Builder deviceLastModifiedDate​(Instant deviceLastModifiedDate)

        The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

        Parameters:
        deviceLastModifiedDate - The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceLastAuthenticatedDate

        DeviceType.Builder deviceLastAuthenticatedDate​(Instant deviceLastAuthenticatedDate)

        The date when the device was last authenticated.

        Parameters:
        deviceLastAuthenticatedDate - The date when the device was last authenticated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.