@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResolverRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateResolverRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateResolverRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCreatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice.
|
String |
getDomainName()
DNS queries for this domain name are forwarded to the IP addresses that you specify in
TargetIps . |
String |
getName()
A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
|
String |
getResolverEndpointId()
The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you
specify in
TargetIps . |
String |
getRuleType()
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD . |
List<Tag> |
getTags()
A list of the tag keys and values that you want to associate with the endpoint.
|
List<TargetAddress> |
getTargetIps()
The IPs that you want Resolver to forward DNS queries to.
|
int |
hashCode() |
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice.
|
void |
setDomainName(String domainName)
DNS queries for this domain name are forwarded to the IP addresses that you specify in
TargetIps . |
void |
setName(String name)
A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
|
void |
setResolverEndpointId(String resolverEndpointId)
The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you
specify in
TargetIps . |
void |
setRuleType(String ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD . |
void |
setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the endpoint.
|
void |
setTargetIps(Collection<TargetAddress> targetIps)
The IPs that you want Resolver to forward DNS queries to.
|
String |
toString()
Returns a string representation of this object.
|
CreateResolverRuleRequest |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice.
|
CreateResolverRuleRequest |
withDomainName(String domainName)
DNS queries for this domain name are forwarded to the IP addresses that you specify in
TargetIps . |
CreateResolverRuleRequest |
withName(String name)
A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
|
CreateResolverRuleRequest |
withResolverEndpointId(String resolverEndpointId)
The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you
specify in
TargetIps . |
CreateResolverRuleRequest |
withRuleType(RuleTypeOption ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD . |
CreateResolverRuleRequest |
withRuleType(String ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD . |
CreateResolverRuleRequest |
withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the endpoint.
|
CreateResolverRuleRequest |
withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the endpoint.
|
CreateResolverRuleRequest |
withTargetIps(Collection<TargetAddress> targetIps)
The IPs that you want Resolver to forward DNS queries to.
|
CreateResolverRuleRequest |
withTargetIps(TargetAddress... targetIps)
The IPs that you want Resolver to forward DNS queries to.
|
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 setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of running the operation twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.public String getCreatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
CreatorRequestId
can be any unique string, for example,
a date/time stamp.public CreateResolverRuleRequest withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of running the operation twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.public void setName(String name)
A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
name
- A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.public String getName()
A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
public CreateResolverRuleRequest withName(String name)
A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
name
- A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.public void setRuleType(String ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to
process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify
FORWARD
for RuleType
. To then have Resolver process queries for apex.example.com, you
create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for RuleType
.
ruleType
- When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver
to process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and
specify FORWARD
for RuleType
. To then have Resolver process queries for
apex.example.com, you create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for
RuleType
.
RuleTypeOption
public String getRuleType()
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to
process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify
FORWARD
for RuleType
. To then have Resolver process queries for apex.example.com, you
create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for RuleType
.
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver
to process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and
specify FORWARD
for RuleType
. To then have Resolver process queries for
apex.example.com, you create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for
RuleType
.
RuleTypeOption
public CreateResolverRuleRequest withRuleType(String ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to
process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify
FORWARD
for RuleType
. To then have Resolver process queries for apex.example.com, you
create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for RuleType
.
ruleType
- When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver
to process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and
specify FORWARD
for RuleType
. To then have Resolver process queries for
apex.example.com, you create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for
RuleType
.
RuleTypeOption
public CreateResolverRuleRequest withRuleType(RuleTypeOption ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to
process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify
FORWARD
for RuleType
. To then have Resolver process queries for apex.example.com, you
create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for RuleType
.
ruleType
- When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD
.
When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver
to process queries for a subdomain of that domain, specify SYSTEM
.
For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and
specify FORWARD
for RuleType
. To then have Resolver process queries for
apex.example.com, you create a rule and specify SYSTEM
for RuleType
.
Currently, only Resolver can create rules that have a value of RECURSIVE
for
RuleType
.
RuleTypeOption
public void setDomainName(String domainName)
DNS queries for this domain name are forwarded to the IP addresses that you specify in TargetIps
. If
a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using
the Resolver rule that contains the most specific domain name (www.example.com).
domainName
- DNS queries for this domain name are forwarded to the IP addresses that you specify in
TargetIps
. If a query matches multiple Resolver rules (example.com and www.example.com),
outbound DNS queries are routed using the Resolver rule that contains the most specific domain name
(www.example.com).public String getDomainName()
DNS queries for this domain name are forwarded to the IP addresses that you specify in TargetIps
. If
a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using
the Resolver rule that contains the most specific domain name (www.example.com).
TargetIps
. If a query matches multiple Resolver rules (example.com and www.example.com),
outbound DNS queries are routed using the Resolver rule that contains the most specific domain name
(www.example.com).public CreateResolverRuleRequest withDomainName(String domainName)
DNS queries for this domain name are forwarded to the IP addresses that you specify in TargetIps
. If
a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using
the Resolver rule that contains the most specific domain name (www.example.com).
domainName
- DNS queries for this domain name are forwarded to the IP addresses that you specify in
TargetIps
. If a query matches multiple Resolver rules (example.com and www.example.com),
outbound DNS queries are routed using the Resolver rule that contains the most specific domain name
(www.example.com).public List<TargetAddress> getTargetIps()
The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space.
TargetIps
is available only when the value of Rule type
is FORWARD
.
TargetIps
is available only when the value of Rule type
is FORWARD
.
public void setTargetIps(Collection<TargetAddress> targetIps)
The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space.
TargetIps
is available only when the value of Rule type
is FORWARD
.
targetIps
- The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses
but not both in the same rule. Separate IP addresses with a space.
TargetIps
is available only when the value of Rule type
is FORWARD
.
public CreateResolverRuleRequest withTargetIps(TargetAddress... targetIps)
The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space.
TargetIps
is available only when the value of Rule type
is FORWARD
.
NOTE: This method appends the values to the existing list (if any). Use
setTargetIps(java.util.Collection)
or withTargetIps(java.util.Collection)
if you want to
override the existing values.
targetIps
- The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses
but not both in the same rule. Separate IP addresses with a space.
TargetIps
is available only when the value of Rule type
is FORWARD
.
public CreateResolverRuleRequest withTargetIps(Collection<TargetAddress> targetIps)
The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space.
TargetIps
is available only when the value of Rule type
is FORWARD
.
targetIps
- The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses
but not both in the same rule. Separate IP addresses with a space.
TargetIps
is available only when the value of Rule type
is FORWARD
.
public void setResolverEndpointId(String resolverEndpointId)
The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you
specify in TargetIps
.
resolverEndpointId
- The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses
that you specify in TargetIps
.public String getResolverEndpointId()
The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you
specify in TargetIps
.
TargetIps
.public CreateResolverRuleRequest withResolverEndpointId(String resolverEndpointId)
The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you
specify in TargetIps
.
resolverEndpointId
- The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses
that you specify in TargetIps
.public List<Tag> getTags()
A list of the tag keys and values that you want to associate with the endpoint.
public void setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the endpoint.
tags
- A list of the tag keys and values that you want to associate with the endpoint.public CreateResolverRuleRequest withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of the tag keys and values that you want to associate with the endpoint.public CreateResolverRuleRequest withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the endpoint.
tags
- A list of the tag keys and values that you want to associate with the endpoint.public String toString()
toString
in class Object
Object.toString()
public CreateResolverRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()