public class CreateTrafficPolicyInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hostedZoneId
The ID of the hosted zone in which you want Amazon Route 53 to create
resource record sets by using the configuration in a traffic policy.
|
private java.lang.String |
name
The domain name (such as example.com) or subdomain name (such as
www.example.com) for which Amazon Route 53 responds to DNS queries by
using the resource record sets that Amazon Route 53 creates for this
traffic policy instance.
|
private java.lang.String |
trafficPolicyId
The ID of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
private java.lang.Integer |
trafficPolicyVersion
The version of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
private java.lang.Long |
tTL
The TTL that you want Amazon Route 53 to assign to all of the resource
record sets that it creates in the specified hosted zone.
|
NOOP
Constructor and Description |
---|
CreateTrafficPolicyInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrafficPolicyInstanceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHostedZoneId()
The ID of the hosted zone in which you want Amazon Route 53 to create
resource record sets by using the configuration in a traffic policy.
|
java.lang.String |
getName()
The domain name (such as example.com) or subdomain name (such as
www.example.com) for which Amazon Route 53 responds to DNS queries by
using the resource record sets that Amazon Route 53 creates for this
traffic policy instance.
|
java.lang.String |
getTrafficPolicyId()
The ID of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
java.lang.Integer |
getTrafficPolicyVersion()
The version of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
java.lang.Long |
getTTL()
The TTL that you want Amazon Route 53 to assign to all of the resource
record sets that it creates in the specified hosted zone.
|
int |
hashCode() |
void |
setHostedZoneId(java.lang.String hostedZoneId)
The ID of the hosted zone in which you want Amazon Route 53 to create
resource record sets by using the configuration in a traffic policy.
|
void |
setName(java.lang.String name)
The domain name (such as example.com) or subdomain name (such as
www.example.com) for which Amazon Route 53 responds to DNS queries by
using the resource record sets that Amazon Route 53 creates for this
traffic policy instance.
|
void |
setTrafficPolicyId(java.lang.String trafficPolicyId)
The ID of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
void |
setTrafficPolicyVersion(java.lang.Integer trafficPolicyVersion)
The version of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
void |
setTTL(java.lang.Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the resource
record sets that it creates in the specified hosted zone.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTrafficPolicyInstanceRequest |
withHostedZoneId(java.lang.String hostedZoneId)
The ID of the hosted zone in which you want Amazon Route 53 to create
resource record sets by using the configuration in a traffic policy.
|
CreateTrafficPolicyInstanceRequest |
withName(java.lang.String name)
The domain name (such as example.com) or subdomain name (such as
www.example.com) for which Amazon Route 53 responds to DNS queries by
using the resource record sets that Amazon Route 53 creates for this
traffic policy instance.
|
CreateTrafficPolicyInstanceRequest |
withTrafficPolicyId(java.lang.String trafficPolicyId)
The ID of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
CreateTrafficPolicyInstanceRequest |
withTrafficPolicyVersion(java.lang.Integer trafficPolicyVersion)
The version of the traffic policy that you want to use to create resource
record sets in the specified hosted zone.
|
CreateTrafficPolicyInstanceRequest |
withTTL(java.lang.Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the resource
record sets that it creates in the specified hosted zone.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String hostedZoneId
The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
private java.lang.String name
The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
private java.lang.Long tTL
The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
private java.lang.String trafficPolicyId
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
private java.lang.Integer trafficPolicyVersion
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
public void setHostedZoneId(java.lang.String hostedZoneId)
The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
hostedZoneId
- The ID of the hosted zone in which you want Amazon Route 53 to
create resource record sets by using the configuration in a
traffic policy.public java.lang.String getHostedZoneId()
The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
public CreateTrafficPolicyInstanceRequest withHostedZoneId(java.lang.String hostedZoneId)
The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
hostedZoneId
- The ID of the hosted zone in which you want Amazon Route 53 to
create resource record sets by using the configuration in a
traffic policy.public void setName(java.lang.String name)
The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
name
- The domain name (such as example.com) or subdomain name (such as
www.example.com) for which Amazon Route 53 responds to DNS queries
by using the resource record sets that Amazon Route 53 creates for
this traffic policy instance.public java.lang.String getName()
The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
public CreateTrafficPolicyInstanceRequest withName(java.lang.String name)
The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
name
- The domain name (such as example.com) or subdomain name (such as
www.example.com) for which Amazon Route 53 responds to DNS queries
by using the resource record sets that Amazon Route 53 creates for
this traffic policy instance.public void setTTL(java.lang.Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
tTL
- The TTL that you want Amazon Route 53 to assign to all of the
resource record sets that it creates in the specified hosted zone.public java.lang.Long getTTL()
The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
public CreateTrafficPolicyInstanceRequest withTTL(java.lang.Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
tTL
- The TTL that you want Amazon Route 53 to assign to all of the
resource record sets that it creates in the specified hosted zone.public void setTrafficPolicyId(java.lang.String trafficPolicyId)
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
trafficPolicyId
- The ID of the traffic policy that you want to use to create
resource record sets in the specified hosted zone.public java.lang.String getTrafficPolicyId()
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
public CreateTrafficPolicyInstanceRequest withTrafficPolicyId(java.lang.String trafficPolicyId)
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
trafficPolicyId
- The ID of the traffic policy that you want to use to create
resource record sets in the specified hosted zone.public void setTrafficPolicyVersion(java.lang.Integer trafficPolicyVersion)
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
trafficPolicyVersion
- The version of the traffic policy that you want to use to create
resource record sets in the specified hosted zone.public java.lang.Integer getTrafficPolicyVersion()
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
public CreateTrafficPolicyInstanceRequest withTrafficPolicyVersion(java.lang.Integer trafficPolicyVersion)
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
trafficPolicyVersion
- The version of the traffic policy that you want to use to create
resource record sets in the specified hosted zone.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateTrafficPolicyInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()