@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpAddressRequest extends Object implements Serializable, Cloneable, StructuredPojo
In a CreateResolverEndpoint request, the IP address that DNS queries originate from (for outbound endpoints) or that
you forward DNS queries to (for inbound endpoints). IpAddressRequest
also includes the ID of the subnet
that contains the IP address.
Constructor and Description |
---|
IpAddressRequest() |
Modifier and Type | Method and Description |
---|---|
IpAddressRequest |
clone() |
boolean |
equals(Object obj) |
String |
getIp()
The IPv4 address that you want to use for DNS queries.
|
String |
getIpv6()
The IPv6 address that you want to use for DNS queries.
|
String |
getSubnetId()
The ID of the subnet that contains the IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIp(String ip)
The IPv4 address that you want to use for DNS queries.
|
void |
setIpv6(String ipv6)
The IPv6 address that you want to use for DNS queries.
|
void |
setSubnetId(String subnetId)
The ID of the subnet that contains the IP address.
|
String |
toString()
Returns a string representation of this object.
|
IpAddressRequest |
withIp(String ip)
The IPv4 address that you want to use for DNS queries.
|
IpAddressRequest |
withIpv6(String ipv6)
The IPv6 address that you want to use for DNS queries.
|
IpAddressRequest |
withSubnetId(String subnetId)
The ID of the subnet that contains the IP address.
|
public void setSubnetId(String subnetId)
The ID of the subnet that contains the IP address.
subnetId
- The ID of the subnet that contains the IP address.public String getSubnetId()
The ID of the subnet that contains the IP address.
public IpAddressRequest withSubnetId(String subnetId)
The ID of the subnet that contains the IP address.
subnetId
- The ID of the subnet that contains the IP address.public void setIp(String ip)
The IPv4 address that you want to use for DNS queries.
ip
- The IPv4 address that you want to use for DNS queries.public String getIp()
The IPv4 address that you want to use for DNS queries.
public IpAddressRequest withIp(String ip)
The IPv4 address that you want to use for DNS queries.
ip
- The IPv4 address that you want to use for DNS queries.public void setIpv6(String ipv6)
The IPv6 address that you want to use for DNS queries.
ipv6
- The IPv6 address that you want to use for DNS queries.public String getIpv6()
The IPv6 address that you want to use for DNS queries.
public IpAddressRequest withIpv6(String ipv6)
The IPv6 address that you want to use for DNS queries.
ipv6
- The IPv6 address that you want to use for DNS queries.public String toString()
toString
in class Object
Object.toString()
public IpAddressRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.