UserArtifactManage Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. UserArtifactManage
- com.
Implements
public final class UserArtifactManage
implements JsonSerializable<UserArtifactManage>
The UserArtifactManage model.
Constructor Summary
Constructor | Description |
---|---|
UserArtifactManage() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
String |
install()
Get the install property: Required. |
String |
remove()
Get the remove property: Required. |
Json |
toJson(JsonWriter jsonWriter) |
String |
update()
Get the update property: Optional. |
void |
validate()
Validates the instance. |
User |
withInstall(String install)
Set the install property: Required. |
User |
withRemove(String remove)
Set the remove property: Required. |
User |
withUpdate(String update)
Set the update property: Optional. |
Methods inherited from java.lang.Object
Constructor Details
UserArtifactManage
public UserArtifactManage()
Creates an instance of UserArtifactManage class.
Method Details
fromJson
public static UserArtifactManage fromJson(JsonReader jsonReader)
Reads an instance of UserArtifactManage from the JsonReader.
Parameters:
Returns:
Throws:
install
public String install()
Get the install property: Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
Returns:
remove
public String remove()
Get the remove property: Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
Returns:
toJson
update
public String update()
Get the update property: Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
Returns:
validate
public void validate()
Validates the instance.
withInstall
public UserArtifactManage withInstall(String install)
Set the install property: Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
Parameters:
Returns:
withRemove
public UserArtifactManage withRemove(String remove)
Set the remove property: Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
Parameters:
Returns:
withUpdate
public UserArtifactManage withUpdate(String update)
Set the update property: Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
Parameters:
Returns:
Applies to
Azure SDK for Java