public static interface CreateLifecyclePolicyRequest.Builder extends DlmRequest.Builder, SdkPojo, CopyableBuilder<CreateLifecyclePolicyRequest.Builder,CreateLifecyclePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateLifecyclePolicyRequest.Builder |
description(String description)
A description of the lifecycle policy.
|
CreateLifecyclePolicyRequest.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
|
CreateLifecyclePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateLifecyclePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateLifecyclePolicyRequest.Builder |
policyDetails(Consumer<PolicyDetails.Builder> policyDetails)
The configuration details of the lifecycle policy.
|
CreateLifecyclePolicyRequest.Builder |
policyDetails(PolicyDetails policyDetails)
The configuration details of the lifecycle policy.
|
CreateLifecyclePolicyRequest.Builder |
state(SettablePolicyStateValues state)
The desired activation state of the lifecycle policy after creation.
|
CreateLifecyclePolicyRequest.Builder |
state(String state)
The desired activation state of the lifecycle policy after creation.
|
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)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateLifecyclePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.