@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails extends Object implements Serializable, Cloneable, StructuredPojo
One or more private IPv4 addresses.
Constructor and Description |
---|
AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
String |
getPrivateIpAddress()
The private IPv4 address.
|
int |
hashCode() |
Boolean |
isPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails |
withPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails |
withPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
|
public AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails()
public void setPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can
be designated as primary.public Boolean getPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
public AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails withPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can
be designated as primary.public Boolean isPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
public void setPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
privateIpAddress
- The private IPv4 address.public String getPrivateIpAddress()
The private IPv4 address.
public AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails withPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
privateIpAddress
- The private IPv4 address.public String toString()
toString
in class Object
Object.toString()
public AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.