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 uniqueRestoreTestingPlanNamestring you create and must contain aScheduleExpressioncron.restoreTestingPlan(RestoreTestingPlanForCreate restoreTestingPlan) A restore testing plan must contain a uniqueRestoreTestingPlanNamestring you create and must contain aScheduleExpressioncron.The tags to assign to the restore testing plan.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 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
RestoreTestingPlanNamestring you create and must contain aScheduleExpressioncron. You may optionally include aStartWindowHoursinteger and aCreatorRequestIdstring.The
RestoreTestingPlanNameis 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 uniqueRestoreTestingPlanNamestring you create and must contain aScheduleExpressioncron. You may optionally include aStartWindowHoursinteger and aCreatorRequestIdstring.The
RestoreTestingPlanNameis 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
RestoreTestingPlanNamestring you create and must contain aScheduleExpressioncron. You may optionally include aStartWindowHoursinteger and aCreatorRequestIdstring.The
This is a convenience method that creates an instance of theRestoreTestingPlanNameis 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.Builderavoiding the need to create one manually viaRestoreTestingPlanForCreate.builder().When the
Consumercompletes,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
The tags to assign to the restore testing plan.
- Parameters:
tags- The tags to assign to the restore testing plan.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-