WeeklySchedule Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. WeeklySchedule
- com.
public final class WeeklySchedule
Weekly Schedule properties, make a snapshot every week at a specific day or days.
Constructor Summary
Constructor | Description |
---|---|
WeeklySchedule() |
Creates an instance of Weekly |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
day()
Get the day property: Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english. |
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. |
Weekly |
withDay(String day)
Set the day property: Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english. |
Weekly |
withHour(Integer hour)
Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken. |
Weekly |
withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken. |
Weekly |
withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshots |
Weekly |
withUsedBytes(Long usedBytes)
Set the used |
Methods inherited from java.lang.Object
Constructor Details
WeeklySchedule
public WeeklySchedule()
Creates an instance of WeeklySchedule class.
Method Details
day
public String day()
Get the day property: Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english.
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: Weekly 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.
withDay
public WeeklySchedule withDay(String day)
Set the day property: Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english.
Parameters:
Returns:
withHour
public WeeklySchedule withHour(Integer hour)
Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken.
Parameters:
Returns:
withMinute
public WeeklySchedule withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken.
Parameters:
Returns:
withSnapshotsToKeep
public WeeklySchedule withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshotsToKeep property: Weekly snapshot count to keep.
Parameters:
Returns:
withUsedBytes
public WeeklySchedule 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