Interface CreateLifecyclePolicyRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<CreateLifecyclePolicyRequest.Builder,,CreateLifecyclePolicyRequest> DlmRequest.Builder,SdkBuilder<CreateLifecyclePolicyRequest.Builder,,CreateLifecyclePolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 CreateLifecyclePolicyRequest
public static interface CreateLifecyclePolicyRequest.Builder
extends DlmRequest.Builder, SdkPojo, CopyableBuilder<CreateLifecyclePolicyRequest.Builder,CreateLifecyclePolicyRequest> 
- 
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the lifecycle policy.executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyDetails(Consumer<PolicyDetails.Builder> policyDetails) The configuration details of the lifecycle policy.policyDetails(PolicyDetails policyDetails) The configuration details of the lifecycle policy.The desired activation state of the lifecycle policy after creation.state(SettablePolicyStateValues state) The desired activation state of the lifecycle policy after creation.The tags to apply to the lifecycle policy during creation.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, sdkFields 
- 
Method Details
- 
executionRoleArn
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
- Parameters:
 executionRoleArn- The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
description
A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.
- Parameters:
 description- A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
state
The desired activation state of the lifecycle policy after creation.
- Parameters:
 state- The desired activation state of the lifecycle policy after creation.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
state
The desired activation state of the lifecycle policy after creation.
- Parameters:
 state- The desired activation state of the lifecycle policy after creation.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
policyDetails
The configuration details of the lifecycle policy.
- Parameters:
 policyDetails- The configuration details of the lifecycle policy.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
policyDetails
default CreateLifecyclePolicyRequest.Builder policyDetails(Consumer<PolicyDetails.Builder> policyDetails) The configuration details of the lifecycle policy.
This is a convenience method that creates an instance of thePolicyDetails.Builderavoiding the need to create one manually viaPolicyDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyDetails(PolicyDetails).- Parameters:
 policyDetails- a consumer that will call methods onPolicyDetails.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
tags
The tags to apply to the lifecycle policy during creation.
- Parameters:
 tags- The tags to apply to the lifecycle policy during creation.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
overrideConfiguration
CreateLifecyclePolicyRequest.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
CreateLifecyclePolicyRequest.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.
 
 
 -