@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ipv4PrefixSpecificationRequest extends Object implements Serializable, Cloneable
Describes the IPv4 prefix option for a network interface.
Constructor and Description |
---|
Ipv4PrefixSpecificationRequest() |
Modifier and Type | Method and Description |
---|---|
Ipv4PrefixSpecificationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getIpv4Prefix()
The IPv4 prefix.
|
int |
hashCode() |
void |
setIpv4Prefix(String ipv4Prefix)
The IPv4 prefix.
|
String |
toString()
Returns a string representation of this object.
|
Ipv4PrefixSpecificationRequest |
withIpv4Prefix(String ipv4Prefix)
The IPv4 prefix.
|
public void setIpv4Prefix(String ipv4Prefix)
The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
ipv4Prefix
- The IPv4 prefix. For information, see Assigning prefixes to
network interfaces in the Amazon EC2 User Guide.public String getIpv4Prefix()
The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
public Ipv4PrefixSpecificationRequest withIpv4Prefix(String ipv4Prefix)
The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
ipv4Prefix
- The IPv4 prefix. For information, see Assigning prefixes to
network interfaces in the Amazon EC2 User Guide.public String toString()
toString
in class Object
Object.toString()
public Ipv4PrefixSpecificationRequest clone()