ExpandedPropertiesScope Class

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

Implements

public final class ExpandedPropertiesScope
implements JsonSerializable<ExpandedPropertiesScope>

Details of the resource scope.

Constructor Summary

Constructor Description
ExpandedPropertiesScope()

Creates an instance of ExpandedPropertiesScope class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name of the resource.

static ExpandedPropertiesScope fromJson(JsonReader jsonReader)

Reads an instance of ExpandedPropertiesScope from the JsonReader.

String id()

Get the id property: Scope id of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ExpandedPropertiesScope withDisplayName(String displayName)

Set the displayName property: Display name of the resource.

ExpandedPropertiesScope withId(String id)

Set the id property: Scope id of the resource.

ExpandedPropertiesScope withType(String type)

Set the type property: Type of the resource.

Methods inherited from java.lang.Object

Constructor Details

ExpandedPropertiesScope

public ExpandedPropertiesScope()

Creates an instance of ExpandedPropertiesScope class.

Method Details

displayName

public String displayName()

Get the displayName property: Display name of the resource.

Returns:

the displayName value.

fromJson

public static ExpandedPropertiesScope fromJson(JsonReader jsonReader)

Reads an instance of ExpandedPropertiesScope from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Scope id of the resource.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public ExpandedPropertiesScope withDisplayName(String displayName)

Set the displayName property: Display name of the resource.

Parameters:

displayName - the displayName value to set.

Returns:

the ExpandedPropertiesScope object itself.

withId

public ExpandedPropertiesScope withId(String id)

Set the id property: Scope id of the resource.

Parameters:

id - the id value to set.

Returns:

the ExpandedPropertiesScope object itself.

withType

public ExpandedPropertiesScope withType(String type)

Set the type property: Type of the resource.

Parameters:

type - the type value to set.

Returns:

the ExpandedPropertiesScope object itself.

Applies to