java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.UserProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<UserProperties>

public final class UserProperties extends Object implements com.azure.json.JsonSerializable<UserProperties>
User resource specific properties.
  • Constructor Details

    • UserProperties

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

    • publishingUsername

      public String publishingUsername()
      Get the publishingUsername property: Username used for publishing.
      Returns:
      the publishingUsername value.
    • withPublishingUsername

      public UserProperties withPublishingUsername(String publishingUsername)
      Set the publishingUsername property: Username used for publishing.
      Parameters:
      publishingUsername - the publishingUsername value to set.
      Returns:
      the UserProperties object itself.
    • publishingPassword

      public String publishingPassword()
      Get the publishingPassword property: Password used for publishing.
      Returns:
      the publishingPassword value.
    • withPublishingPassword

      public UserProperties withPublishingPassword(String publishingPassword)
      Set the publishingPassword property: Password used for publishing.
      Parameters:
      publishingPassword - the publishingPassword value to set.
      Returns:
      the UserProperties object itself.
    • publishingPasswordHash

      public String publishingPasswordHash()
      Get the publishingPasswordHash property: Password hash used for publishing.
      Returns:
      the publishingPasswordHash value.
    • withPublishingPasswordHash

      public UserProperties withPublishingPasswordHash(String publishingPasswordHash)
      Set the publishingPasswordHash property: Password hash used for publishing.
      Parameters:
      publishingPasswordHash - the publishingPasswordHash value to set.
      Returns:
      the UserProperties object itself.
    • publishingPasswordHashSalt

      public String publishingPasswordHashSalt()
      Get the publishingPasswordHashSalt property: Password hash salt used for publishing.
      Returns:
      the publishingPasswordHashSalt value.
    • withPublishingPasswordHashSalt

      public UserProperties withPublishingPasswordHashSalt(String publishingPasswordHashSalt)
      Set the publishingPasswordHashSalt property: Password hash salt used for publishing.
      Parameters:
      publishingPasswordHashSalt - the publishingPasswordHashSalt value to set.
      Returns:
      the UserProperties object itself.
    • scmUri

      public String scmUri()
      Get the scmUri property: Url of SCM site.
      Returns:
      the scmUri value.
    • withScmUri

      public UserProperties withScmUri(String scmUri)
      Set the scmUri property: Url of SCM site.
      Parameters:
      scmUri - the scmUri value to set.
      Returns:
      the UserProperties 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<UserProperties>
      Throws:
      IOException
    • fromJson

      public static UserProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of UserProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of UserProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the UserProperties.