@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpAddressUpdate extends Object implements Serializable, Cloneable, StructuredPojo
In an UpdateResolverEndpoint request, information about an IP address to update.
Constructor and Description |
---|
IpAddressUpdate() |
Modifier and Type | Method and Description |
---|---|
IpAddressUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getIp()
The new IP address.
|
String |
getIpId()
Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to
remove.
|
String |
getSubnetId()
The ID of the subnet that includes the IP address that you want to update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIp(String ip)
The new IP address.
|
void |
setIpId(String ipId)
Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to
remove.
|
void |
setSubnetId(String subnetId)
The ID of the subnet that includes the IP address that you want to update.
|
String |
toString()
Returns a string representation of this object.
|
IpAddressUpdate |
withIp(String ip)
The new IP address.
|
IpAddressUpdate |
withIpId(String ipId)
Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to
remove.
|
IpAddressUpdate |
withSubnetId(String subnetId)
The ID of the subnet that includes the IP address that you want to update.
|
public void setIpId(String ipId)
Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to remove. To get this ID, use GetResolverEndpoint.
ipId
- Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want
to remove. To get this ID, use GetResolverEndpoint.public String getIpId()
Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to remove. To get this ID, use GetResolverEndpoint.
public IpAddressUpdate withIpId(String ipId)
Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to remove. To get this ID, use GetResolverEndpoint.
ipId
- Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want
to remove. To get this ID, use GetResolverEndpoint.public void setSubnetId(String subnetId)
The ID of the subnet that includes the IP address that you want to update. To get this ID, use GetResolverEndpoint.
subnetId
- The ID of the subnet that includes the IP address that you want to update. To get this ID, use GetResolverEndpoint.public String getSubnetId()
The ID of the subnet that includes the IP address that you want to update. To get this ID, use GetResolverEndpoint.
public IpAddressUpdate withSubnetId(String subnetId)
The ID of the subnet that includes the IP address that you want to update. To get this ID, use GetResolverEndpoint.
subnetId
- The ID of the subnet that includes the IP address that you want to update. To get this ID, use GetResolverEndpoint.public void setIp(String ip)
The new IP address.
ip
- The new IP address.public String getIp()
The new IP address.
public IpAddressUpdate withIp(String ip)
The new IP address.
ip
- The new IP address.public String toString()
toString
in class Object
Object.toString()
public IpAddressUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.