public static interface GetLifecyclePolicyResponse.Builder extends DlmResponse.Builder, SdkPojo, CopyableBuilder<GetLifecyclePolicyResponse.Builder,GetLifecyclePolicyResponse>
Modifier and Type | Method and Description |
---|---|
default GetLifecyclePolicyResponse.Builder |
policy(Consumer<LifecyclePolicy.Builder> policy)
Detailed information about the lifecycle policy.
|
GetLifecyclePolicyResponse.Builder |
policy(LifecyclePolicy policy)
Detailed information about the lifecycle policy.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetLifecyclePolicyResponse.Builder policy(LifecyclePolicy policy)
Detailed information about the lifecycle policy.
policy
- Detailed information about the lifecycle policy.default GetLifecyclePolicyResponse.Builder policy(Consumer<LifecyclePolicy.Builder> policy)
Detailed information about the lifecycle policy.
This is a convenience that creates an instance of theLifecyclePolicy.Builder
avoiding the need to
create one manually via LifecyclePolicy.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to policy(LifecyclePolicy)
.policy
- a consumer that will call methods on LifecyclePolicy.Builder
policy(LifecyclePolicy)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.