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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.dlm.model.DlmRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
policyIdsThe 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.
 
- 
policyIdsThe 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.
 
- 
stateThe activation state. - Parameters:
- state- The activation state.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateThe activation state. - Parameters:
- state- The activation state.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
resourceTypesWithStringsThe resource type. - Parameters:
- resourceTypes- The resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceTypesWithStringsThe resource type. - Parameters:
- resourceTypes- The resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceTypesThe resource type. - Parameters:
- resourceTypes- The resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceTypesThe resource type. - Parameters:
- resourceTypes- The resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetTagsThe 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.
 
- 
targetTagsThe 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.
 
- 
tagsToAddThe 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.
 
- 
tagsToAddThe 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:
 
- 
 
- 
overrideConfigurationGetLifecyclePoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationGetLifecyclePoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-