ExpandedPropertiesRoleDefinition Class

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

Implements

public final class ExpandedPropertiesRoleDefinition
implements JsonSerializable<ExpandedPropertiesRoleDefinition>

Details of role definition.

Constructor Summary

Constructor Description
ExpandedPropertiesRoleDefinition()

Creates an instance of ExpandedPropertiesRoleDefinition class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name of the role definition.

static ExpandedPropertiesRoleDefinition fromJson(JsonReader jsonReader)

Reads an instance of ExpandedPropertiesRoleDefinition from the JsonReader.

String id()

Get the id property: Id of the role definition.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the role definition.

void validate()

Validates the instance.

ExpandedPropertiesRoleDefinition withDisplayName(String displayName)

Set the displayName property: Display name of the role definition.

ExpandedPropertiesRoleDefinition withId(String id)

Set the id property: Id of the role definition.

ExpandedPropertiesRoleDefinition withType(String type)

Set the type property: Type of the role definition.

Methods inherited from java.lang.Object

Constructor Details

ExpandedPropertiesRoleDefinition

public ExpandedPropertiesRoleDefinition()

Creates an instance of ExpandedPropertiesRoleDefinition class.

Method Details

displayName

public String displayName()

Get the displayName property: Display name of the role definition.

Returns:

the displayName value.

fromJson

public static ExpandedPropertiesRoleDefinition fromJson(JsonReader jsonReader)

Reads an instance of ExpandedPropertiesRoleDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of the role definition.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the role definition.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public ExpandedPropertiesRoleDefinition withDisplayName(String displayName)

Set the displayName property: Display name of the role definition.

Parameters:

displayName - the displayName value to set.

Returns:

the ExpandedPropertiesRoleDefinition object itself.

withId

public ExpandedPropertiesRoleDefinition withId(String id)

Set the id property: Id of the role definition.

Parameters:

id - the id value to set.

Returns:

the ExpandedPropertiesRoleDefinition object itself.

withType

public ExpandedPropertiesRoleDefinition withType(String type)

Set the type property: Type of the role definition.

Parameters:

type - the type value to set.

Returns:

the ExpandedPropertiesRoleDefinition object itself.

Applies to