public class DescribePlacementGroupsRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
Request<DescribePlacementGroupsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.util.List<java.lang.String> |
getGroupNames()
One or more placement group names.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setGroupNames(java.util.Collection<java.lang.String> groupNames)
One or more placement group names.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePlacementGroupsRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribePlacementGroupsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribePlacementGroupsRequest |
withGroupNames(java.util.Collection<java.lang.String> groupNames)
One or more placement group names.
|
DescribePlacementGroupsRequest |
withGroupNames(java.lang.String... groupNames)
One or more placement group names.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.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(java.util.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(java.util.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 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.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.