Package com.amazonaws.services.ec2.model
Class ScheduledInstancesPlacement
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ScheduledInstancesPlacement
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ScheduledInstancesPlacement extends Object implements Serializable, Cloneable
Describes the placement for a Scheduled Instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduledInstancesPlacement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledInstancesPlacementclone()booleanequals(Object obj)StringgetAvailabilityZone()The Availability Zone.StringgetGroupName()The name of the placement group.inthashCode()voidsetAvailabilityZone(String availabilityZone)The Availability Zone.voidsetGroupName(String groupName)The name of the placement group.StringtoString()Returns a string representation of this object; useful for testing and debugging.ScheduledInstancesPlacementwithAvailabilityZone(String availabilityZone)The Availability Zone.ScheduledInstancesPlacementwithGroupName(String groupName)The name of the placement group.
-
-
-
Method Detail
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
- Parameters:
availabilityZone- The Availability Zone.
-
getAvailabilityZone
public String getAvailabilityZone()
The Availability Zone.
- Returns:
- The Availability Zone.
-
withAvailabilityZone
public ScheduledInstancesPlacement withAvailabilityZone(String availabilityZone)
The Availability Zone.
- Parameters:
availabilityZone- The Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupName
public void setGroupName(String groupName)
The name of the placement group.
- Parameters:
groupName- The name of the placement group.
-
getGroupName
public String getGroupName()
The name of the placement group.
- Returns:
- The name of the placement group.
-
withGroupName
public ScheduledInstancesPlacement withGroupName(String groupName)
The name of the placement group.
- Parameters:
groupName- The name of the placement group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduledInstancesPlacement clone()
-
-