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