Interface DeviceType.Builder

    • Method Detail

      • deviceKey

        DeviceType.Builder deviceKey​(String deviceKey)

        The device key, for example us-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.

        Parameters:
        deviceKey - The device key, for example us-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceAttributes

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

        Metadata about a user's device, like name and last-access source IP.

        Parameters:
        deviceAttributes - Metadata about a user's device, like name and last-access source IP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceAttributes

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

        Metadata about a user's device, like name and last-access source IP.

        Parameters:
        deviceAttributes - Metadata about a user's device, like name and last-access source IP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceCreateDate

        DeviceType.Builder deviceCreateDate​(Instant deviceCreateDate)

        The date and time when the item was created. 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:
        deviceCreateDate - The date and time when the item was created. 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.
      • 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 user last signed in with the device.

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