@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledInstancesPlacement extends Object implements Serializable, Cloneable
Describes the placement for a Scheduled Instance.
Constructor and Description |
---|
ScheduledInstancesPlacement() |
Modifier and Type | Method and Description |
---|---|
ScheduledInstancesPlacement |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone.
|
String |
getGroupName()
The name of the placement group.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setGroupName(String groupName)
The name of the placement group.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledInstancesPlacement |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
ScheduledInstancesPlacement |
withGroupName(String groupName)
The name of the placement group.
|
public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public ScheduledInstancesPlacement withAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public void setGroupName(String groupName)
The name of the placement group.
groupName
- The name of the placement group.public String getGroupName()
The name of the placement group.
public ScheduledInstancesPlacement withGroupName(String groupName)
The name of the placement group.
groupName
- The name of the placement group.public String toString()
toString
in class Object
Object.toString()
public ScheduledInstancesPlacement clone()