Class CreateTrafficPolicyInstanceRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe 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.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.The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.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.inthashCode()voidsetHostedZoneId(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.voidThe 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.voidsetTrafficPolicyId(String trafficPolicyId) The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.voidsetTrafficPolicyVersion(Integer trafficPolicyVersion) The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.voidThe TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.toString()Returns a string representation of this object; useful for testing and debugging.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.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.withTrafficPolicyId(String trafficPolicyId) The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.withTrafficPolicyVersion(Integer trafficPolicyVersion) The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.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.Methods inherited from class AmazonWebServiceRequest
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
-
Constructor Details
-
CreateTrafficPolicyInstanceRequest
public CreateTrafficPolicyInstanceRequest()
-
-
Method Details
-
setHostedZoneId
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withHostedZoneId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withName
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTTL
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withTTL
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyId
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Parameters:
trafficPolicyId- The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
-
getTrafficPolicyId
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Returns:
- The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
-
withTrafficPolicyId
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Parameters:
trafficPolicyId- The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyVersion
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Parameters:
trafficPolicyVersion- The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
-
getTrafficPolicyVersion
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Returns:
- The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
-
withTrafficPolicyVersion
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Parameters:
trafficPolicyVersion- The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-