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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
buildMethods 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, 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.Builderavoiding the need to create one manually viaRestoreTestingPlanForUpdate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-