public class ScheduledInstancesPrivateIpAddressConfig
extends java.lang.Object
implements java.io.Serializable
Describes a private IP address for a Scheduled Instance.
| Constructor and Description |
|---|
ScheduledInstancesPrivateIpAddressConfig() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ScheduledInstancesPrivateIpAddressConfig()
public java.lang.String getPrivateIpAddress()
public void setPrivateIpAddress(java.lang.String privateIpAddress)
privateIpAddress - The IP address.public ScheduledInstancesPrivateIpAddressConfig withPrivateIpAddress(java.lang.String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress - The IP address.public java.lang.Boolean isPrimary()
public void setPrimary(java.lang.Boolean primary)
primary - Indicates whether this is a primary IP address. Otherwise, this is a
secondary IP address.public ScheduledInstancesPrivateIpAddressConfig withPrimary(java.lang.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 java.lang.Boolean getPrimary()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.