public class DescribePlacementGroupsRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribePlacementGroupsRequest>
DescribePlacementGroups operation
.
Returns information about one or more PlacementGroup instances in a user's account.
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()
A list of filters used to match properties for Placement Groups.
|
List<String> |
getGroupNames()
The name of the
PlacementGroup . |
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for Placement Groups.
|
void |
setGroupNames(Collection<String> groupNames)
The name of the
PlacementGroup . |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePlacementGroupsRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match properties for Placement Groups.
|
DescribePlacementGroupsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for Placement Groups.
|
DescribePlacementGroupsRequest |
withGroupNames(Collection<String> groupNames)
The name of the
PlacementGroup . |
DescribePlacementGroupsRequest |
withGroupNames(String... groupNames)
The name of the
PlacementGroup . |
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public List<String> getGroupNames()
PlacementGroup
.PlacementGroup
.public void setGroupNames(Collection<String> groupNames)
PlacementGroup
.groupNames
- The name of the PlacementGroup
.public DescribePlacementGroupsRequest withGroupNames(String... groupNames)
PlacementGroup
.
Returns a reference to this object so that method calls can be chained together.
groupNames
- The name of the PlacementGroup
.public DescribePlacementGroupsRequest withGroupNames(Collection<String> groupNames)
PlacementGroup
.
Returns a reference to this object so that method calls can be chained together.
groupNames
- The name of the PlacementGroup
.public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- A list of filters used to match properties for Placement Groups. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribePlacementGroupsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for Placement Groups. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribePlacementGroupsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for Placement Groups. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public Request<DescribePlacementGroupsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribePlacementGroupsRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.