Class UserProperties
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UserProperties from the JsonReader.Get the publishingPassword property: Password used for publishing.Get the publishingPasswordHash property: Password hash used for publishing.Get the publishingPasswordHashSalt property: Password hash salt used for publishing.Get the publishingUsername property: Username used for publishing.scmUri()Get the scmUri property: Url of SCM site.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPublishingPassword(String publishingPassword) Set the publishingPassword property: Password used for publishing.withPublishingPasswordHash(String publishingPasswordHash) Set the publishingPasswordHash property: Password hash used for publishing.withPublishingPasswordHashSalt(String publishingPasswordHashSalt) Set the publishingPasswordHashSalt property: Password hash salt used for publishing.withPublishingUsername(String publishingUsername) Set the publishingUsername property: Username used for publishing.withScmUri(String scmUri) Set the scmUri property: Url of SCM site.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
UserProperties
public UserProperties()Creates an instance of UserProperties class.
-
-
Method Details
-
publishingUsername
Get the publishingUsername property: Username used for publishing.- Returns:
- the publishingUsername value.
-
withPublishingUsername
Set the publishingUsername property: Username used for publishing.- Parameters:
publishingUsername- the publishingUsername value to set.- Returns:
- the UserProperties object itself.
-
publishingPassword
Get the publishingPassword property: Password used for publishing.- Returns:
- the publishingPassword value.
-
withPublishingPassword
Set the publishingPassword property: Password used for publishing.- Parameters:
publishingPassword- the publishingPassword value to set.- Returns:
- the UserProperties object itself.
-
publishingPasswordHash
Get the publishingPasswordHash property: Password hash used for publishing.- Returns:
- the publishingPasswordHash value.
-
withPublishingPasswordHash
Set the publishingPasswordHash property: Password hash used for publishing.- Parameters:
publishingPasswordHash- the publishingPasswordHash value to set.- Returns:
- the UserProperties object itself.
-
publishingPasswordHashSalt
Get the publishingPasswordHashSalt property: Password hash salt used for publishing.- Returns:
- the publishingPasswordHashSalt value.
-
withPublishingPasswordHashSalt
Set the publishingPasswordHashSalt property: Password hash salt used for publishing.- Parameters:
publishingPasswordHashSalt- the publishingPasswordHashSalt value to set.- Returns:
- the UserProperties object itself.
-
scmUri
Get the scmUri property: Url of SCM site.- Returns:
- the scmUri value.
-
withScmUri
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<UserProperties>- Throws:
IOException
-
fromJson
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.
-