public class InstancePrivateIpAddress
extends java.lang.Object
implements java.io.Serializable
Describes a private IP address.
Constructor and Description |
---|
InstancePrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
InstanceNetworkInterfaceAssociation |
getAssociation()
The association information for an Elastic IP address for the network
interface.
|
java.lang.Boolean |
getPrimary()
Indicates whether this IP address is the primary private IP address of
the network interface.
|
java.lang.String |
getPrivateDnsName()
The private DNS name.
|
java.lang.String |
getPrivateIpAddress()
The private IP address of the network interface.
|
int |
hashCode() |
java.lang.Boolean |
isPrimary()
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(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of
the network interface.
|
void |
setPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.
|
void |
setPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address of the network interface.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstancePrivateIpAddress |
withAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network
interface.
|
InstancePrivateIpAddress |
withPrimary(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of
the network interface.
|
InstancePrivateIpAddress |
withPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.
|
InstancePrivateIpAddress |
withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address of the network interface.
|
public java.lang.String getPrivateIpAddress()
public void setPrivateIpAddress(java.lang.String privateIpAddress)
privateIpAddress
- The private IP address of the network interface.public InstancePrivateIpAddress withPrivateIpAddress(java.lang.String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The private IP address of the network interface.public java.lang.String getPrivateDnsName()
public void setPrivateDnsName(java.lang.String privateDnsName)
privateDnsName
- The private DNS name.public InstancePrivateIpAddress withPrivateDnsName(java.lang.String privateDnsName)
Returns a reference to this object so that method calls can be chained together.
privateDnsName
- The private DNS name.public java.lang.Boolean isPrimary()
public void setPrimary(java.lang.Boolean primary)
primary
- Indicates whether this IP address is the primary private IP address of
the network interface.public InstancePrivateIpAddress withPrimary(java.lang.Boolean primary)
Returns a reference to this object so that method calls can be chained together.
primary
- Indicates whether this IP address is the primary private IP address of
the network interface.public java.lang.Boolean getPrimary()
public InstanceNetworkInterfaceAssociation getAssociation()
public void setAssociation(InstanceNetworkInterfaceAssociation association)
association
- The association information for an Elastic IP address for the network
interface.public InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association)
Returns a reference to this object so that method calls can be chained together.
association
- The association information for an Elastic IP address for the network
interface.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.