Class RegisterDeviceRequest

    • Constructor Detail

      • RegisterDeviceRequest

        public RegisterDeviceRequest()
    • Method Detail

      • setIdentityPoolId

        public void setIdentityPoolId​(String identityPoolId)

        A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.

        Parameters:
        identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
      • getIdentityPoolId

        public String getIdentityPoolId()

        A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.

        Returns:
        A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
      • withIdentityPoolId

        public RegisterDeviceRequest withIdentityPoolId​(String identityPoolId)

        A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.

        Parameters:
        identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentityId

        public void setIdentityId​(String identityId)

        The unique ID for this identity.

        Parameters:
        identityId - The unique ID for this identity.
      • getIdentityId

        public String getIdentityId()

        The unique ID for this identity.

        Returns:
        The unique ID for this identity.
      • withIdentityId

        public RegisterDeviceRequest withIdentityId​(String identityId)

        The unique ID for this identity.

        Parameters:
        identityId - The unique ID for this identity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlatform

        public void setPlatform​(String platform)

        The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

        Parameters:
        platform - The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
        See Also:
        Platform
      • getPlatform

        public String getPlatform()

        The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

        Returns:
        The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
        See Also:
        Platform
      • withPlatform

        public RegisterDeviceRequest withPlatform​(String platform)

        The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

        Parameters:
        platform - The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Platform
      • setPlatform

        public void setPlatform​(Platform platform)

        The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

        Parameters:
        platform - The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
        See Also:
        Platform
      • withPlatform

        public RegisterDeviceRequest withPlatform​(Platform platform)

        The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

        Parameters:
        platform - The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Platform
      • setToken

        public void setToken​(String token)

        The push token.

        Parameters:
        token - The push token.
      • getToken

        public String getToken()

        The push token.

        Returns:
        The push token.
      • withToken

        public RegisterDeviceRequest withToken​(String token)

        The push token.

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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object