com.azure.resourcemanager.recoveryservicesbackup.models.Day Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Day of the week.
*/
@Fluent
public final class Day {
/*
* Date of the month
*/
@JsonProperty(value = "date")
private Integer date;
/*
* Whether Date is last date of month
*/
@JsonProperty(value = "isLast")
private Boolean isLast;
/**
* Creates an instance of Day class.
*/
public Day() {
}
/**
* Get the date property: Date of the month.
*
* @return the date value.
*/
public Integer date() {
return this.date;
}
/**
* Set the date property: Date of the month.
*
* @param date the date value to set.
* @return the Day object itself.
*/
public Day withDate(Integer date) {
this.date = date;
return this;
}
/**
* Get the isLast property: Whether Date is last date of month.
*
* @return the isLast value.
*/
public Boolean isLast() {
return this.isLast;
}
/**
* Set the isLast property: Whether Date is last date of month.
*
* @param isLast the isLast value to set.
* @return the Day object itself.
*/
public Day withIsLast(Boolean isLast) {
this.isLast = isLast;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy