|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.SpotPlacement
public class SpotPlacement
Describes Spot Instance placement.
Constructor Summary | |
---|---|
SpotPlacement()
Default constructor for a new SpotPlacement object. |
|
SpotPlacement(String availabilityZone)
Constructs a new SpotPlacement object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
The Availability Zone. |
String |
getGroupName()
The Availability Zone group name. |
int |
hashCode()
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone. |
void |
setGroupName(String groupName)
The Availability Zone group name. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotPlacement |
withAvailabilityZone(String availabilityZone)
The Availability Zone. |
SpotPlacement |
withGroupName(String groupName)
The Availability Zone group name. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotPlacement()
public SpotPlacement(String availabilityZone)
availabilityZone
- The Availability Zone.Method Detail |
---|
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone.public SpotPlacement withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone.
public String getGroupName()
public void setGroupName(String groupName)
groupName
- The Availability Zone group name.public SpotPlacement withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- The Availability Zone group name.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |