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