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