public static interface ListRulesRequest.Builder extends RbinRequest.Builder, SdkPojo, CopyableBuilder<ListRulesRequest.Builder,ListRulesRequest>
| Modifier and Type | Method and Description |
|---|---|
ListRulesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListRulesRequest.Builder |
nextToken(String nextToken)
The token for the next page of results.
|
ListRulesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListRulesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListRulesRequest.Builder |
resourceTags(Collection<ResourceTag> resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
|
ListRulesRequest.Builder |
resourceTags(Consumer<ResourceTag.Builder>... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
|
ListRulesRequest.Builder |
resourceTags(ResourceTag... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
|
ListRulesRequest.Builder |
resourceType(ResourceType resourceType)
The resource type retained by the retention rule.
|
ListRulesRequest.Builder |
resourceType(String resourceType)
The resource type retained by the retention rule.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListRulesRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another
call with the returned NextToken value.
maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned NextToken value.ListRulesRequest.Builder nextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.ListRulesRequest.Builder resourceType(String resourceType)
The resource type retained by the retention rule. Only retention rules that retain the specified resource
type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention
rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules that retain
EBS-backed AMIs, specify EC2_IMAGE.
resourceType - The resource type retained by the retention rule. Only retention rules that retain the specified
resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To
list retention rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules
that retain EBS-backed AMIs, specify EC2_IMAGE.ResourceType,
ResourceTypeListRulesRequest.Builder resourceType(ResourceType resourceType)
The resource type retained by the retention rule. Only retention rules that retain the specified resource
type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention
rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules that retain
EBS-backed AMIs, specify EC2_IMAGE.
resourceType - The resource type retained by the retention rule. Only retention rules that retain the specified
resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To
list retention rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules
that retain EBS-backed AMIs, specify EC2_IMAGE.ResourceType,
ResourceTypeListRulesRequest.Builder resourceTags(Collection<ResourceTag> resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
resourceTags - Information about the resource tags used to identify resources that are retained by the retention
rule.ListRulesRequest.Builder resourceTags(ResourceTag... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
resourceTags - Information about the resource tags used to identify resources that are retained by the retention
rule.ListRulesRequest.Builder resourceTags(Consumer<ResourceTag.Builder>... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
This is a convenience method that creates an instance of theList.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 #resourceTags(List) .resourceTags - a consumer that will call methods on List.Builder #resourceTags(List) ListRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.