public static interface DescribePlacementGroupsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribePlacementGroupsRequest.Builder,DescribePlacementGroupsRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribePlacementGroupsRequest.Builder filters(Collection<Filter> filters)
The 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
| 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.
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.
DescribePlacementGroupsRequest.Builder filters(Filter... filters)
The 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
| 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.
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.
DescribePlacementGroupsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The 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
| 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.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
DescribePlacementGroupsRequest.Builder groupNames(Collection<String> groupNames)
The names of the placement groups.
Default: Describes all your placement groups, or only those otherwise specified.
groupNames
- The names of the placement groups.
Default: Describes all your placement groups, or only those otherwise specified.
DescribePlacementGroupsRequest.Builder groupNames(String... groupNames)
The names of the placement groups.
Default: Describes all your placement groups, or only those otherwise specified.
groupNames
- The names of the placement groups.
Default: Describes all your placement groups, or only those otherwise specified.
DescribePlacementGroupsRequest.Builder groupIds(Collection<String> groupIds)
The IDs of the placement groups.
groupIds
- The IDs of the placement groups.DescribePlacementGroupsRequest.Builder groupIds(String... groupIds)
The IDs of the placement groups.
groupIds
- The IDs of the placement groups.DescribePlacementGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribePlacementGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.