Interface CreateBackupPlanRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<CreateBackupPlanRequest.Builder,,CreateBackupPlanRequest> SdkBuilder<CreateBackupPlanRequest.Builder,,CreateBackupPlanRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 CreateBackupPlanRequest
- 
Method Summary
Modifier and TypeMethodDescriptiondefault CreateBackupPlanRequest.BuilderbackupPlan(Consumer<BackupPlanInput.Builder> backupPlan) Specifies the body of a backup plan.backupPlan(BackupPlanInput backupPlan) Specifies the body of a backup plan.backupPlanTags(Map<String, String> backupPlanTags) To help organize your resources, you can assign your own metadata to the resources that you create.creatorRequestId(String creatorRequestId) 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.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
- 
backupPlan
Specifies the body of a backup plan. Includes a
BackupPlanNameand one or more sets ofRules.- Parameters:
 backupPlan- Specifies the body of a backup plan. Includes aBackupPlanNameand one or more sets ofRules.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
backupPlan
Specifies the body of a backup plan. Includes a
This is a convenience method that creates an instance of theBackupPlanNameand one or more sets ofRules.BackupPlanInput.Builderavoiding the need to create one manually viaBackupPlanInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupPlan(BackupPlanInput).- Parameters:
 backupPlan- a consumer that will call methods onBackupPlanInput.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
backupPlanTags
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
- Parameters:
 backupPlanTags- To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
creatorRequestId
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a
CreatorRequestIdthat matches an existing backup plan, that plan is returned. This parameter is optional.If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
 creatorRequestId- Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes aCreatorRequestIdthat matches an existing backup plan, that plan is returned. 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.
 
 - 
overrideConfiguration
CreateBackupPlanRequest.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
CreateBackupPlanRequest.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.
 
 
 -