Interface CreatePlatformEndpointRequest.Builder

    • Method Detail

      • platformApplicationArn

        CreatePlatformEndpointRequest.Builder platformApplicationArn​(String platformApplicationArn)

        PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

        Parameters:
        platformApplicationArn - PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • token

        CreatePlatformEndpointRequest.Builder token​(String token)

        Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.

        Parameters:
        token - Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customUserData

        CreatePlatformEndpointRequest.Builder customUserData​(String customUserData)

        Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.

        Parameters:
        customUserData - Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.