public class DescribePlacementGroupsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribePlacementGroupsRequest>
Contains the parameters for DescribePlacementGroups.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Filter> |
filters
One or more filters.
|
private SdkInternalList<java.lang.String> |
groupNames
One or more placement group names.
|
NOOP
Constructor and Description |
---|
DescribePlacementGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePlacementGroupsRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private SdkInternalList<java.lang.String> groupNames
One or more placement group names.
Default: Describes all your placement groups, or only those otherwise specified.
private SdkInternalList<Filter> 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 java.util.List<java.lang.String> getGroupNames()
One or more placement group names.
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)
One or more placement group names.
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)
One or more placement group names.
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.
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)
One or more placement group names.
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 java.util.List<Filter> getFilters()
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
).
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)
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
).
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)
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
).
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.
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)
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
).
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.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribePlacementGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()