public static interface CreateLifecyclePolicyRequest.Builder extends DlmRequest.Builder, SdkPojo, CopyableBuilder<CreateLifecyclePolicyRequest.Builder,CreateLifecyclePolicyRequest>
buildoverrideConfigurationcopyapplyMutation, buildCreateLifecyclePolicyRequest.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
executionRoleArn - The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle
policy.CreateLifecyclePolicyRequest.Builder description(String description)
A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.
description - A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.CreateLifecyclePolicyRequest.Builder state(String state)
The desired activation state of the lifecycle policy after creation.
state - The desired activation state of the lifecycle policy after creation.SettablePolicyStateValues,
SettablePolicyStateValuesCreateLifecyclePolicyRequest.Builder state(SettablePolicyStateValues state)
The desired activation state of the lifecycle policy after creation.
state - The desired activation state of the lifecycle policy after creation.SettablePolicyStateValues,
SettablePolicyStateValuesCreateLifecyclePolicyRequest.Builder policyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
policyDetails - The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
default CreateLifecyclePolicyRequest.Builder policyDetails(Consumer<PolicyDetails.Builder> policyDetails)
The configuration details of the lifecycle policy.
Target tags cannot be re-used across lifecycle policies.
This is a convenience that creates an instance of thePolicyDetails.Builder avoiding the need to
create one manually via PolicyDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policyDetails(PolicyDetails).policyDetails - a consumer that will call methods on PolicyDetails.BuilderpolicyDetails(PolicyDetails)CreateLifecyclePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLifecyclePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.