@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePlacementGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribePlacementGroupsRequest>
NOOP
Constructor and Description |
---|
DescribePlacementGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePlacementGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribePlacementGroupsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getGroupIds()
The IDs of the placement groups.
|
List<String> |
getGroupNames()
The names of the placement groups.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setGroupIds(Collection<String> groupIds)
The IDs of the placement groups.
|
void |
setGroupNames(Collection<String> groupNames)
The names of the placement groups.
|
String |
toString()
Returns a string representation of this object.
|
DescribePlacementGroupsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribePlacementGroupsRequest |
withFilters(Filter... filters)
The filters.
|
DescribePlacementGroupsRequest |
withGroupIds(Collection<String> groupIds)
The IDs of the placement groups.
|
DescribePlacementGroupsRequest |
withGroupIds(String... groupIds)
The IDs of the placement groups.
|
DescribePlacementGroupsRequest |
withGroupNames(Collection<String> groupNames)
The names of the placement groups.
|
DescribePlacementGroupsRequest |
withGroupNames(String... groupNames)
The names of the placement groups.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Filter> getFilters()
The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
| rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have
a tag with a specific key, regardless of the tag value.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
|
rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that
have a tag with the key Owner
and the value TeamA
, specify
tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
that have a tag with a specific key, regardless of the tag value.
public void setFilters(Collection<Filter> filters)
The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
| rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have
a tag with a specific key, regardless of the tag value.
filters
- The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
|
rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
that have a tag with a specific key, regardless of the tag value.
public DescribePlacementGroupsRequest withFilters(Filter... filters)
The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
| rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have
a tag with a specific key, regardless of the tag value.
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
- The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
|
rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
that have a tag with a specific key, regardless of the tag value.
public DescribePlacementGroupsRequest withFilters(Collection<Filter> filters)
The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
| rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have
a tag with a specific key, regardless of the tag value.
filters
- The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
|
rack
).
state
- The state of the placement group (pending
| available
|
deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
|
partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner
and the value TeamA
, specify tag:Owner
for
the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
that have a tag with a specific key, regardless of the tag value.
public List<String> getGroupNames()
The names of the placement groups.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You must use
the GroupId
parameter instead.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You
must use the GroupId
parameter instead.
public void setGroupNames(Collection<String> groupNames)
The names of the placement groups.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You must use
the GroupId
parameter instead.
groupNames
- The names of the placement groups.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You must
use the GroupId
parameter instead.
public DescribePlacementGroupsRequest withGroupNames(String... groupNames)
The names of the placement groups.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You must use
the GroupId
parameter instead.
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
- The names of the placement groups.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You must
use the GroupId
parameter instead.
public DescribePlacementGroupsRequest withGroupNames(Collection<String> groupNames)
The names of the placement groups.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You must use
the GroupId
parameter instead.
groupNames
- The names of the placement groups.
Constraints:
You can specify a name only if the placement group is owned by your account.
If a placement group is shared with your account, specifying the name results in an error. You must
use the GroupId
parameter instead.
public List<String> getGroupIds()
The IDs of the placement groups.
public void setGroupIds(Collection<String> groupIds)
The IDs of the placement groups.
groupIds
- The IDs of the placement groups.public DescribePlacementGroupsRequest withGroupIds(String... groupIds)
The IDs of the placement groups.
NOTE: This method appends the values to the existing list (if any). Use
setGroupIds(java.util.Collection)
or withGroupIds(java.util.Collection)
if you want to override
the existing values.
groupIds
- The IDs of the placement groups.public DescribePlacementGroupsRequest withGroupIds(Collection<String> groupIds)
The IDs of the placement groups.
groupIds
- The IDs of the placement groups.public Request<DescribePlacementGroupsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribePlacementGroupsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribePlacementGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()