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) |
CreateLifecyclePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
CreateLifecyclePolicyRequest.Builder |
tags(Map<String,String> tags)
The tags to apply to the lifecycle policy during creation.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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.
policyDetails - The configuration details of the lifecycle policy.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.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 tags(Map<String,String> tags)
The tags to apply to the lifecycle policy during creation.
tags - The tags to apply to the lifecycle policy during creation.CreateLifecyclePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLifecyclePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.