Interface CreateRestoreTestingPlanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BackupRequest.Builder
,Buildable
,CopyableBuilder<CreateRestoreTestingPlanRequest.Builder,
,CreateRestoreTestingPlanRequest> SdkBuilder<CreateRestoreTestingPlanRequest.Builder,
,CreateRestoreTestingPlanRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRestoreTestingPlanRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreatorRequestId
(String creatorRequestId) This is a unique string that identifies the request and allows failed requests to be retriedwithout 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.restoreTestingPlan
(Consumer<RestoreTestingPlanForCreate.Builder> restoreTestingPlan) A restore testing plan must contain a uniqueRestoreTestingPlanName
string you create and must contain aScheduleExpression
cron.restoreTestingPlan
(RestoreTestingPlanForCreate restoreTestingPlan) A restore testing plan must contain a uniqueRestoreTestingPlanName
string you create and must contain aScheduleExpression
cron.Optional tags to include.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 a unique string that identifies the request and allows failed requests to be retriedwithout the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
creatorRequestId
- This is a unique string that identifies the request and allows failed requests to be retriedwithout the risk of running the operation twice. This parameter is optional. 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.
-
restoreTestingPlan
CreateRestoreTestingPlanRequest.Builder restoreTestingPlan(RestoreTestingPlanForCreate restoreTestingPlan) A restore testing plan must contain a unique
RestoreTestingPlanName
string you create and must contain aScheduleExpression
cron. You may optionally include aStartWindowHours
integer and aCreatorRequestId
string.The
RestoreTestingPlanName
is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.- Parameters:
restoreTestingPlan
- A restore testing plan must contain a uniqueRestoreTestingPlanName
string you create and must contain aScheduleExpression
cron. You may optionally include aStartWindowHours
integer and aCreatorRequestId
string.The
RestoreTestingPlanName
is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlan
default CreateRestoreTestingPlanRequest.Builder restoreTestingPlan(Consumer<RestoreTestingPlanForCreate.Builder> restoreTestingPlan) A restore testing plan must contain a unique
RestoreTestingPlanName
string you create and must contain aScheduleExpression
cron. You may optionally include aStartWindowHours
integer and aCreatorRequestId
string.The
This is a convenience method that creates an instance of theRestoreTestingPlanName
is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.RestoreTestingPlanForCreate.Builder
avoiding the need to create one manually viaRestoreTestingPlanForCreate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torestoreTestingPlan(RestoreTestingPlanForCreate)
.- Parameters:
restoreTestingPlan
- a consumer that will call methods onRestoreTestingPlanForCreate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.
- Parameters:
tags
- Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRestoreTestingPlanRequest.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
CreateRestoreTestingPlanRequest.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.
-