@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledInstancesPrivateIpAddressConfig extends Object implements Serializable, Cloneable
Describes a private IPv4 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 IPv4 address.
|
String |
getPrivateIpAddress()
The IPv4 address.
|
int |
hashCode() |
Boolean |
isPrimary()
Indicates whether this is a primary IPv4 address.
|
void |
setPrimary(Boolean primary)
Indicates whether this is a primary IPv4 address.
|
void |
setPrivateIpAddress(String privateIpAddress)
The IPv4 address.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledInstancesPrivateIpAddressConfig |
withPrimary(Boolean primary)
Indicates whether this is a primary IPv4 address.
|
ScheduledInstancesPrivateIpAddressConfig |
withPrivateIpAddress(String privateIpAddress)
The IPv4 address.
|
public ScheduledInstancesPrivateIpAddressConfig()
public void setPrimary(Boolean primary)
Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.
primary
- Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.public Boolean getPrimary()
Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.
public ScheduledInstancesPrivateIpAddressConfig withPrimary(Boolean primary)
Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.
primary
- Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.public Boolean isPrimary()
Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.
public void setPrivateIpAddress(String privateIpAddress)
The IPv4 address.
privateIpAddress
- The IPv4 address.public String getPrivateIpAddress()
The IPv4 address.
public ScheduledInstancesPrivateIpAddressConfig withPrivateIpAddress(String privateIpAddress)
The IPv4 address.
privateIpAddress
- The IPv4 address.public String toString()
toString
in class Object
Object.toString()
public ScheduledInstancesPrivateIpAddressConfig clone()