Class NetappVolumeSnapshotPolicyHourlySchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.netapp_volume.NetappVolumeSnapshotPolicyHourlySchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetappVolumeSnapshotPolicyHourlySchedule>
- Enclosing interface:
- NetappVolumeSnapshotPolicyHourlySchedule
@Stability(Stable) public static final class NetappVolumeSnapshotPolicyHourlySchedule.Builder extends Object implements software.amazon.jsii.Builder<NetappVolumeSnapshotPolicyHourlySchedule>
A builder forNetappVolumeSnapshotPolicyHourlySchedule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetappVolumeSnapshotPolicyHourlySchedulebuild()Builds the configured instance.NetappVolumeSnapshotPolicyHourlySchedule.Builderminute(Number minute)Sets the value ofNetappVolumeSnapshotPolicyHourlySchedule.getMinute()NetappVolumeSnapshotPolicyHourlySchedule.BuildersnapshotsToKeep(Number snapshotsToKeep)Sets the value ofNetappVolumeSnapshotPolicyHourlySchedule.getSnapshotsToKeep()
-
-
-
Method Detail
-
snapshotsToKeep
@Stability(Stable) public NetappVolumeSnapshotPolicyHourlySchedule.Builder snapshotsToKeep(Number snapshotsToKeep)
Sets the value ofNetappVolumeSnapshotPolicyHourlySchedule.getSnapshotsToKeep()- Parameters:
snapshotsToKeep- The maximum number of snapshots to keep for the hourly schedule. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#snapshots_to_keep NetappVolume#snapshots_to_keep}- Returns:
this
-
minute
@Stability(Stable) public NetappVolumeSnapshotPolicyHourlySchedule.Builder minute(Number minute)
Sets the value ofNetappVolumeSnapshotPolicyHourlySchedule.getMinute()- Parameters:
minute- Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#minute NetappVolume#minute}- Returns:
this
-
build
@Stability(Stable) public NetappVolumeSnapshotPolicyHourlySchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetappVolumeSnapshotPolicyHourlySchedule>- Returns:
- a new instance of
NetappVolumeSnapshotPolicyHourlySchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-