com.azure.resourcemanager.network.models.AutoApprovedPrivateLinkServicesResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.network.fluent.models.AutoApprovedPrivateLinkServiceInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* An array of private link service id that can be linked to a private end point with auto approved.
*/
@Fluent
public final class AutoApprovedPrivateLinkServicesResult {
/*
* An array of auto approved private link service.
*/
@JsonProperty(value = "value")
private List value;
/*
* The URL to get the next set of results.
*/
@JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
private String nextLink;
/**
* Creates an instance of AutoApprovedPrivateLinkServicesResult class.
*/
public AutoApprovedPrivateLinkServicesResult() {
}
/**
* Get the value property: An array of auto approved private link service.
*
* @return the value value.
*/
public List value() {
return this.value;
}
/**
* Set the value property: An array of auto approved private link service.
*
* @param value the value value to set.
* @return the AutoApprovedPrivateLinkServicesResult object itself.
*/
public AutoApprovedPrivateLinkServicesResult withValue(List value) {
this.value = value;
return this;
}
/**
* Get the nextLink property: The URL to get the next set of results.
*
* @return the nextLink value.
*/
public String nextLink() {
return this.nextLink;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (value() != null) {
value().forEach(e -> e.validate());
}
}
}