Interface CreateRestoreTestingPlanRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<CreateRestoreTestingPlanRequest.Builder,CreateRestoreTestingPlanRequest>,SdkBuilder<CreateRestoreTestingPlanRequest.Builder,CreateRestoreTestingPlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRestoreTestingPlanRequest
public static interface CreateRestoreTestingPlanRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<CreateRestoreTestingPlanRequest.Builder,CreateRestoreTestingPlanRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRestoreTestingPlanRequest.BuildercreatorRequestId(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.CreateRestoreTestingPlanRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRestoreTestingPlanRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateRestoreTestingPlanRequest.BuilderrestoreTestingPlan(Consumer<RestoreTestingPlanForCreate.Builder> restoreTestingPlan)A restore testing plan must contain a uniqueRestoreTestingPlanNamestring you create and must contain aScheduleExpressioncron.CreateRestoreTestingPlanRequest.BuilderrestoreTestingPlan(RestoreTestingPlanForCreate restoreTestingPlan)A restore testing plan must contain a uniqueRestoreTestingPlanNamestring you create and must contain aScheduleExpressioncron.CreateRestoreTestingPlanRequest.Buildertags(Map<String,String> tags)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 Detail
-
creatorRequestId
CreateRestoreTestingPlanRequest.Builder creatorRequestId(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. 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:
restoreTestingPlan(RestoreTestingPlanForCreate)
-
tags
CreateRestoreTestingPlanRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRestoreTestingPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-