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