Interface DescribeResiliencyPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeResiliencyPolicyResponse.Builder,DescribeResiliencyPolicyResponse>,ResiliencehubResponse.Builder,SdkBuilder<DescribeResiliencyPolicyResponse.Builder,DescribeResiliencyPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeResiliencyPolicyResponse
public static interface DescribeResiliencyPolicyResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<DescribeResiliencyPolicyResponse.Builder,DescribeResiliencyPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeResiliencyPolicyResponse.Builderpolicy(Consumer<ResiliencyPolicy.Builder> policy)Information about the specific resiliency policy, returned as an object.DescribeResiliencyPolicyResponse.Builderpolicy(ResiliencyPolicy policy)Information about the specific resiliency policy, returned as an object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
policy
DescribeResiliencyPolicyResponse.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
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.Builderavoiding the need to create one manually viaResiliencyPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicy(ResiliencyPolicy).- Parameters:
policy- a consumer that will call methods onResiliencyPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policy(ResiliencyPolicy)
-
-