共用方式為


StaticSiteUserArmResourceInner Class

public final class StaticSiteUserArmResourceInner
extends ProxyOnlyResource

Static Site User ARM resource.

Constructor Summary

Constructor Description
StaticSiteUserArmResourceInner()

Creates an instance of StaticSiteUserArmResourceInner class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The display name for the static site user.

static StaticSiteUserArmResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserArmResourceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String provider()

Get the provider property: The identity provider for the static site user.

String roles()

Get the roles property: The roles for the static site user, in free-form string format.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String userId()

Get the userId property: The user id for the static site user.

void validate()

Validates the instance.

StaticSiteUserArmResourceInner withKind(String kind)

Set the kind property: Kind of resource.

StaticSiteUserArmResourceInner withRoles(String roles)

Set the roles property: The roles for the static site user, in free-form string format.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

StaticSiteUserArmResourceInner

public StaticSiteUserArmResourceInner()

Creates an instance of StaticSiteUserArmResourceInner class.

Method Details

displayName

public String displayName()

Get the displayName property: The display name for the static site user.

Returns:

the displayName value.

fromJson

public static StaticSiteUserArmResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserArmResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StaticSiteUserArmResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StaticSiteUserArmResourceInner.name()

Returns:

the name value.

provider

public String provider()

Get the provider property: The identity provider for the static site user.

Returns:

the provider value.

roles

public String roles()

Get the roles property: The roles for the static site user, in free-form string format.

Returns:

the roles value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticSiteUserArmResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StaticSiteUserArmResourceInner.type()

Returns:

the type value.

userId

public String userId()

Get the userId property: The user id for the static site user.

Returns:

the userId value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSiteUserArmResourceInner.validate()

withKind

public StaticSiteUserArmResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

StaticSiteUserArmResourceInner.withKind(String kind)

Parameters:

kind

withRoles

public StaticSiteUserArmResourceInner withRoles(String roles)

Set the roles property: The roles for the static site user, in free-form string format.

Parameters:

roles - the roles value to set.

Returns:

the StaticSiteUserArmResourceInner object itself.

Applies to