Class StaticSiteUserArmResourceProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.StaticSiteUserArmResourceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StaticSiteUserArmResourceProperties>
public final class StaticSiteUserArmResourceProperties
extends Object
implements com.azure.json.JsonSerializable<StaticSiteUserArmResourceProperties>
StaticSiteUserARMResource resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StaticSiteUserArmResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: The display name for the static site user.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of StaticSiteUserArmResourceProperties from the JsonReader.provider()
Get the provider property: The identity provider for the static site user.roles()
Get the roles property: The roles for the static site user, in free-form string format.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) userId()
Get the userId property: The user id for the static site user.void
validate()
Validates the instance.Set the roles property: The roles for the static site user, in free-form string format.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StaticSiteUserArmResourceProperties
public StaticSiteUserArmResourceProperties()Creates an instance of StaticSiteUserArmResourceProperties class.
-
-
Method Details
-
provider
Get the provider property: The identity provider for the static site user.- Returns:
- the provider value.
-
userId
Get the userId property: The user id for the static site user.- Returns:
- the userId value.
-
displayName
Get the displayName property: The display name for the static site user.- Returns:
- the displayName value.
-
roles
Get the roles property: The roles for the static site user, in free-form string format.- Returns:
- the roles value.
-
withRoles
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 StaticSiteUserArmResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<StaticSiteUserArmResourceProperties>
- Throws:
IOException
-
fromJson
public static StaticSiteUserArmResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StaticSiteUserArmResourceProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of StaticSiteUserArmResourceProperties 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 StaticSiteUserArmResourceProperties.
-