@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpAddressRequest extends Object implements Serializable, Cloneable, StructuredPojo
In an CreateResolverEndpoint request, a subnet and IP address that you want to use for DNS queries.
Constructor and Description |
---|
IpAddressRequest() |
Modifier and Type | Method and Description |
---|---|
IpAddressRequest |
clone() |
boolean |
equals(Object obj) |
String |
getIp()
The IP address that you want to use for DNS queries.
|
String |
getSubnetId()
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 IP address that you want to use for DNS queries.
|
void |
setSubnetId(String subnetId)
The subnet that contains the IP address.
|
String |
toString()
Returns a string representation of this object.
|
IpAddressRequest |
withIp(String ip)
The IP address that you want to use for DNS queries.
|
IpAddressRequest |
withSubnetId(String subnetId)
The subnet that contains the IP address.
|
public void setSubnetId(String subnetId)
The subnet that contains the IP address.
subnetId
- The subnet that contains the IP address.public String getSubnetId()
The subnet that contains the IP address.
public IpAddressRequest withSubnetId(String subnetId)
The subnet that contains the IP address.
subnetId
- The subnet that contains the IP address.public void setIp(String ip)
The IP address that you want to use for DNS queries.
ip
- The IP address that you want to use for DNS queries.public String getIp()
The IP address that you want to use for DNS queries.
public IpAddressRequest withIp(String ip)
The IP address that you want to use for DNS queries.
ip
- The IP 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.