public class ScheduledInstancesPlacement
extends java.lang.Object
implements java.io.Serializable
Describes the placement for a Scheduled Instance.
| Constructor and Description |
|---|
ScheduledInstancesPlacement() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The Availability Zone.public ScheduledInstancesPlacement withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone - The Availability Zone.public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName - The name of the placement group.public ScheduledInstancesPlacement withGroupName(java.lang.String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName - The name of the placement group.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.