@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetAddress extends Object implements Serializable, Cloneable, StructuredPojo
In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.
Constructor and Description |
---|
TargetAddress() |
Modifier and Type | Method and Description |
---|---|
TargetAddress |
clone() |
boolean |
equals(Object obj) |
String |
getIp()
One IPv4 address that you want to forward DNS queries to.
|
String |
getIpv6()
One IPv6 address that you want to forward DNS queries to.
|
Integer |
getPort()
The port at
Ip that you want to forward DNS queries to. |
String |
getProtocol()
The protocols for the Resolver endpoints.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIp(String ip)
One IPv4 address that you want to forward DNS queries to.
|
void |
setIpv6(String ipv6)
One IPv6 address that you want to forward DNS queries to.
|
void |
setPort(Integer port)
The port at
Ip that you want to forward DNS queries to. |
void |
setProtocol(String protocol)
The protocols for the Resolver endpoints.
|
String |
toString()
Returns a string representation of this object.
|
TargetAddress |
withIp(String ip)
One IPv4 address that you want to forward DNS queries to.
|
TargetAddress |
withIpv6(String ipv6)
One IPv6 address that you want to forward DNS queries to.
|
TargetAddress |
withPort(Integer port)
The port at
Ip that you want to forward DNS queries to. |
TargetAddress |
withProtocol(Protocol protocol)
The protocols for the Resolver endpoints.
|
TargetAddress |
withProtocol(String protocol)
The protocols for the Resolver endpoints.
|
public void setIp(String ip)
One IPv4 address that you want to forward DNS queries to.
ip
- One IPv4 address that you want to forward DNS queries to.public String getIp()
One IPv4 address that you want to forward DNS queries to.
public TargetAddress withIp(String ip)
One IPv4 address that you want to forward DNS queries to.
ip
- One IPv4 address that you want to forward DNS queries to.public void setPort(Integer port)
The port at Ip
that you want to forward DNS queries to.
port
- The port at Ip
that you want to forward DNS queries to.public Integer getPort()
The port at Ip
that you want to forward DNS queries to.
Ip
that you want to forward DNS queries to.public TargetAddress withPort(Integer port)
The port at Ip
that you want to forward DNS queries to.
port
- The port at Ip
that you want to forward DNS queries to.public void setIpv6(String ipv6)
One IPv6 address that you want to forward DNS queries to.
ipv6
- One IPv6 address that you want to forward DNS queries to.public String getIpv6()
One IPv6 address that you want to forward DNS queries to.
public TargetAddress withIpv6(String ipv6)
One IPv6 address that you want to forward DNS queries to.
ipv6
- One IPv6 address that you want to forward DNS queries to.public void setProtocol(String protocol)
The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
protocol
- The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
Protocol
public String getProtocol()
The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
Protocol
public TargetAddress withProtocol(String protocol)
The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
protocol
- The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
Protocol
public TargetAddress withProtocol(Protocol protocol)
The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
protocol
- The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 and DoH-FIPS in combination.
Do53 alone.
DoH alone.
DoH-FIPS alone.
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
Do53 and DoH in combination.
Do53 alone.
DoH alone.
None, which is treated as Do53.
Protocol
public String toString()
toString
in class Object
Object.toString()
public TargetAddress clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.