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 Details

    • StaticSiteUserArmResourceProperties

      public StaticSiteUserArmResourceProperties()
      Creates an instance of StaticSiteUserArmResourceProperties class.
  • Method Details

    • provider

      public String provider()
      Get the provider property: The identity provider for the static site user.
      Returns:
      the provider value.
    • userId

      public String userId()
      Get the userId property: The user id for the static site user.
      Returns:
      the userId value.
    • displayName

      public String displayName()
      Get the displayName property: The display name for the static site user.
      Returns:
      the displayName 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.
    • withRoles

      public StaticSiteUserArmResourceProperties 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 StaticSiteUserArmResourceProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.