Package com.amazonaws.services.ec2.model
Class PrivateIpAddressSpecification
java.lang.Object
com.amazonaws.services.ec2.model.PrivateIpAddressSpecification
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a secondary private IP address for a network interface.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether the private IP address is the primary private IP address.The private IP addresses.int
hashCode()
Indicates whether the private IP address is the primary private IP address.void
setPrimary
(Boolean primary) Indicates whether the private IP address is the primary private IP address.void
setPrivateIpAddress
(String privateIpAddress) The private IP addresses.toString()
Returns a string representation of this object; useful for testing and debugging.withPrimary
(Boolean primary) Indicates whether the private IP address is the primary private IP address.withPrivateIpAddress
(String privateIpAddress) The private IP addresses.
-
Constructor Details
-
PrivateIpAddressSpecification
public PrivateIpAddressSpecification()
-
-
Method Details
-
setPrivateIpAddress
The private IP addresses.
- Parameters:
privateIpAddress
- The private IP addresses.
-
getPrivateIpAddress
The private IP addresses.
- Returns:
- The private IP addresses.
-
withPrivateIpAddress
The private IP addresses.
- Parameters:
privateIpAddress
- The private IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrimary
Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
- Parameters:
primary
- Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
-
getPrimary
Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
- Returns:
- Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
-
withPrimary
Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
- Parameters:
primary
- Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPrimary
Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
- Returns:
- Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-