public static interface ResolverRule.Builder extends SdkPojo, CopyableBuilder<ResolverRule.Builder,ResolverRule>
| Modifier and Type | Method and Description |
|---|---|
ResolverRule.Builder |
arn(String arn)
The ARN (Amazon Resource Name) for the Resolver rule specified by
Id. |
ResolverRule.Builder |
creationTime(String creationTime)
The date and time that the Resolver rule was created, in Unix time format and Coordinated Universal Time
(UTC).
|
ResolverRule.Builder |
creatorRequestId(String creatorRequestId)
A unique string that you specified when you created the Resolver rule.
|
ResolverRule.Builder |
domainName(String domainName)
DNS queries for this domain name are forwarded to the IP addresses that are specified in
TargetIps. |
ResolverRule.Builder |
id(String id)
The ID that Resolver assigned to the Resolver rule when you created it.
|
ResolverRule.Builder |
modificationTime(String modificationTime)
The date and time that the Resolver rule was last updated, in Unix time format and Coordinated Universal Time
(UTC).
|
ResolverRule.Builder |
name(String name)
The name for the Resolver rule, which you specified when you created the Resolver rule.
|
ResolverRule.Builder |
ownerId(String ownerId)
When a rule is shared with another Amazon Web Services account, the account ID of the account that the rule
is shared with.
|
ResolverRule.Builder |
resolverEndpointId(String resolverEndpointId)
The ID of the endpoint that the rule is associated with.
|
ResolverRule.Builder |
ruleType(RuleTypeOption ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD. |
ResolverRule.Builder |
ruleType(String ruleType)
When you want to forward DNS queries for specified domain name to resolvers on your network, specify
FORWARD. |
ResolverRule.Builder |
shareStatus(ShareStatus shareStatus)
Whether the rule is shared and, if so, whether the current account is sharing the rule with another account,
or another account is sharing the rule with the current account.
|
ResolverRule.Builder |
shareStatus(String shareStatus)
Whether the rule is shared and, if so, whether the current account is sharing the rule with another account,
or another account is sharing the rule with the current account.
|
ResolverRule.Builder |
status(ResolverRuleStatus status)
A code that specifies the current status of the Resolver rule.
|
ResolverRule.Builder |
status(String status)
A code that specifies the current status of the Resolver rule.
|
ResolverRule.Builder |
statusMessage(String statusMessage)
A detailed description of the status of a Resolver rule.
|
ResolverRule.Builder |
targetIps(Collection<TargetAddress> targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
|
ResolverRule.Builder |
targetIps(Consumer<TargetAddress.Builder>... targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
|
ResolverRule.Builder |
targetIps(TargetAddress... targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResolverRule.Builder id(String id)
The ID that Resolver assigned to the Resolver rule when you created it.
id - The ID that Resolver assigned to the Resolver rule when you created it.ResolverRule.Builder creatorRequestId(String creatorRequestId)
A unique string that you specified when you created the Resolver rule. CreatorRequestId
identifies the request and allows failed requests to be retried without the risk of running the operation
twice.
creatorRequestId - A unique string that you specified when you created the Resolver rule. CreatorRequestId
identifies the request and allows failed requests to be retried without the risk of running the
operation twice.ResolverRule.Builder arn(String arn)
The ARN (Amazon Resource Name) for the Resolver rule specified by Id.
arn - The ARN (Amazon Resource Name) for the Resolver rule specified by Id.ResolverRule.Builder domainName(String domainName)
DNS queries for this domain name are forwarded to the IP addresses that are specified in
TargetIps. If a query matches multiple Resolver rules (example.com and www.example.com), the
query is 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 are specified in
TargetIps. If a query matches multiple Resolver rules (example.com and www.example.com),
the query is routed using the Resolver rule that contains the most specific domain name
(www.example.com).ResolverRule.Builder status(String status)
A code that specifies the current status of the Resolver rule.
status - A code that specifies the current status of the Resolver rule.ResolverRuleStatus,
ResolverRuleStatusResolverRule.Builder status(ResolverRuleStatus status)
A code that specifies the current status of the Resolver rule.
status - A code that specifies the current status of the Resolver rule.ResolverRuleStatus,
ResolverRuleStatusResolverRule.Builder statusMessage(String statusMessage)
A detailed description of the status of a Resolver rule.
statusMessage - A detailed description of the status of a Resolver rule.ResolverRule.Builder ruleType(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,
RuleTypeOptionResolverRule.Builder ruleType(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,
RuleTypeOptionResolverRule.Builder name(String name)
The name for the Resolver rule, which you specified when you created the Resolver rule.
name - The name for the Resolver rule, which you specified when you created the Resolver rule.ResolverRule.Builder targetIps(Collection<TargetAddress> targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network.
targetIps - An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
Typically, these are the IP addresses of DNS resolvers on your network.ResolverRule.Builder targetIps(TargetAddress... targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network.
targetIps - An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.
Typically, these are the IP addresses of DNS resolvers on your network.ResolverRule.Builder targetIps(Consumer<TargetAddress.Builder>... targetIps)
An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network.
This is a convenience method that creates an instance of theTargetAddress.Builder avoiding the need to
create one manually via TargetAddress.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #targetIps(List.
targetIps - a consumer that will call methods on
TargetAddress.Builder#targetIps(java.util.Collection) ResolverRule.Builder resolverEndpointId(String resolverEndpointId)
The ID of the endpoint that the rule is associated with.
resolverEndpointId - The ID of the endpoint that the rule is associated with.ResolverRule.Builder ownerId(String ownerId)
When a rule is shared with another Amazon Web Services account, the account ID of the account that the rule is shared with.
ownerId - When a rule is shared with another Amazon Web Services account, the account ID of the account that the
rule is shared with.ResolverRule.Builder shareStatus(String shareStatus)
Whether the rule is shared and, if so, whether the current account is sharing the rule with another account, or another account is sharing the rule with the current account.
shareStatus - Whether the rule is shared and, if so, whether the current account is sharing the rule with another
account, or another account is sharing the rule with the current account.ShareStatus,
ShareStatusResolverRule.Builder shareStatus(ShareStatus shareStatus)
Whether the rule is shared and, if so, whether the current account is sharing the rule with another account, or another account is sharing the rule with the current account.
shareStatus - Whether the rule is shared and, if so, whether the current account is sharing the rule with another
account, or another account is sharing the rule with the current account.ShareStatus,
ShareStatusResolverRule.Builder creationTime(String creationTime)
The date and time that the Resolver rule was created, in Unix time format and Coordinated Universal Time (UTC).
creationTime - The date and time that the Resolver rule was created, in Unix time format and Coordinated Universal
Time (UTC).ResolverRule.Builder modificationTime(String modificationTime)
The date and time that the Resolver rule was last updated, in Unix time format and Coordinated Universal Time (UTC).
modificationTime - The date and time that the Resolver rule was last updated, in Unix time format and Coordinated
Universal Time (UTC).Copyright © 2023. All rights reserved.