Class TrafficPolicyInstance

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

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

    • TrafficPolicyInstance

      public TrafficPolicyInstance()
  • Method Details

    • setId

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

      public String getId()
      Returns:
    • withId

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

      public void setHostedZoneId(String hostedZoneId)
      Parameters:
      hostedZoneId -
    • getHostedZoneId

      public String getHostedZoneId()
      Returns:
    • withHostedZoneId

      public TrafficPolicyInstance withHostedZoneId(String hostedZoneId)
      Parameters:
      hostedZoneId -
      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 TrafficPolicyInstance withName(String name)
      Parameters:
      name -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTTL

      public void setTTL(Long tTL)
      Parameters:
      tTL -
    • getTTL

      public Long getTTL()
      Returns:
    • withTTL

      public TrafficPolicyInstance withTTL(Long tTL)
      Parameters:
      tTL -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setState

      public void setState(String state)
      Parameters:
      state -
    • getState

      public String getState()
      Returns:
    • withState

      public TrafficPolicyInstance withState(String state)
      Parameters:
      state -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMessage

      public void setMessage(String message)
      Parameters:
      message -
    • getMessage

      public String getMessage()
      Returns:
    • withMessage

      public TrafficPolicyInstance withMessage(String message)
      Parameters:
      message -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyId

      public void setTrafficPolicyId(String trafficPolicyId)
      Parameters:
      trafficPolicyId -
    • getTrafficPolicyId

      public String getTrafficPolicyId()
      Returns:
    • withTrafficPolicyId

      public TrafficPolicyInstance withTrafficPolicyId(String trafficPolicyId)
      Parameters:
      trafficPolicyId -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyVersion

      public void setTrafficPolicyVersion(Integer trafficPolicyVersion)
      Parameters:
      trafficPolicyVersion -
    • getTrafficPolicyVersion

      public Integer getTrafficPolicyVersion()
      Returns:
    • withTrafficPolicyVersion

      public TrafficPolicyInstance withTrafficPolicyVersion(Integer trafficPolicyVersion)
      Parameters:
      trafficPolicyVersion -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyType

      public void setTrafficPolicyType(String trafficPolicyType)
      Parameters:
      trafficPolicyType -
      See Also:
    • getTrafficPolicyType

      public String getTrafficPolicyType()
      Returns:
      See Also:
    • withTrafficPolicyType

      public TrafficPolicyInstance withTrafficPolicyType(String trafficPolicyType)
      Parameters:
      trafficPolicyType -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setTrafficPolicyType

      public void setTrafficPolicyType(RRType trafficPolicyType)
      Parameters:
      trafficPolicyType -
      See Also:
    • withTrafficPolicyType

      public TrafficPolicyInstance withTrafficPolicyType(RRType trafficPolicyType)
      Parameters:
      trafficPolicyType -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 TrafficPolicyInstance clone()
      Overrides:
      clone in class Object