public class InstancePrivateIpAddress extends Object implements Serializable
Constructor and Description |
---|
InstancePrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InstanceNetworkInterfaceAssociation |
getAssociation()
Returns the value of the Association property for this object.
|
Boolean |
getPrimary()
Returns the value of the Primary property for this object.
|
String |
getPrivateDnsName()
Returns the value of the PrivateDnsName property for this object.
|
String |
getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.
|
int |
hashCode() |
Boolean |
isPrimary()
Returns the value of the Primary property for this object.
|
void |
setAssociation(InstanceNetworkInterfaceAssociation association)
Sets the value of the Association property for this object.
|
void |
setPrimary(Boolean primary)
Sets the value of the Primary property for this object.
|
void |
setPrivateDnsName(String privateDnsName)
Sets the value of the PrivateDnsName property for this object.
|
void |
setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstancePrivateIpAddress |
withAssociation(InstanceNetworkInterfaceAssociation association)
Sets the value of the Association property for this object.
|
InstancePrivateIpAddress |
withPrimary(Boolean primary)
Sets the value of the Primary property for this object.
|
InstancePrivateIpAddress |
withPrivateDnsName(String privateDnsName)
Sets the value of the PrivateDnsName property for this object.
|
InstancePrivateIpAddress |
withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public InstancePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public String getPrivateDnsName()
public void setPrivateDnsName(String privateDnsName)
privateDnsName
- The new value for the PrivateDnsName property for this object.public InstancePrivateIpAddress withPrivateDnsName(String privateDnsName)
Returns a reference to this object so that method calls can be chained together.
privateDnsName
- The new value for the PrivateDnsName property for this object.public Boolean isPrimary()
public void setPrimary(Boolean primary)
primary
- The new value for the Primary property for this object.public InstancePrivateIpAddress withPrimary(Boolean primary)
Returns a reference to this object so that method calls can be chained together.
primary
- The new value for the Primary property for this object.public Boolean getPrimary()
public InstanceNetworkInterfaceAssociation getAssociation()
public void setAssociation(InstanceNetworkInterfaceAssociation association)
association
- The new value for the Association property for this object.public InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association)
Returns a reference to this object so that method calls can be chained together.
association
- The new value for the Association property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.