Interface AwsBackupBackupPlanDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsBackupBackupPlanDetails.Builder,
,AwsBackupBackupPlanDetails> SdkBuilder<AwsBackupBackupPlanDetails.Builder,
,AwsBackupBackupPlanDetails> SdkPojo
- Enclosing class:
AwsBackupBackupPlanDetails
public static interface AwsBackupBackupPlanDetails.Builder
extends SdkPojo, CopyableBuilder<AwsBackupBackupPlanDetails.Builder,AwsBackupBackupPlanDetails>
-
Method Summary
Modifier and TypeMethodDescriptionUniquely identifies the backup plan to be associated with the selection of resources.backupPlan
(AwsBackupBackupPlanBackupPlanDetails backupPlan) Uniquely identifies the backup plan to be associated with the selection of resources.backupPlanArn
(String backupPlanArn) An Amazon Resource Name (ARN) that uniquely identifies the backup plan.backupPlanId
(String backupPlanId) A unique ID for the backup plan.Unique, randomly generated, Unicode, UTF-8 encoded strings.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
-
backupPlan
Uniquely identifies the backup plan to be associated with the selection of resources.
- Parameters:
backupPlan
- Uniquely identifies the backup plan to be associated with the selection of resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlan
default AwsBackupBackupPlanDetails.Builder backupPlan(Consumer<AwsBackupBackupPlanBackupPlanDetails.Builder> backupPlan) Uniquely identifies the backup plan to be associated with the selection of resources.
This is a convenience method that creates an instance of theAwsBackupBackupPlanBackupPlanDetails.Builder
avoiding the need to create one manually viaAwsBackupBackupPlanBackupPlanDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackupPlan(AwsBackupBackupPlanBackupPlanDetails)
.- Parameters:
backupPlan
- a consumer that will call methods onAwsBackupBackupPlanBackupPlanDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backupPlanArn
An Amazon Resource Name (ARN) that uniquely identifies the backup plan.
- Parameters:
backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies the backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanId
A unique ID for the backup plan.
- Parameters:
backupPlanId
- A unique ID for the backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot be edited.
- Parameters:
versionId
- Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot be edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-