Interface UpdateRestoreTestingPlanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BackupRequest.Builder
,Buildable
,CopyableBuilder<UpdateRestoreTestingPlanRequest.Builder,
,UpdateRestoreTestingPlanRequest> SdkBuilder<UpdateRestoreTestingPlanRequest.Builder,
,UpdateRestoreTestingPlanRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRestoreTestingPlanRequest
public static interface UpdateRestoreTestingPlanRequest.Builder
extends BackupRequest.Builder, SdkPojo, CopyableBuilder<UpdateRestoreTestingPlanRequest.Builder,UpdateRestoreTestingPlanRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.restoreTestingPlan
(Consumer<RestoreTestingPlanForUpdate.Builder> restoreTestingPlan) Specifies the body of a restore testing plan.restoreTestingPlan
(RestoreTestingPlanForUpdate restoreTestingPlan) Specifies the body of a restore testing plan.restoreTestingPlanName
(String restoreTestingPlanName) The name of the restore testing plan name.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
build
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
-
Method Details
-
restoreTestingPlan
UpdateRestoreTestingPlanRequest.Builder restoreTestingPlan(RestoreTestingPlanForUpdate restoreTestingPlan) Specifies the body of a restore testing plan.
- Parameters:
restoreTestingPlan
- Specifies the body of a restore testing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlan
default UpdateRestoreTestingPlanRequest.Builder restoreTestingPlan(Consumer<RestoreTestingPlanForUpdate.Builder> restoreTestingPlan) Specifies the body of a restore testing plan.
This is a convenience method that creates an instance of theRestoreTestingPlanForUpdate.Builder
avoiding the need to create one manually viaRestoreTestingPlanForUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torestoreTestingPlan(RestoreTestingPlanForUpdate)
.- Parameters:
restoreTestingPlan
- a consumer that will call methods onRestoreTestingPlanForUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
restoreTestingPlanName
The name of the restore testing plan name.
- Parameters:
restoreTestingPlanName
- The name of the restore testing plan name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRestoreTestingPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRestoreTestingPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-