Class UpdateTrafficPolicyInstanceRequest

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

public class UpdateTrafficPolicyInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance.

See Also:
  • Constructor Details

    • UpdateTrafficPolicyInstanceRequest

      public UpdateTrafficPolicyInstanceRequest()
  • Method Details

    • setId

      public void setId(String id)

      The ID of the traffic policy instance that you want to update.

      Parameters:
      id - The ID of the traffic policy instance that you want to update.
    • getId

      public String getId()

      The ID of the traffic policy instance that you want to update.

      Returns:
      The ID of the traffic policy instance that you want to update.
    • withId

      The ID of the traffic policy instance that you want to update.

      Parameters:
      id - The ID of the traffic policy instance that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTTL

      public void setTTL(Long tTL)

      The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.

      Parameters:
      tTL - The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
    • getTTL

      public Long getTTL()

      The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.

      Returns:
      The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
    • withTTL

      The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.

      Parameters:
      tTL - The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyId

      public void setTrafficPolicyId(String trafficPolicyId)

      The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

      Parameters:
      trafficPolicyId - The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
    • getTrafficPolicyId

      public String getTrafficPolicyId()

      The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

      Returns:
      The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
    • withTrafficPolicyId

      public UpdateTrafficPolicyInstanceRequest withTrafficPolicyId(String trafficPolicyId)

      The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

      Parameters:
      trafficPolicyId - The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyVersion

      public void setTrafficPolicyVersion(Integer trafficPolicyVersion)

      The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

      Parameters:
      trafficPolicyVersion - The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
    • getTrafficPolicyVersion

      public Integer getTrafficPolicyVersion()

      The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

      Returns:
      The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
    • withTrafficPolicyVersion

      public UpdateTrafficPolicyInstanceRequest withTrafficPolicyVersion(Integer trafficPolicyVersion)

      The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

      Parameters:
      trafficPolicyVersion - The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
      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: