@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 IPv4 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 |
getIpv6()
The new IPv6 address.
|
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 IPv4 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 |
setIpv6(String ipv6)
The new IPv6 address.
|
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 IPv4 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 |
withIpv6(String ipv6)
The new IPv6 address.
|
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 IPv4 address.
ip
- The new IPv4 address.public String getIp()
The new IPv4 address.
public IpAddressUpdate withIp(String ip)
The new IPv4 address.
ip
- The new IPv4 address.public void setIpv6(String ipv6)
The new IPv6 address.
ipv6
- The new IPv6 address.public String getIpv6()
The new IPv6 address.
public IpAddressUpdate withIpv6(String ipv6)
The new IPv6 address.
ipv6
- The new IPv6 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.