Interface GetLifecyclePoliciesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>,DlmRequest.Builder,SdkBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetLifecyclePoliciesRequest
public static interface GetLifecyclePoliciesRequest.Builder extends DlmRequest.Builder, SdkPojo, CopyableBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dlm.model.DlmRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
policyIds
GetLifecyclePoliciesRequest.Builder policyIds(Collection<String> 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
GetLifecyclePoliciesRequest.Builder policyIds(String... 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
GetLifecyclePoliciesRequest.Builder state(String 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:
GettablePolicyStateValues,GettablePolicyStateValues
-
state
GetLifecyclePoliciesRequest.Builder state(GettablePolicyStateValues 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:
GettablePolicyStateValues,GettablePolicyStateValues
-
resourceTypesWithStrings
GetLifecyclePoliciesRequest.Builder resourceTypesWithStrings(Collection<String> resourceTypes)
The resource type.
- Parameters:
resourceTypes- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
GetLifecyclePoliciesRequest.Builder resourceTypesWithStrings(String... 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
GetLifecyclePoliciesRequest.Builder resourceTypes(Collection<ResourceTypeValues> 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
GetLifecyclePoliciesRequest.Builder resourceTypes(ResourceTypeValues... 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
GetLifecyclePoliciesRequest.Builder targetTags(Collection<String> 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
GetLifecyclePoliciesRequest.Builder targetTags(String... 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
GetLifecyclePoliciesRequest.Builder tagsToAdd(Collection<String> 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
GetLifecyclePoliciesRequest.Builder tagsToAdd(String... 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
GetLifecyclePoliciesRequest.Builder defaultPolicyType(String 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:
DefaultPoliciesTypeValues,DefaultPoliciesTypeValues
-
-
defaultPolicyType
GetLifecyclePoliciesRequest.Builder defaultPolicyType(DefaultPoliciesTypeValues 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:
DefaultPoliciesTypeValues,DefaultPoliciesTypeValues
-
-
overrideConfiguration
GetLifecyclePoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetLifecyclePoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-