|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.Placement
public class Placement
Describes the placement for the instance.
| Constructor Summary | |
|---|---|
Placement()
Default constructor for a new Placement object. |
|
Placement(java.lang.String availabilityZone)
Constructs a new Placement object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAvailabilityZone()
The Availability Zone of the instance. |
java.lang.String |
getGroupName()
The name of the placement group the instance is in (for cluster compute instances). |
java.lang.String |
getTenancy()
The tenancy of the instance (if the instance is running in a VPC). |
int |
hashCode()
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone of the instance. |
void |
setGroupName(java.lang.String groupName)
The name of the placement group the instance is in (for cluster compute instances). |
void |
setTenancy(java.lang.String tenancy)
The tenancy of the instance (if the instance is running in a VPC). |
void |
setTenancy(Tenancy tenancy)
The tenancy of the instance (if the instance is running in a VPC). |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Placement |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone of the instance. |
Placement |
withGroupName(java.lang.String groupName)
The name of the placement group the instance is in (for cluster compute instances). |
Placement |
withTenancy(java.lang.String tenancy)
The tenancy of the instance (if the instance is running in a VPC). |
Placement |
withTenancy(Tenancy tenancy)
The tenancy of the instance (if the instance is running in a VPC). |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Placement()
public Placement(java.lang.String availabilityZone)
availabilityZone - The Availability Zone of the instance.| Method Detail |
|---|
public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The Availability Zone of the instance.public Placement withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone - The Availability Zone of the instance.
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName - The name of the placement group the instance is in (for cluster
compute instances).public Placement 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 the instance is in (for cluster
compute instances).
public java.lang.String getTenancy()
dedicated runs on
single-tenant hardware.
Constraints:
Allowed Values: default, dedicated
dedicated runs on
single-tenant hardware.Tenancypublic void setTenancy(java.lang.String tenancy)
dedicated runs on
single-tenant hardware.
Constraints:
Allowed Values: default, dedicated
tenancy - The tenancy of the instance (if the instance is running in a VPC). An
instance with a tenancy of dedicated runs on
single-tenant hardware.Tenancypublic Placement withTenancy(java.lang.String tenancy)
dedicated runs on
single-tenant hardware.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
tenancy - The tenancy of the instance (if the instance is running in a VPC). An
instance with a tenancy of dedicated runs on
single-tenant hardware.
Tenancypublic void setTenancy(Tenancy tenancy)
dedicated runs on
single-tenant hardware.
Constraints:
Allowed Values: default, dedicated
tenancy - The tenancy of the instance (if the instance is running in a VPC). An
instance with a tenancy of dedicated runs on
single-tenant hardware.Tenancypublic Placement withTenancy(Tenancy tenancy)
dedicated runs on
single-tenant hardware.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
tenancy - The tenancy of the instance (if the instance is running in a VPC). An
instance with a tenancy of dedicated runs on
single-tenant hardware.
Tenancypublic 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 | ||||||