public class ScheduledInstancesPrivateIpAddressConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a private IP address for a Scheduled Instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
primary
Indicates whether this is a primary IP address.
|
private java.lang.String |
privateIpAddress
The IP address.
|
Constructor and Description |
---|
ScheduledInstancesPrivateIpAddressConfig() |
Modifier and Type | Method and Description |
---|---|
ScheduledInstancesPrivateIpAddressConfig |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getPrimary()
Indicates whether this is a primary IP address.
|
java.lang.String |
getPrivateIpAddress()
The IP address.
|
int |
hashCode() |
java.lang.Boolean |
isPrimary()
Indicates whether this is a primary IP address.
|
void |
setPrimary(java.lang.Boolean primary)
Indicates whether this is a primary IP address.
|
void |
setPrivateIpAddress(java.lang.String privateIpAddress)
The IP address.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduledInstancesPrivateIpAddressConfig |
withPrimary(java.lang.Boolean primary)
Indicates whether this is a primary IP address.
|
ScheduledInstancesPrivateIpAddressConfig |
withPrivateIpAddress(java.lang.String privateIpAddress)
The IP address.
|
private java.lang.String privateIpAddress
The IP address.
private java.lang.Boolean primary
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
public ScheduledInstancesPrivateIpAddressConfig()
public void setPrivateIpAddress(java.lang.String privateIpAddress)
The IP address.
privateIpAddress
- The IP address.public java.lang.String getPrivateIpAddress()
The IP address.
public ScheduledInstancesPrivateIpAddressConfig withPrivateIpAddress(java.lang.String privateIpAddress)
The IP address.
privateIpAddress
- The IP address.public void setPrimary(java.lang.Boolean primary)
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
primary
- Indicates whether this is a primary IP address. Otherwise, this is
a secondary IP address.public java.lang.Boolean getPrimary()
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
public ScheduledInstancesPrivateIpAddressConfig withPrimary(java.lang.Boolean primary)
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
primary
- Indicates whether this is a primary IP address. Otherwise, this is
a secondary IP address.public java.lang.Boolean isPrimary()
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ScheduledInstancesPrivateIpAddressConfig clone()
clone
in class java.lang.Object