DailySchedule Class

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

public final class DailySchedule

Daily Schedule properties.

Constructor Summary

Constructor Description
DailySchedule()

Creates an instance of DailySchedule class.

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 snapshotsToKeep property: Daily 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.

DailySchedule withHour(Integer hour)

Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken.

DailySchedule withMinute(Integer minute)

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

DailySchedule withSnapshotsToKeep(Integer snapshotsToKeep)

Set the snapshotsToKeep property: Daily snapshot count to keep.

DailySchedule 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

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:

the hour value.

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: Daily 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.

withHour

public DailySchedule withHour(Integer hour)

Set the hour property: Indicates which hour in UTC timezone a snapshot should be taken.

Parameters:

hour - the hour value to set.

Returns:

the DailySchedule object itself.

withMinute

public DailySchedule withMinute(Integer minute)

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

Parameters:

minute - the minute value to set.

Returns:

the DailySchedule object itself.

withSnapshotsToKeep

public DailySchedule withSnapshotsToKeep(Integer snapshotsToKeep)

Set the snapshotsToKeep property: Daily snapshot count to keep.

Parameters:

snapshotsToKeep - the snapshotsToKeep value to set.

Returns:

the DailySchedule object itself.

withUsedBytes

public DailySchedule 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 DailySchedule object itself.

Applies to