public static interface DescribeResiliencyPolicyResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<DescribeResiliencyPolicyResponse.Builder,DescribeResiliencyPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribeResiliencyPolicyResponse.Builder |
policy(Consumer<ResiliencyPolicy.Builder> policy)
Information about the specific resiliency policy, returned as an object.
|
DescribeResiliencyPolicyResponse.Builder |
policy(ResiliencyPolicy policy)
Information about the specific resiliency policy, returned as an object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeResiliencyPolicyResponse.Builder policy(ResiliencyPolicy policy)
Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.
policy - Information about the specific resiliency policy, returned as an object. This object includes creation
time, data location constraints, its name, description, tags, the recovery time objective (RTO) and
recovery point objective (RPO) in seconds, and more.default DescribeResiliencyPolicyResponse.Builder policy(Consumer<ResiliencyPolicy.Builder> policy)
Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.
This is a convenience method that creates an instance of theResiliencyPolicy.Builder avoiding the
need to create one manually via ResiliencyPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policy(ResiliencyPolicy).
policy - a consumer that will call methods on ResiliencyPolicy.Builderpolicy(ResiliencyPolicy)Copyright © 2022. All rights reserved.