Interface UpdateResiliencyPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateResiliencyPolicyResponse.Builder,UpdateResiliencyPolicyResponse>,ResiliencehubResponse.Builder,SdkBuilder<UpdateResiliencyPolicyResponse.Builder,UpdateResiliencyPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateResiliencyPolicyResponse
public static interface UpdateResiliencyPolicyResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<UpdateResiliencyPolicyResponse.Builder,UpdateResiliencyPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateResiliencyPolicyResponse.Builderpolicy(Consumer<ResiliencyPolicy.Builder> policy)The type of resiliency policy that was updated, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.UpdateResiliencyPolicyResponse.Builderpolicy(ResiliencyPolicy policy)The type of resiliency policy that was updated, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.-
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
UpdateResiliencyPolicyResponse.Builder policy(ResiliencyPolicy policy)
The type of resiliency policy that was updated, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
- Parameters:
policy- The type of resiliency policy that was updated, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
default UpdateResiliencyPolicyResponse.Builder policy(Consumer<ResiliencyPolicy.Builder> policy)
The type of resiliency policy that was updated, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
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)
-
-