Class BackupPlanReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.backup.BackupPlanReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BackupPlanReference>
- Enclosing interface:
BackupPlanReference
@Stability(Stable)
public static final class BackupPlanReference.Builder
extends Object
implements software.amazon.jsii.Builder<BackupPlanReference>
A builder for
BackupPlanReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupPlanArn(String backupPlanArn) Sets the value ofBackupPlanReference.getBackupPlanArn()backupPlanId(String backupPlanId) Sets the value ofBackupPlanReference.getBackupPlanId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backupPlanArn
Sets the value ofBackupPlanReference.getBackupPlanArn()- Parameters:
backupPlanArn- The ARN of the BackupPlan resource. This parameter is required.- Returns:
this
-
backupPlanId
Sets the value ofBackupPlanReference.getBackupPlanId()- Parameters:
backupPlanId- The BackupPlanId of the BackupPlan resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BackupPlanReference>- Returns:
- a new instance of
BackupPlanReference - Throws:
NullPointerException- if any required attribute was not provided
-