Interface CreateRestoreTestingSelectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<CreateRestoreTestingSelectionRequest.Builder,,CreateRestoreTestingSelectionRequest> SdkBuilder<CreateRestoreTestingSelectionRequest.Builder,,CreateRestoreTestingSelectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRestoreTestingSelectionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreatorRequestId(String creatorRequestId) This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.restoreTestingPlanName(String restoreTestingPlanName) Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.restoreTestingSelection(Consumer<RestoreTestingSelectionForCreate.Builder> restoreTestingSelection) This consists ofRestoreTestingSelectionName,ProtectedResourceType, and one of the following:restoreTestingSelection(RestoreTestingSelectionForCreate restoreTestingSelection) This consists ofRestoreTestingSelectionName,ProtectedResourceType, and one of the following: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
-
creatorRequestId
This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
creatorRequestId- This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlanName
Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.
- Parameters:
restoreTestingPlanName- Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingSelection
CreateRestoreTestingSelectionRequest.Builder restoreTestingSelection(RestoreTestingSelectionForCreate restoreTestingSelection) This consists of
RestoreTestingSelectionName,ProtectedResourceType, and one of the following:-
ProtectedResourceArns -
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for
ProtectedResourceArnsalong withProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns.- Parameters:
restoreTestingSelection- This consists ofRestoreTestingSelectionName,ProtectedResourceType, and one of the following:-
ProtectedResourceArns -
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for
ProtectedResourceArnsalong withProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
restoreTestingSelection
default CreateRestoreTestingSelectionRequest.Builder restoreTestingSelection(Consumer<RestoreTestingSelectionForCreate.Builder> restoreTestingSelection) This consists of
RestoreTestingSelectionName,ProtectedResourceType, and one of the following:-
ProtectedResourceArns -
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for
This is a convenience method that creates an instance of theProtectedResourceArnsalong withProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns.RestoreTestingSelectionForCreate.Builderavoiding the need to create one manually viaRestoreTestingSelectionForCreate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torestoreTestingSelection(RestoreTestingSelectionForCreate).- Parameters:
restoreTestingSelection- a consumer that will call methods onRestoreTestingSelectionForCreate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
CreateRestoreTestingSelectionRequest.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
CreateRestoreTestingSelectionRequest.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.
-