Partager via


ExpandedProperties Class

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

Implements

public final class ExpandedProperties
implements JsonSerializable<ExpandedProperties>

The ExpandedProperties model.

Constructor Summary

Constructor Description
ExpandedProperties()

Creates an instance of ExpandedProperties class.

Method Summary

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

Reads an instance of ExpandedProperties from the JsonReader.

ExpandedPropertiesPrincipal principal()

Get the principal property: Details of the principal.

ExpandedPropertiesRoleDefinition roleDefinition()

Get the roleDefinition property: Details of role definition.

ExpandedPropertiesScope scope()

Get the scope property: Details of the resource scope.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpandedProperties withPrincipal(ExpandedPropertiesPrincipal principal)

Set the principal property: Details of the principal.

ExpandedProperties withRoleDefinition(ExpandedPropertiesRoleDefinition roleDefinition)

Set the roleDefinition property: Details of role definition.

ExpandedProperties withScope(ExpandedPropertiesScope scope)

Set the scope property: Details of the resource scope.

Methods inherited from java.lang.Object

Constructor Details

ExpandedProperties

public ExpandedProperties()

Creates an instance of ExpandedProperties class.

Method Details

fromJson

public static ExpandedProperties fromJson(JsonReader jsonReader)

Reads an instance of ExpandedProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

principal

public ExpandedPropertiesPrincipal principal()

Get the principal property: Details of the principal.

Returns:

the principal value.

roleDefinition

public ExpandedPropertiesRoleDefinition roleDefinition()

Get the roleDefinition property: Details of role definition.

Returns:

the roleDefinition value.

scope

public ExpandedPropertiesScope scope()

Get the scope property: Details of the resource scope.

Returns:

the scope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrincipal

public ExpandedProperties withPrincipal(ExpandedPropertiesPrincipal principal)

Set the principal property: Details of the principal.

Parameters:

principal - the principal value to set.

Returns:

the ExpandedProperties object itself.

withRoleDefinition

public ExpandedProperties withRoleDefinition(ExpandedPropertiesRoleDefinition roleDefinition)

Set the roleDefinition property: Details of role definition.

Parameters:

roleDefinition - the roleDefinition value to set.

Returns:

the ExpandedProperties object itself.

withScope

public ExpandedProperties withScope(ExpandedPropertiesScope scope)

Set the scope property: Details of the resource scope.

Parameters:

scope - the scope value to set.

Returns:

the ExpandedProperties object itself.

Applies to