public static interface ListLifecyclePoliciesRequest.Builder extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListLifecyclePoliciesRequest.Builder,ListLifecyclePoliciesRequest>
| Modifier and Type | Method and Description |
|---|---|
ListLifecyclePoliciesRequest.Builder |
maxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
ListLifecyclePoliciesRequest.Builder |
nextToken(String nextToken)
If your initial
ListLifecyclePolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListLifecyclePolicies operations,
which returns results in the next page. |
ListLifecyclePoliciesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListLifecyclePoliciesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListLifecyclePoliciesRequest.Builder |
resources(Collection<String> resources)
Resource filters that policies can apply to.
|
ListLifecyclePoliciesRequest.Builder |
resources(String... resources)
Resource filters that policies can apply to.
|
ListLifecyclePoliciesRequest.Builder |
type(LifecyclePolicyType type)
The type of lifecycle policy.
|
ListLifecyclePoliciesRequest.Builder |
type(String type)
The type of lifecycle policy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListLifecyclePoliciesRequest.Builder maxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use use
nextToken to get the next page of results. The default is 10.
maxResults - An optional parameter that specifies the maximum number of results to return. You can use use
nextToken to get the next page of results. The default is 10.ListLifecyclePoliciesRequest.Builder nextToken(String nextToken)
If your initial ListLifecyclePolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListLifecyclePolicies operations,
which returns results in the next page.
nextToken - If your initial ListLifecyclePolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListLifecyclePolicies
operations, which returns results in the next page.ListLifecyclePoliciesRequest.Builder resources(Collection<String> resources)
Resource filters that policies can apply to. Currently, the only supported resource type is
index.
resources - Resource filters that policies can apply to. Currently, the only supported resource type is
index.ListLifecyclePoliciesRequest.Builder resources(String... resources)
Resource filters that policies can apply to. Currently, the only supported resource type is
index.
resources - Resource filters that policies can apply to. Currently, the only supported resource type is
index.ListLifecyclePoliciesRequest.Builder type(String type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyType,
LifecyclePolicyTypeListLifecyclePoliciesRequest.Builder type(LifecyclePolicyType type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyType,
LifecyclePolicyTypeListLifecyclePoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListLifecyclePoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.