public static interface CreateResiliencyPolicyResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<CreateResiliencyPolicyResponse.Builder,CreateResiliencyPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateResiliencyPolicyResponse.Builder |
policy(Consumer<ResiliencyPolicy.Builder> policy)
The type of resiliency policy that was created, including the recovery time objective (RTO) and recovery
point objective (RPO) in seconds.
|
CreateResiliencyPolicyResponse.Builder |
policy(ResiliencyPolicy policy)
The type of resiliency policy that was created, including the recovery time objective (RTO) and recovery
point objective (RPO) in seconds.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateResiliencyPolicyResponse.Builder policy(ResiliencyPolicy policy)
The type of resiliency policy that was created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
policy - The type of resiliency policy that was created, including the recovery time objective (RTO) and
recovery point objective (RPO) in seconds.default CreateResiliencyPolicyResponse.Builder policy(Consumer<ResiliencyPolicy.Builder> policy)
The type of resiliency policy that was created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
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 © 2023. All rights reserved.