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