Class RegisterAppInstanceUserEndpointRequest

    • Method Detail

      • appInstanceUserArn

        public final String appInstanceUserArn()

        The ARN of the AppInstanceUser.

        Returns:
        The ARN of the AppInstanceUser.
      • name

        public final String name()

        The name of the AppInstanceUserEndpoint.

        Returns:
        The name of the AppInstanceUserEndpoint.
      • type

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, type will return AppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        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.

        See Also:
        AppInstanceUserEndpointType
      • typeAsString

        public final String typeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, type will return AppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        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.

        See Also:
        AppInstanceUserEndpointType
      • resourceArn

        public final String resourceArn()

        The ARN of the resource to which the endpoint belongs.

        Returns:
        The ARN of the resource to which the endpoint belongs.
      • endpointAttributes

        public final EndpointAttributes endpointAttributes()

        The attributes of an Endpoint.

        Returns:
        The attributes of an Endpoint.
      • clientRequestToken

        public final String clientRequestToken()

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

        Returns:
        The unique ID assigned to the request. Use different tokens to register other endpoints.
      • allowMessages

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, allowMessages will return AllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from allowMessagesAsString().

        Returns:
        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.
        See Also:
        AllowMessages
      • allowMessagesAsString

        public final String allowMessagesAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, allowMessages will return AllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from allowMessagesAsString().

        Returns:
        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.
        See Also:
        AllowMessages
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object