Class SetIdentityNotificationTopicRequest

    • Constructor Detail

      • SetIdentityNotificationTopicRequest

        public SetIdentityNotificationTopicRequest()
    • Method Detail

      • setIdentity

        public void setIdentity​(String identity)

        The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

        Parameters:
        identity - The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com .
      • getIdentity

        public String getIdentity()

        The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

        Returns:
        The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com .
      • withIdentity

        public SetIdentityNotificationTopicRequest withIdentity​(String identity)

        The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

        Parameters:
        identity - The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNotificationType

        public void setNotificationType​(String notificationType)

        The type of notifications that will be published to the specified Amazon SNS topic.

        Parameters:
        notificationType - The type of notifications that will be published to the specified Amazon SNS topic.
        See Also:
        NotificationType
      • getNotificationType

        public String getNotificationType()

        The type of notifications that will be published to the specified Amazon SNS topic.

        Returns:
        The type of notifications that will be published to the specified Amazon SNS topic.
        See Also:
        NotificationType
      • withNotificationType

        public SetIdentityNotificationTopicRequest withNotificationType​(String notificationType)

        The type of notifications that will be published to the specified Amazon SNS topic.

        Parameters:
        notificationType - The type of notifications that will be published to the specified Amazon SNS topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NotificationType
      • setNotificationType

        public void setNotificationType​(NotificationType notificationType)

        The type of notifications that will be published to the specified Amazon SNS topic.

        Parameters:
        notificationType - The type of notifications that will be published to the specified Amazon SNS topic.
        See Also:
        NotificationType
      • withNotificationType

        public SetIdentityNotificationTopicRequest withNotificationType​(NotificationType notificationType)

        The type of notifications that will be published to the specified Amazon SNS topic.

        Parameters:
        notificationType - The type of notifications that will be published to the specified Amazon SNS topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NotificationType
      • setSnsTopic

        public void setSnsTopic​(String snsTopic)

        The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.

        Parameters:
        snsTopic - The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.
      • getSnsTopic

        public String getSnsTopic()

        The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.

        Returns:
        The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.
      • withSnsTopic

        public SetIdentityNotificationTopicRequest withSnsTopic​(String snsTopic)

        The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.

        Parameters:
        snsTopic - The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.
        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