com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointResourceList 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.azure.resourcemanager.recoveryservicesbackup.fluent.models.RecoveryPointResourceInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* List of RecoveryPoint resources.
*/
@Fluent
public final class RecoveryPointResourceList extends ResourceList {
/*
* List of resources.
*/
@JsonProperty(value = "value")
private List value;
/**
* Creates an instance of RecoveryPointResourceList class.
*/
public RecoveryPointResourceList() {
}
/**
* Get the value property: List of resources.
*
* @return the value value.
*/
public List value() {
return this.value;
}
/**
* Set the value property: List of resources.
*
* @param value the value value to set.
* @return the RecoveryPointResourceList object itself.
*/
public RecoveryPointResourceList withValue(List value) {
this.value = value;
return this;
}
/**
* {@inheritDoc}
*/
@Override
public RecoveryPointResourceList withNextLink(String nextLink) {
super.withNextLink(nextLink);
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
@Override
public void validate() {
super.validate();
if (value() != null) {
value().forEach(e -> e.validate());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy