Interface GetRestoreTestingPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupResponse.Builder
,Buildable
,CopyableBuilder<GetRestoreTestingPlanResponse.Builder,
,GetRestoreTestingPlanResponse> SdkBuilder<GetRestoreTestingPlanResponse.Builder,
,GetRestoreTestingPlanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRestoreTestingPlanResponse
public static interface GetRestoreTestingPlanResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<GetRestoreTestingPlanResponse.Builder,GetRestoreTestingPlanResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrestoreTestingPlan
(Consumer<RestoreTestingPlanForGet.Builder> restoreTestingPlan) Specifies the body of a restore testing plan.restoreTestingPlan
(RestoreTestingPlanForGet restoreTestingPlan) Specifies the body of a restore testing plan.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
restoreTestingPlan
GetRestoreTestingPlanResponse.Builder restoreTestingPlan(RestoreTestingPlanForGet restoreTestingPlan) Specifies the body of a restore testing plan. Includes
RestoreTestingPlanName
.- Parameters:
restoreTestingPlan
- Specifies the body of a restore testing plan. IncludesRestoreTestingPlanName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlan
default GetRestoreTestingPlanResponse.Builder restoreTestingPlan(Consumer<RestoreTestingPlanForGet.Builder> restoreTestingPlan) Specifies the body of a restore testing plan. Includes
This is a convenience method that creates an instance of theRestoreTestingPlanName
.RestoreTestingPlanForGet.Builder
avoiding the need to create one manually viaRestoreTestingPlanForGet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torestoreTestingPlan(RestoreTestingPlanForGet)
.- Parameters:
restoreTestingPlan
- a consumer that will call methods onRestoreTestingPlanForGet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-