Interface UpdateRestoreTestingSelectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BackupRequest.Builder
,Buildable
,CopyableBuilder<UpdateRestoreTestingSelectionRequest.Builder,
,UpdateRestoreTestingSelectionRequest> SdkBuilder<UpdateRestoreTestingSelectionRequest.Builder,
,UpdateRestoreTestingSelectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRestoreTestingSelectionRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.restoreTestingPlanName
(String restoreTestingPlanName) The restore testing plan name is required to update the indicated testing plan.restoreTestingSelection
(Consumer<RestoreTestingSelectionForUpdate.Builder> restoreTestingSelection) To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both.restoreTestingSelection
(RestoreTestingSelectionForUpdate restoreTestingSelection) To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both.restoreTestingSelectionName
(String restoreTestingSelectionName) The required restore testing selection name of the restore testing selection you wish to update.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
-
restoreTestingPlanName
The restore testing plan name is required to update the indicated testing plan.
- Parameters:
restoreTestingPlanName
- The restore testing plan name is required to update the indicated testing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingSelection
UpdateRestoreTestingSelectionRequest.Builder restoreTestingSelection(RestoreTestingSelectionForUpdate restoreTestingSelection) To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection has
ProtectedResourceArns
, requesting an update with the parameterProtectedResourceConditions
will be unsuccessful.- Parameters:
restoreTestingSelection
- To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection hasProtectedResourceArns
, requesting an update with the parameterProtectedResourceConditions
will be unsuccessful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingSelection
default UpdateRestoreTestingSelectionRequest.Builder restoreTestingSelection(Consumer<RestoreTestingSelectionForUpdate.Builder> restoreTestingSelection) To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection has
This is a convenience method that creates an instance of theProtectedResourceArns
, requesting an update with the parameterProtectedResourceConditions
will be unsuccessful.RestoreTestingSelectionForUpdate.Builder
avoiding the need to create one manually viaRestoreTestingSelectionForUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torestoreTestingSelection(RestoreTestingSelectionForUpdate)
.- Parameters:
restoreTestingSelection
- a consumer that will call methods onRestoreTestingSelectionForUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
restoreTestingSelectionName
UpdateRestoreTestingSelectionRequest.Builder restoreTestingSelectionName(String restoreTestingSelectionName) The required restore testing selection name of the restore testing selection you wish to update.
- Parameters:
restoreTestingSelectionName
- The required restore testing selection name of the restore testing selection you wish to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRestoreTestingSelectionRequest.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
UpdateRestoreTestingSelectionRequest.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.
-