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