Class InstancePrivateIpAddress
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a private IP address.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The association information for an Elastic IP address for the network interface.Indicates whether this IP address is the primary private IP address of the network interface.The private DNS name.The private IP address of the network interface.int
hashCode()
Indicates whether this IP address is the primary private IP address of the network interface.void
setAssociation
(InstanceNetworkInterfaceAssociation association) The association information for an Elastic IP address for the network interface.void
setPrimary
(Boolean primary) Indicates whether this IP address is the primary private IP address of the network interface.void
setPrivateDnsName
(String privateDnsName) The private DNS name.void
setPrivateIpAddress
(String privateIpAddress) The private IP address of the network interface.toString()
Returns a string representation of this object; useful for testing and debugging.withAssociation
(InstanceNetworkInterfaceAssociation association) The association information for an Elastic IP address for the network interface.withPrimary
(Boolean primary) Indicates whether this IP address is the primary private IP address of the network interface.withPrivateDnsName
(String privateDnsName) The private DNS name.withPrivateIpAddress
(String privateIpAddress) The private IP address of the network interface.
-
Constructor Details
-
InstancePrivateIpAddress
public InstancePrivateIpAddress()
-
-
Method Details
-
setPrivateIpAddress
The private IP address of the network interface.
- Parameters:
privateIpAddress
- The private IP address of the network interface.
-
getPrivateIpAddress
The private IP address of the network interface.
- Returns:
- The private IP address of the network interface.
-
withPrivateIpAddress
The private IP address of the network interface.
- Parameters:
privateIpAddress
- The private IP address of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrivateDnsName
The private DNS name.
- Parameters:
privateDnsName
- The private DNS name.
-
getPrivateDnsName
The private DNS name.
- Returns:
- The private DNS name.
-
withPrivateDnsName
The private DNS name.
- Parameters:
privateDnsName
- The private DNS name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrimary
Indicates whether this IP address is the primary private IP address of the network interface.
- Parameters:
primary
- Indicates whether this IP address is the primary private IP address of the network interface.
-
getPrimary
Indicates whether this IP address is the primary private IP address of the network interface.
- Returns:
- Indicates whether this IP address is the primary private IP address of the network interface.
-
withPrimary
Indicates whether this IP address is the primary private IP address of the network interface.
- Parameters:
primary
- Indicates whether this IP address is the primary private IP address of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPrimary
Indicates whether this IP address is the primary private IP address of the network interface.
- Returns:
- Indicates whether this IP address is the primary private IP address of the network interface.
-
setAssociation
The association information for an Elastic IP address for the network interface.
- Parameters:
association
- The association information for an Elastic IP address for the network interface.
-
getAssociation
The association information for an Elastic IP address for the network interface.
- Returns:
- The association information for an Elastic IP address for the network interface.
-
withAssociation
The association information for an Elastic IP address for the network interface.
- Parameters:
association
- The association information for an Elastic IP address for the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-