@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResolverRuleConfig extends Object implements Serializable, Cloneable, StructuredPojo
In an UpdateResolverRule request, information about the changes that you want to make.
Constructor and Description |
---|
ResolverRuleConfig() |
Modifier and Type | Method and Description |
---|---|
ResolverRuleConfig |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The new name for the Resolver rule.
|
String |
getResolverEndpointId()
The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that
you specify in
TargetIps . |
List<TargetAddress> |
getTargetIps()
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The new name for the Resolver rule.
|
void |
setResolverEndpointId(String resolverEndpointId)
The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that
you specify in
TargetIps . |
void |
setTargetIps(Collection<TargetAddress> targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
|
String |
toString()
Returns a string representation of this object.
|
ResolverRuleConfig |
withName(String name)
The new name for the Resolver rule.
|
ResolverRuleConfig |
withResolverEndpointId(String resolverEndpointId)
The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that
you specify in
TargetIps . |
ResolverRuleConfig |
withTargetIps(Collection<TargetAddress> targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
|
ResolverRuleConfig |
withTargetIps(TargetAddress... targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
|
public void setName(String name)
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
name
- The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the
Route 53 console.public String getName()
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
public ResolverRuleConfig withName(String name)
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
name
- The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the
Route 53 console.public List<TargetAddress> getTargetIps()
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
public void setTargetIps(Collection<TargetAddress> targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
targetIps
- For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS
queries to.public ResolverRuleConfig withTargetIps(TargetAddress... targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
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
- For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS
queries to.public ResolverRuleConfig withTargetIps(Collection<TargetAddress> targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
targetIps
- For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS
queries to.public void setResolverEndpointId(String resolverEndpointId)
The ID of the new 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 new 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 new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that
you specify in TargetIps
.
TargetIps
.public ResolverRuleConfig withResolverEndpointId(String resolverEndpointId)
The ID of the new 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 new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses
that you specify in TargetIps
.public String toString()
toString
in class Object
Object.toString()
public ResolverRuleConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.