public static interface UpdateLifecyclePolicyRequest.Builder extends DlmRequest.Builder, SdkPojo, CopyableBuilder<UpdateLifecyclePolicyRequest.Builder,UpdateLifecyclePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateLifecyclePolicyRequest.Builder |
description(String description)
A description of the lifecycle policy.
|
UpdateLifecyclePolicyRequest.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
|
UpdateLifecyclePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateLifecyclePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateLifecyclePolicyRequest.Builder |
policyDetails(Consumer<PolicyDetails.Builder> policyDetails)
The configuration of the lifecycle policy.
|
UpdateLifecyclePolicyRequest.Builder |
policyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy.
|
UpdateLifecyclePolicyRequest.Builder |
policyId(String policyId)
The identifier of the lifecycle policy.
|
UpdateLifecyclePolicyRequest.Builder |
state(SettablePolicyStateValues state)
The desired activation state of the lifecycle policy after creation.
|
UpdateLifecyclePolicyRequest.Builder |
state(String state)
The desired activation state of the lifecycle policy after creation.
|
buildoverrideConfigurationcopyapplyMutation, buildUpdateLifecyclePolicyRequest.Builder policyId(String policyId)
The identifier of the lifecycle policy.
policyId - The identifier of the lifecycle policy.UpdateLifecyclePolicyRequest.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.UpdateLifecyclePolicyRequest.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,
SettablePolicyStateValuesUpdateLifecyclePolicyRequest.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,
SettablePolicyStateValuesUpdateLifecyclePolicyRequest.Builder description(String description)
A description of the lifecycle policy.
description - A description of the lifecycle policy.UpdateLifecyclePolicyRequest.Builder policyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy.
Target tags cannot be re-used across policies.
policyDetails - The configuration of the lifecycle policy.
Target tags cannot be re-used across policies.
default UpdateLifecyclePolicyRequest.Builder policyDetails(Consumer<PolicyDetails.Builder> policyDetails)
The configuration of the lifecycle policy.
Target tags cannot be re-used across 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)UpdateLifecyclePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.UpdateLifecyclePolicyRequest.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.