MonthlySchedule Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. MonthlySchedule
- com.
public final class MonthlySchedule
Monthly Schedule properties.
Constructor Summary
Constructor | Description |
---|---|
MonthlySchedule() |
Creates an instance of Monthly |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
daysOfMonth()
Get the days |
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. |
Monthly |
withDaysOfMonth(String daysOfMonth)
Set the days |
Monthly |
withHour(Integer hour)
Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken. |
Monthly |
withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken. |
Monthly |
withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshots |
Monthly |
withUsedBytes(Long usedBytes)
Set the used |
Methods inherited from java.lang.Object
Constructor Details
MonthlySchedule
public MonthlySchedule()
Creates an instance of MonthlySchedule class.
Method Details
daysOfMonth
public String daysOfMonth()
Get the daysOfMonth property: Indicates which days of the month snapshot should be taken. A comma delimited string.
Returns:
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: Monthly 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.
withDaysOfMonth
public MonthlySchedule withDaysOfMonth(String daysOfMonth)
Set the daysOfMonth property: Indicates which days of the month snapshot should be taken. A comma delimited string.
Parameters:
Returns:
withHour
public MonthlySchedule withHour(Integer hour)
Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken.
Parameters:
Returns:
withMinute
public MonthlySchedule withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken.
Parameters:
Returns:
withSnapshotsToKeep
public MonthlySchedule withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshotsToKeep property: Monthly snapshot count to keep.
Parameters:
Returns:
withUsedBytes
public MonthlySchedule 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