@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrafficPolicyInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy.
NOOP
Constructor and Description |
---|
CreateTrafficPolicyInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrafficPolicyInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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.
|
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.
|
String |
getTrafficPolicyId()
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
|
Integer |
getTrafficPolicyVersion()
The version of the traffic policy that you want to use to create resource record sets in the specified hosted
zone.
|
Long |
getTTL()
(Optional) 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(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(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(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(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(Long tTL)
(Optional) 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTrafficPolicyInstanceRequest |
withHostedZoneId(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(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(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(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(Long tTL)
(Optional) 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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setHostedZoneId(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 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(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(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 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(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(Long tTL)
(Optional) 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
- (Optional) 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 Long getTTL()
(Optional) 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(Long tTL)
(Optional) 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
- (Optional) 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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public CreateTrafficPolicyInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.