Class AzureMonitorPrivateLinkScopeListResult
java.lang.Object
com.azure.resourcemanager.monitor.models.AzureMonitorPrivateLinkScopeListResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AzureMonitorPrivateLinkScopeListResult>
public final class AzureMonitorPrivateLinkScopeListResult
extends Object
implements com.azure.json.JsonSerializable<AzureMonitorPrivateLinkScopeListResult>
Describes the list of Azure Monitor PrivateLinkScope resources.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureMonitorPrivateLinkScopeListResult class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureMonitorPrivateLinkScopeListResult from the JsonReader.nextLink()Get the nextLink property: The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: List of Azure Monitor PrivateLinkScope definitions.withNextLink(String nextLink) Set the nextLink property: The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set.Set the value property: List of Azure Monitor PrivateLinkScope definitions.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureMonitorPrivateLinkScopeListResult
public AzureMonitorPrivateLinkScopeListResult()Creates an instance of AzureMonitorPrivateLinkScopeListResult class.
-
-
Method Details
-
value
Get the value property: List of Azure Monitor PrivateLinkScope definitions.- Returns:
- the value value.
-
withValue
public AzureMonitorPrivateLinkScopeListResult withValue(List<AzureMonitorPrivateLinkScopeInner> value) Set the value property: List of Azure Monitor PrivateLinkScope definitions.- Parameters:
value- the value value to set.- Returns:
- the AzureMonitorPrivateLinkScopeListResult object itself.
-
nextLink
Get the nextLink property: The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set.- Returns:
- the nextLink value.
-
withNextLink
Set the nextLink property: The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the AzureMonitorPrivateLinkScopeListResult object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AzureMonitorPrivateLinkScopeListResult>- Throws:
IOException
-
fromJson
public static AzureMonitorPrivateLinkScopeListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AzureMonitorPrivateLinkScopeListResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AzureMonitorPrivateLinkScopeListResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AzureMonitorPrivateLinkScopeListResult.
-