HourlySchedule Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.models.HourlySchedule

public final class HourlySchedule

Hourly Schedule properties.

Constructor Summary

Constructor Description
HourlySchedule()

Creates an instance of HourlySchedule class.

Method Summary

Modifier and Type Method and Description
Integer minute()

Get the minute property: Indicates which minute snapshot should be taken.

Integer snapshotsToKeep()

Get the snapshotsToKeep property: Hourly snapshot count to keep.

Long usedBytes()

Get the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.

void validate()

Validates the instance.

HourlySchedule withMinute(Integer minute)

Set the minute property: Indicates which minute snapshot should be taken.

HourlySchedule withSnapshotsToKeep(Integer snapshotsToKeep)

Set the snapshotsToKeep property: Hourly snapshot count to keep.

HourlySchedule withUsedBytes(Long usedBytes)

Set the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.

Methods inherited from java.lang.Object

Constructor Details

HourlySchedule

public HourlySchedule()

Creates an instance of HourlySchedule class.

Method Details

minute

public Integer minute()

Get the minute property: Indicates which minute snapshot should be taken.

Returns:

the minute value.

snapshotsToKeep

public Integer snapshotsToKeep()

Get the snapshotsToKeep property: Hourly snapshot count to keep.

Returns:

the snapshotsToKeep value.

usedBytes

public Long usedBytes()

Get the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.

Returns:

the usedBytes value.

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:

minute - the minute value to set.

Returns:

the HourlySchedule object itself.

withSnapshotsToKeep

public HourlySchedule withSnapshotsToKeep(Integer snapshotsToKeep)

Set the snapshotsToKeep property: Hourly snapshot count to keep.

Parameters:

snapshotsToKeep - the snapshotsToKeep value to set.

Returns:

the HourlySchedule object itself.

withUsedBytes

public HourlySchedule withUsedBytes(Long usedBytes)

Set the usedBytes property: Resource size in bytes, current storage usage for the volume in bytes.

Parameters:

usedBytes - the usedBytes value to set.

Returns:

the HourlySchedule object itself.

Applies to