Class CreateTopicResult

java.lang.Object
com.amazonaws.services.sns.model.CreateTopicResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateTopicResult extends Object implements Serializable, Cloneable

Response from CreateTopic action.

See Also:
  • Constructor Details

    • CreateTopicResult

      public CreateTopicResult()
  • Method Details

    • setTopicArn

      public void setTopicArn(String topicArn)

      The Amazon Resource Name (ARN) assigned to the created topic.

      Parameters:
      topicArn - The Amazon Resource Name (ARN) assigned to the created topic.
    • getTopicArn

      public String getTopicArn()

      The Amazon Resource Name (ARN) assigned to the created topic.

      Returns:
      The Amazon Resource Name (ARN) assigned to the created topic.
    • withTopicArn

      public CreateTopicResult withTopicArn(String topicArn)

      The Amazon Resource Name (ARN) assigned to the created topic.

      Parameters:
      topicArn - The Amazon Resource Name (ARN) assigned to the created topic.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateTopicResult clone()
      Overrides:
      clone in class Object