RoleDefinitionListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.RoleDefinitionListResult

Implements

public final class RoleDefinitionListResult
implements JsonSerializable<RoleDefinitionListResult>

Role definition list operation result.

Constructor Summary

Constructor Description
RoleDefinitionListResult()

Creates an instance of RoleDefinitionListResult class.

Method Summary

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

Reads an instance of RoleDefinitionListResult 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<RoleDefinitionInner> value()

Get the value property: Role definition list.

RoleDefinitionListResult withNextLink(String nextLink)

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

RoleDefinitionListResult withValue(List<RoleDefinitionInner> value)

Set the value property: Role definition list.

Methods inherited from java.lang.Object

Constructor Details

RoleDefinitionListResult

public RoleDefinitionListResult()

Creates an instance of RoleDefinitionListResult class.

Method Details

fromJson

public static RoleDefinitionListResult fromJson(JsonReader jsonReader)

Reads an instance of RoleDefinitionListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoleDefinitionListResult 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 RoleDefinitionListResult.

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<RoleDefinitionInner> value()

Get the value property: Role definition list.

Returns:

the value value.

withNextLink

public RoleDefinitionListResult 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 RoleDefinitionListResult object itself.

withValue

public RoleDefinitionListResult withValue(List<RoleDefinitionInner> value)

Set the value property: Role definition list.

Parameters:

value - the value value to set.

Returns:

the RoleDefinitionListResult object itself.

Applies to