public static interface UpdateLifecyclePolicyRequest.Builder extends DlmRequest.Builder, SdkPojo, CopyableBuilder<UpdateLifecyclePolicyRequest.Builder,UpdateLifecyclePolicyRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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. You cannot update the policy type or the resource type.
policyDetails - The configuration of the lifecycle policy. You cannot update the policy type or the resource type.default UpdateLifecyclePolicyRequest.Builder policyDetails(Consumer<PolicyDetails.Builder> policyDetails)
The configuration of the lifecycle policy. You cannot update the policy type or the resource type.
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)UpdateLifecyclePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateLifecyclePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.