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