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 String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress - The IP address.public ScheduledInstancesPrivateIpAddressConfig withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress - The IP address.public Boolean isPrimary()
public void setPrimary(Boolean primary)
primary - Indicates whether this is a primary IP address. Otherwise, this is a
secondary IP address.public ScheduledInstancesPrivateIpAddressConfig withPrimary(Boolean primary)
Returns a reference to this object so that method calls can be chained together.
primary - Indicates whether this is a primary IP address. Otherwise, this is a
secondary IP address.public Boolean getPrimary()
public String toString()
toString in class ObjectObject.toString()public ScheduledInstancesPrivateIpAddressConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.