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
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
-
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
ProtectedResourceArns
along 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
ProtectedResourceArns
along 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 theProtectedResourceArns
along withProtectedResourceConditions
. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns
.RestoreTestingSelectionForCreate.Builder
avoiding the need to create one manually viaRestoreTestingSelectionForCreate.builder()
.When the
Consumer
completes,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.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
CreateRestoreTestingSelectionRequest.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.
-