public class ScheduledInstancesPlacement
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the placement for a Scheduled Instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
availabilityZone
The Availability Zone.
|
private java.lang.String |
groupName
The name of the placement group.
|
Constructor and Description |
---|
ScheduledInstancesPlacement() |
Modifier and Type | Method and Description |
---|---|
ScheduledInstancesPlacement |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone.
|
java.lang.String |
getGroupName()
The name of the placement group.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone.
|
void |
setGroupName(java.lang.String groupName)
The name of the placement group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduledInstancesPlacement |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone.
|
ScheduledInstancesPlacement |
withGroupName(java.lang.String groupName)
The name of the placement group.
|
private java.lang.String availabilityZone
The Availability Zone.
private java.lang.String groupName
The name of the placement group.
public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public java.lang.String getAvailabilityZone()
The Availability Zone.
public ScheduledInstancesPlacement withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public void setGroupName(java.lang.String groupName)
The name of the placement group.
groupName
- The name of the placement group.public java.lang.String getGroupName()
The name of the placement group.
public ScheduledInstancesPlacement withGroupName(java.lang.String groupName)
The name of the placement group.
groupName
- The name of the placement group.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 ScheduledInstancesPlacement clone()
clone
in class java.lang.Object