Class UpdateTrafficPolicyCommentRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.route53.model.UpdateTrafficPolicyCommentRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class UpdateTrafficPolicyCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A complex type that contains information about the traffic policy for which you want to update the comment.

See Also:
  • Constructor Details

    • UpdateTrafficPolicyCommentRequest

      public UpdateTrafficPolicyCommentRequest()
  • Method Details

    • setId

      public void setId(String id)

      The value of Id for the traffic policy for which you want to update the comment.

      Parameters:
      id - The value of Id for the traffic policy for which you want to update the comment.
    • getId

      public String getId()

      The value of Id for the traffic policy for which you want to update the comment.

      Returns:
      The value of Id for the traffic policy for which you want to update the comment.
    • withId

      The value of Id for the traffic policy for which you want to update the comment.

      Parameters:
      id - The value of Id for the traffic policy for which you want to update the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVersion

      public void setVersion(Integer version)

      The value of Version for the traffic policy for which you want to update the comment.

      Parameters:
      version - The value of Version for the traffic policy for which you want to update the comment.
    • getVersion

      public Integer getVersion()

      The value of Version for the traffic policy for which you want to update the comment.

      Returns:
      The value of Version for the traffic policy for which you want to update the comment.
    • withVersion

      public UpdateTrafficPolicyCommentRequest withVersion(Integer version)

      The value of Version for the traffic policy for which you want to update the comment.

      Parameters:
      version - The value of Version for the traffic policy for which you want to update the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setComment

      public void setComment(String comment)

      The new comment for the specified traffic policy and version.

      Parameters:
      comment - The new comment for the specified traffic policy and version.
    • getComment

      public String getComment()

      The new comment for the specified traffic policy and version.

      Returns:
      The new comment for the specified traffic policy and version.
    • withComment

      public UpdateTrafficPolicyCommentRequest withComment(String comment)

      The new comment for the specified traffic policy and version.

      Parameters:
      comment - The new comment for the specified traffic policy and version.
      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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: