Interface UpdateLifecyclePolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLifecyclePolicyRequest.Builder,UpdateLifecyclePolicyRequest>,DlmRequest.Builder,SdkBuilder<UpdateLifecyclePolicyRequest.Builder,UpdateLifecyclePolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateLifecyclePolicyRequest
public static interface UpdateLifecyclePolicyRequest.Builder extends DlmRequest.Builder, SdkPojo, CopyableBuilder<UpdateLifecyclePolicyRequest.Builder,UpdateLifecyclePolicyRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dlm.model.DlmRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
policyId
UpdateLifecyclePolicyRequest.Builder policyId(String policyId)
The identifier of the lifecycle policy.
- Parameters:
policyId- The identifier of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
UpdateLifecyclePolicyRequest.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
UpdateLifecyclePolicyRequest.Builder state(String state)
The desired activation state of the lifecycle policy after creation.
- Parameters:
state- The desired activation state of the lifecycle policy after creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettablePolicyStateValues,SettablePolicyStateValues
-
state
UpdateLifecyclePolicyRequest.Builder state(SettablePolicyStateValues state)
The desired activation state of the lifecycle policy after creation.
- Parameters:
state- The desired activation state of the lifecycle policy after creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SettablePolicyStateValues,SettablePolicyStateValues
-
description
UpdateLifecyclePolicyRequest.Builder description(String description)
A description of the lifecycle policy.
- Parameters:
description- A description of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDetails
UpdateLifecyclePolicyRequest.Builder policyDetails(PolicyDetails policyDetails)
The configuration of the lifecycle policy. You cannot update the policy type or the resource type.
- Parameters:
policyDetails- The configuration of the lifecycle policy. You cannot update the policy type or the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDetails
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.Builderavoiding the need to create one manually viaPolicyDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyDetails(PolicyDetails).- Parameters:
policyDetails- a consumer that will call methods onPolicyDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policyDetails(PolicyDetails)
-
overrideConfiguration
UpdateLifecyclePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateLifecyclePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-