Interface RegisterAppInstanceUserEndpointRequest.Builder

    • Method Detail

      • appInstanceUserArn

        RegisterAppInstanceUserEndpointRequest.Builder appInstanceUserArn​(String appInstanceUserArn)

        The ARN of the AppInstanceUser.

        Parameters:
        appInstanceUserArn - The ARN of the AppInstanceUser.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        RegisterAppInstanceUserEndpointRequest.Builder name​(String name)

        The name of the AppInstanceUserEndpoint.

        Parameters:
        name - The name of the AppInstanceUserEndpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        RegisterAppInstanceUserEndpointRequest.Builder type​(String type)

        The type of the AppInstanceUserEndpoint. Supported types:

        • APNS: The mobile notification service for an Apple device.

        • APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.

        • GCM: The mobile notification service for an Android device.

        Populate the ResourceArn value of each type as PinpointAppArn.

        Parameters:
        type - The type of the AppInstanceUserEndpoint. Supported types:

        • APNS: The mobile notification service for an Apple device.

        • APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.

        • GCM: The mobile notification service for an Android device.

        Populate the ResourceArn value of each type as PinpointAppArn.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AppInstanceUserEndpointType, AppInstanceUserEndpointType
      • type

        RegisterAppInstanceUserEndpointRequest.Builder type​(AppInstanceUserEndpointType type)

        The type of the AppInstanceUserEndpoint. Supported types:

        • APNS: The mobile notification service for an Apple device.

        • APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.

        • GCM: The mobile notification service for an Android device.

        Populate the ResourceArn value of each type as PinpointAppArn.

        Parameters:
        type - The type of the AppInstanceUserEndpoint. Supported types:

        • APNS: The mobile notification service for an Apple device.

        • APNS_SANDBOX: The sandbox environment of the mobile notification service for an Apple device.

        • GCM: The mobile notification service for an Android device.

        Populate the ResourceArn value of each type as PinpointAppArn.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AppInstanceUserEndpointType, AppInstanceUserEndpointType
      • resourceArn

        RegisterAppInstanceUserEndpointRequest.Builder resourceArn​(String resourceArn)

        The ARN of the resource to which the endpoint belongs.

        Parameters:
        resourceArn - The ARN of the resource to which the endpoint belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientRequestToken

        RegisterAppInstanceUserEndpointRequest.Builder clientRequestToken​(String clientRequestToken)

        The unique ID assigned to the request. Use different tokens to register other endpoints.

        Parameters:
        clientRequestToken - The unique ID assigned to the request. Use different tokens to register other endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowMessages

        RegisterAppInstanceUserEndpointRequest.Builder allowMessages​(String allowMessages)

        Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.

        Parameters:
        allowMessages - Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowMessages, AllowMessages
      • allowMessages

        RegisterAppInstanceUserEndpointRequest.Builder allowMessages​(AllowMessages allowMessages)

        Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.

        Parameters:
        allowMessages - Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowMessages, AllowMessages