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
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
-
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 parameterProtectedResourceConditionswill 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 parameterProtectedResourceConditionswill 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 parameterProtectedResourceConditionswill be unsuccessful.RestoreTestingSelectionForUpdate.Builderavoiding the need to create one manually viaRestoreTestingSelectionForUpdate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-