Interface CreateBackupPlanRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<CreateBackupPlanRequest.Builder,CreateBackupPlanRequest>,SdkBuilder<CreateBackupPlanRequest.Builder,CreateBackupPlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBackupPlanRequest
public static interface CreateBackupPlanRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<CreateBackupPlanRequest.Builder,CreateBackupPlanRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateBackupPlanRequest.BuilderbackupPlan(Consumer<BackupPlanInput.Builder> backupPlan)Specifies the body of a backup plan.CreateBackupPlanRequest.BuilderbackupPlan(BackupPlanInput backupPlan)Specifies the body of a backup plan.CreateBackupPlanRequest.BuilderbackupPlanTags(Map<String,String> backupPlanTags)To help organize your resources, you can assign your own metadata to the resources that you create.CreateBackupPlanRequest.BuildercreatorRequestId(String creatorRequestId)Identifies the request and allows failed requests to be retried without the risk of running the operation twice.CreateBackupPlanRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBackupPlanRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
-
backupPlan
CreateBackupPlanRequest.Builder backupPlan(BackupPlanInput 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
default CreateBackupPlanRequest.Builder backupPlan(Consumer<BackupPlanInput.Builder> 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:
backupPlan(BackupPlanInput)
-
backupPlanTags
CreateBackupPlanRequest.Builder backupPlanTags(Map<String,String> 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
CreateBackupPlanRequest.Builder creatorRequestId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBackupPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-