Interface GetRestoreTestingPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<GetRestoreTestingPlanResponse.Builder,,GetRestoreTestingPlanResponse> SdkBuilder<GetRestoreTestingPlanResponse.Builder,,GetRestoreTestingPlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRestoreTestingPlanResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaRestoreTestingPlanForGet.builder().When the
Consumercompletes,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:
-