다음을 통해 공유


PolicyDefinitionVersionListResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.PolicyDefinitionVersionListResultInner

Implements

public final class PolicyDefinitionVersionListResultInner
implements JsonSerializable<PolicyDefinitionVersionListResultInner>

List of policy definition versions.

Constructor Summary

Constructor Description
PolicyDefinitionVersionListResultInner()

Creates an instance of PolicyDefinitionVersionListResultInner class.

Method Summary

Modifier and Type Method and Description
static PolicyDefinitionVersionListResultInner fromJson(JsonReader jsonReader)

Reads an instance of PolicyDefinitionVersionListResultInner from the JsonReader.

String nextLink()

Get the nextLink property: The URL to use for getting the next set of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<PolicyDefinitionVersionInner> value()

Get the value property: An array of policy definitions versions.

PolicyDefinitionVersionListResultInner withNextLink(String nextLink)

Set the nextLink property: The URL to use for getting the next set of results.

PolicyDefinitionVersionListResultInner withValue(List<PolicyDefinitionVersionInner> value)

Set the value property: An array of policy definitions versions.

Methods inherited from java.lang.Object

Constructor Details

PolicyDefinitionVersionListResultInner

public PolicyDefinitionVersionListResultInner()

Creates an instance of PolicyDefinitionVersionListResultInner class.

Method Details

fromJson

public static PolicyDefinitionVersionListResultInner fromJson(JsonReader jsonReader)

Reads an instance of PolicyDefinitionVersionListResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PolicyDefinitionVersionListResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PolicyDefinitionVersionListResultInner.

nextLink

public String nextLink()

Get the nextLink property: The URL to use for getting the next set of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<PolicyDefinitionVersionInner> value()

Get the value property: An array of policy definitions versions.

Returns:

the value value.

withNextLink

public PolicyDefinitionVersionListResultInner withNextLink(String nextLink)

Set the nextLink property: The URL to use for getting the next set of results.

Parameters:

nextLink - the nextLink value to set.

Returns:

the PolicyDefinitionVersionListResultInner object itself.

withValue

public PolicyDefinitionVersionListResultInner withValue(List<PolicyDefinitionVersionInner> value)

Set the value property: An array of policy definitions versions.

Parameters:

value - the value value to set.

Returns:

the PolicyDefinitionVersionListResultInner object itself.

Applies to