Interface GetLifecyclePoliciesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetLifecyclePoliciesRequest.Builder,,GetLifecyclePoliciesRequest> DlmRequest.Builder,SdkBuilder<GetLifecyclePoliciesRequest.Builder,,GetLifecyclePoliciesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetLifecyclePoliciesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefaultPolicyType(String defaultPolicyType) [Default policies only] Specifies the type of default policy to get.defaultPolicyType(DefaultPoliciesTypeValues defaultPolicyType) [Default policies only] Specifies the type of default policy to get.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifiers of the data lifecycle policies.policyIds(Collection<String> policyIds) The identifiers of the data lifecycle policies.resourceTypes(Collection<ResourceTypeValues> resourceTypes) The resource type.resourceTypes(ResourceTypeValues... resourceTypes) The resource type.resourceTypesWithStrings(String... resourceTypes) The resource type.resourceTypesWithStrings(Collection<String> resourceTypes) The resource type.The activation state.state(GettablePolicyStateValues state) The activation state.The tags to add to objects created by the policy.tagsToAdd(Collection<String> tagsToAdd) The tags to add to objects created by the policy.targetTags(String... targetTags) The target tag for a policy.targetTags(Collection<String> targetTags) The target tag for a policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dlm.model.DlmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyIds
The identifiers of the data lifecycle policies.
- Parameters:
policyIds- The identifiers of the data lifecycle policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyIds
The identifiers of the data lifecycle policies.
- Parameters:
policyIds- The identifiers of the data lifecycle policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The activation state.
- Parameters:
state- The activation state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The activation state.
- Parameters:
state- The activation state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceTypesWithStrings
The resource type.
- Parameters:
resourceTypes- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
The resource type.
- Parameters:
resourceTypes- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource type.
- Parameters:
resourceTypes- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource type.
- Parameters:
resourceTypes- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTags
The target tag for a policy.
Tags are strings in the format
key=value.- Parameters:
targetTags- The target tag for a policy.Tags are strings in the format
key=value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTags
The target tag for a policy.
Tags are strings in the format
key=value.- Parameters:
targetTags- The target tag for a policy.Tags are strings in the format
key=value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsToAdd
The tags to add to objects created by the policy.
Tags are strings in the format
key=value.These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
- Parameters:
tagsToAdd- The tags to add to objects created by the policy.Tags are strings in the format
key=value.These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsToAdd
The tags to add to objects created by the policy.
Tags are strings in the format
key=value.These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
- Parameters:
tagsToAdd- The tags to add to objects created by the policy.Tags are strings in the format
key=value.These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultPolicyType
[Default policies only] Specifies the type of default policy to get. Specify one of the following:
-
VOLUME- To get only the default policy for EBS snapshots -
INSTANCE- To get only the default policy for EBS-backed AMIs -
ALL- To get all default policies
- Parameters:
defaultPolicyType- [Default policies only] Specifies the type of default policy to get. Specify one of the following:-
VOLUME- To get only the default policy for EBS snapshots -
INSTANCE- To get only the default policy for EBS-backed AMIs -
ALL- To get all default policies
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
defaultPolicyType
[Default policies only] Specifies the type of default policy to get. Specify one of the following:
-
VOLUME- To get only the default policy for EBS snapshots -
INSTANCE- To get only the default policy for EBS-backed AMIs -
ALL- To get all default policies
- Parameters:
defaultPolicyType- [Default policies only] Specifies the type of default policy to get. Specify one of the following:-
VOLUME- To get only the default policy for EBS snapshots -
INSTANCE- To get only the default policy for EBS-backed AMIs -
ALL- To get all default policies
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
GetLifecyclePoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetLifecyclePoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-