public class DescribePlacementGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribePlacementGroupsRequest>
DescribePlacementGroups operation
.
Describes one or more of your placement groups. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide .
NOOP
Constructor and Description |
---|
DescribePlacementGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePlacementGroupsRequest |
clone() |
boolean |
equals(Object obj) |
Request<DescribePlacementGroupsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
List<String> |
getGroupNames()
One or more placement group names.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setGroupNames(Collection<String> groupNames)
One or more placement group names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePlacementGroupsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribePlacementGroupsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribePlacementGroupsRequest |
withGroupNames(Collection<String> groupNames)
One or more placement group names.
|
DescribePlacementGroupsRequest |
withGroupNames(String... groupNames)
One or more placement group names.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getGroupNames()
Default: Describes all your placement groups, or only those otherwise specified.
Default: Describes all your placement groups, or only those otherwise specified.
public void setGroupNames(Collection<String> groupNames)
Default: Describes all your placement groups, or only those otherwise specified.
groupNames
- One or more placement group names. Default: Describes all your placement groups, or only those otherwise specified.
public DescribePlacementGroupsRequest withGroupNames(String... groupNames)
Default: Describes all your placement groups, or only those otherwise specified.
NOTE: This method appends the values to the existing list (if
any). Use setGroupNames(java.util.Collection)
or withGroupNames(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
groupNames
- One or more placement group names. Default: Describes all your placement groups, or only those otherwise specified.
public DescribePlacementGroupsRequest withGroupNames(Collection<String> groupNames)
Default: Describes all your placement groups, or only those otherwise specified.
Returns a reference to this object so that method calls can be chained together.
groupNames
- One or more placement group names. Default: Describes all your placement groups, or only those otherwise specified.
public List<Filter> getFilters()
group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
public void setFilters(Collection<Filter> filters)
group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
filters
- One or more filters. group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
public DescribePlacementGroupsRequest withFilters(Filter... filters)
group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
NOTE: This method appends the values to the existing list (if
any). Use setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
public DescribePlacementGroupsRequest withFilters(Collection<Filter> filters)
group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. group-name
- The name
of the placement group.
state
- The state
of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group
(cluster
).
public Request<DescribePlacementGroupsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribePlacementGroupsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribePlacementGroupsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.