Class TrafficPolicy

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

public class TrafficPolicy extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • TrafficPolicy

      public TrafficPolicy()
  • Method Details

    • setId

      public void setId(String id)
      Parameters:
      id -
    • getId

      public String getId()
      Returns:
    • withId

      public TrafficPolicy withId(String id)
      Parameters:
      id -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVersion

      public void setVersion(Integer version)
      Parameters:
      version -
    • getVersion

      public Integer getVersion()
      Returns:
    • withVersion

      public TrafficPolicy withVersion(Integer version)
      Parameters:
      version -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)
      Parameters:
      name -
    • getName

      public String getName()
      Returns:
    • withName

      public TrafficPolicy withName(String name)
      Parameters:
      name -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setType

      public void setType(String type)
      Parameters:
      type -
      See Also:
    • getType

      public String getType()
      Returns:
      See Also:
    • withType

      public TrafficPolicy withType(String type)
      Parameters:
      type -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(RRType type)
      Parameters:
      type -
      See Also:
    • withType

      public TrafficPolicy withType(RRType type)
      Parameters:
      type -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setDocument

      public void setDocument(String document)
      Parameters:
      document -
    • getDocument

      public String getDocument()
      Returns:
    • withDocument

      public TrafficPolicy withDocument(String document)
      Parameters:
      document -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setComment

      public void setComment(String comment)
      Parameters:
      comment -
    • getComment

      public String getComment()
      Returns:
    • withComment

      public TrafficPolicy withComment(String comment)
      Parameters:
      comment -
      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 TrafficPolicy clone()
      Overrides:
      clone in class Object