Class DBSnapshotReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.rds.DBSnapshotReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DBSnapshotReference>
- Enclosing interface:
DBSnapshotReference
@Stability(Stable)
public static final class DBSnapshotReference.Builder
extends Object
implements software.amazon.jsii.Builder<DBSnapshotReference>
A builder for
DBSnapshotReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dbSnapshotArn(String dbSnapshotArn) Sets the value ofDBSnapshotReference.getDbSnapshotArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbSnapshotArn
Sets the value ofDBSnapshotReference.getDbSnapshotArn()- Parameters:
dbSnapshotArn- The DBSnapshotArn of the DBSnapshot resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DBSnapshotReference>- Returns:
- a new instance of
DBSnapshotReference - Throws:
NullPointerException- if any required attribute was not provided
-