Interface CreateRestoreTestingSelectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>,SdkBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRestoreTestingSelectionRequest
public static interface CreateRestoreTestingSelectionRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRestoreTestingSelectionRequest.BuildercreatorRequestId(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.CreateRestoreTestingSelectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRestoreTestingSelectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRestoreTestingSelectionRequest.BuilderrestoreTestingPlanName(String restoreTestingPlanName)Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.default CreateRestoreTestingSelectionRequest.BuilderrestoreTestingSelection(Consumer<RestoreTestingSelectionForCreate.Builder> restoreTestingSelection)This consists ofRestoreTestingSelectionName,ProtectedResourceType, and one of the following:CreateRestoreTestingSelectionRequest.BuilderrestoreTestingSelection(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 Detail
-
creatorRequestId
CreateRestoreTestingSelectionRequest.Builder creatorRequestId(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. 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
CreateRestoreTestingSelectionRequest.Builder restoreTestingPlanName(String 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:
restoreTestingSelection(RestoreTestingSelectionForCreate)
-
-
overrideConfiguration
CreateRestoreTestingSelectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRestoreTestingSelectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-