public class DescribePlacementGroupsRequest extends AmazonWebServiceRequest implements Serializable, 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 .
| Constructor and Description |
|---|
DescribePlacementGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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.
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).
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 ObjectObject.toString()Copyright © 2016. All rights reserved.