Interface DescribeResiliencyPolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeResiliencyPolicyResponse.Builder,DescribeResiliencyPolicyResponse>, ResiliencehubResponse.Builder, SdkBuilder<DescribeResiliencyPolicyResponse.Builder,DescribeResiliencyPolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeResiliencyPolicyResponse

  • Method Details

    • 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

      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 the ResiliencyPolicy.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).

      Parameters:
      policy - a consumer that will call methods on ResiliencyPolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: