HourlySchedule Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. HourlySchedule
- com.
Implements
public final class HourlySchedule
implements JsonSerializable<HourlySchedule>
Hourly Schedule properties.
Constructor Summary
Constructor | Description |
---|---|
HourlySchedule() |
Creates an instance of Hourly |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Hourly |
fromJson(JsonReader jsonReader)
Reads an instance of Hourly |
Integer |
minute()
Get the minute property: Indicates which minute snapshot should be taken. |
Integer |
snapshotsToKeep()
Get the snapshots |
Json |
toJson(JsonWriter jsonWriter) |
Long |
usedBytes()
Get the used |
void |
validate()
Validates the instance. |
Hourly |
withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken. |
Hourly |
withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshots |
Hourly |
withUsedBytes(Long usedBytes)
Set the used |
Methods inherited from java.lang.Object
Constructor Details
HourlySchedule
public HourlySchedule()
Creates an instance of HourlySchedule class.
Method Details
fromJson
public static HourlySchedule fromJson(JsonReader jsonReader)
Reads an instance of HourlySchedule from the JsonReader.
Parameters:
Returns:
Throws:
minute
public Integer minute()
Get the minute property: Indicates which minute snapshot should be taken.
Returns:
snapshotsToKeep
public Integer snapshotsToKeep()
Get the snapshotsToKeep property: Hourly snapshot count to keep.
Returns:
toJson
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.
withMinute
public HourlySchedule withMinute(Integer minute)
Set the minute property: Indicates which minute snapshot should be taken.
Parameters:
Returns:
withSnapshotsToKeep
public HourlySchedule withSnapshotsToKeep(Integer snapshotsToKeep)
Set the snapshotsToKeep property: Hourly snapshot count to keep.
Parameters:
Returns:
withUsedBytes
public HourlySchedule 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