MonthlySchedule Class

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

public final class MonthlySchedule

Monthly Schedule properties.

Constructor Summary

Constructor Description
MonthlySchedule()

Creates an instance of MonthlySchedule class.

Method Summary

Modifier and Type Method and Description
String daysOfMonth()

Get the daysOfMonth property: Indicates which days of the month snapshot should be taken.

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

MonthlySchedule withDaysOfMonth(String daysOfMonth)

Set the daysOfMonth property: Indicates which days of the month snapshot should be taken.

MonthlySchedule withHour(Integer hour)

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

MonthlySchedule withMinute(Integer minute)

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

MonthlySchedule withSnapshotsToKeep(Integer snapshotsToKeep)

Set the snapshotsToKeep property: Monthly snapshot count to keep.

MonthlySchedule 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

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:

the daysOfMonth value.

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

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:

daysOfMonth - the daysOfMonth value to set.

Returns:

the MonthlySchedule object itself.

withHour

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

withMinute

public MonthlySchedule withMinute(Integer minute)

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

Parameters:

minute - the minute value to set.

Returns:

the MonthlySchedule object itself.

withSnapshotsToKeep

public MonthlySchedule withSnapshotsToKeep(Integer snapshotsToKeep)

Set the snapshotsToKeep property: Monthly snapshot count to keep.

Parameters:

snapshotsToKeep - the snapshotsToKeep value to set.

Returns:

the MonthlySchedule object itself.

withUsedBytes

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

Applies to