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 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; useful for testing and debugging.ScheduledInstancesPlacement
withAvailabilityZone(String availabilityZone)
The Availability Zone.ScheduledInstancesPlacement
withGroupName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduledInstancesPlacement clone()
-
-