DailySchedule Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. DailySchedule
- com.
public final class DailySchedule
Daily Schedule properties.
Constructor Summary
Constructor | Description |
---|---|
DailySchedule() |
Creates an instance of Daily |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
hour()
Get the hour property: Indicates which hour in UTC timezone a snapshot should be taken. |
Integer |
minute()
Get the minute property: Indicates which minute snapshot should be taken. |
Integer |
snapshotsToKeep()
Get the snapshots |
Long |
usedBytes()
Get the used |
void |
validate()
Validates the instance. |
Daily |
withHour(Integer hour)
Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken. |
Daily |
withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken. |
Daily |
withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshots |
Daily |
withUsedBytes(Long usedBytes)
Set the used |
Methods inherited from java.lang.Object
Constructor Details
DailySchedule
public DailySchedule()
Creates an instance of DailySchedule class.
Method Details
hour
public Integer hour()
Get the hour property: Indicates which hour in UTC timezone a snapshot should be taken.
Returns:
minute
public Integer minute()
Get the minute property: Indicates which minute snapshot should be taken.
Returns:
snapshotsToKeep
public Integer snapshotsToKeep()
Get the snapshotsToKeep property: Daily snapshot count to keep.
Returns:
usedBytes
public Long usedBytes()
Get the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.
Returns:
validate
public void validate()
Validates the instance.
withHour
public DailySchedule withHour(Integer hour)
Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken.
Parameters:
Returns:
withMinute
public DailySchedule withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken.
Parameters:
Returns:
withSnapshotsToKeep
public DailySchedule withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshotsToKeep property: Daily snapshot count to keep.
Parameters:
Returns:
withUsedBytes
public DailySchedule withUsedBytes(Long usedBytes)
Set the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for