|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreatePlacementGroupRequest
public class CreatePlacementGroupRequest
Container for the parameters to the CreatePlacementGroup operation.
Creates a PlacementGroup into which multiple Amazon EC2 instances can be launched. Users must give the group a name unique within the scope of the user account.
AmazonEC2.createPlacementGroup(CreatePlacementGroupRequest)| Constructor Summary | |
|---|---|
CreatePlacementGroupRequest()
Default constructor for a new CreatePlacementGroupRequest object. |
|
CreatePlacementGroupRequest(String groupName,
PlacementStrategy strategy)
Constructs a new CreatePlacementGroupRequest object. |
|
CreatePlacementGroupRequest(String groupName,
String strategy)
Constructs a new CreatePlacementGroupRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getGroupName()
The name of the PlacementGroup. |
String |
getStrategy()
The PlacementGroup strategy. |
int |
hashCode()
|
void |
setGroupName(String groupName)
The name of the PlacementGroup. |
void |
setStrategy(PlacementStrategy strategy)
The PlacementGroup strategy. |
void |
setStrategy(String strategy)
The PlacementGroup strategy. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreatePlacementGroupRequest |
withGroupName(String groupName)
The name of the PlacementGroup. |
CreatePlacementGroupRequest |
withStrategy(PlacementStrategy strategy)
The PlacementGroup strategy. |
CreatePlacementGroupRequest |
withStrategy(String strategy)
The PlacementGroup strategy. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreatePlacementGroupRequest()
public CreatePlacementGroupRequest(String groupName,
String strategy)
groupName - The name of the PlacementGroup.strategy - The PlacementGroup strategy.
public CreatePlacementGroupRequest(String groupName,
PlacementStrategy strategy)
groupName - The name of the PlacementGroup.strategy - The PlacementGroup strategy.| Method Detail |
|---|
public String getGroupName()
PlacementGroup.
PlacementGroup.public void setGroupName(String groupName)
PlacementGroup.
groupName - The name of the PlacementGroup.public CreatePlacementGroupRequest withGroupName(String groupName)
PlacementGroup.
Returns a reference to this object so that method calls can be chained together.
groupName - The name of the PlacementGroup.
public String getStrategy()
PlacementGroup strategy.
Constraints:
Allowed Values: cluster
PlacementGroup strategy.PlacementStrategypublic void setStrategy(String strategy)
PlacementGroup strategy.
Constraints:
Allowed Values: cluster
strategy - The PlacementGroup strategy.PlacementStrategypublic CreatePlacementGroupRequest withStrategy(String strategy)
PlacementGroup strategy.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cluster
strategy - The PlacementGroup strategy.
PlacementStrategypublic void setStrategy(PlacementStrategy strategy)
PlacementGroup strategy.
Constraints:
Allowed Values: cluster
strategy - The PlacementGroup strategy.PlacementStrategypublic CreatePlacementGroupRequest withStrategy(PlacementStrategy strategy)
PlacementGroup strategy.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cluster
strategy - The PlacementGroup strategy.
PlacementStrategypublic String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||