Class ArtifactInstallProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ArtifactInstallProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ArtifactInstallProperties>
public final class ArtifactInstallProperties
extends Object
implements com.azure.json.JsonSerializable<ArtifactInstallProperties>
Properties of an artifact.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ArtifactInstallProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the artifactId property: The artifact's identifier.Get the artifactTitle property: The artifact's title.Get the deploymentStatusMessage property: The status message from the deployment.static ArtifactInstallProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ArtifactInstallProperties from the JsonReader.Get the installTime property: The time that the artifact starts to install on the virtual machine.Get the parameters property: The parameters of the artifact.status()
Get the status property: The status of the artifact.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Get the vmExtensionStatusMessage property: The status message from the virtual machine extension.withArtifactId
(String artifactId) Set the artifactId property: The artifact's identifier.withArtifactTitle
(String artifactTitle) Set the artifactTitle property: The artifact's title.withDeploymentStatusMessage
(String deploymentStatusMessage) Set the deploymentStatusMessage property: The status message from the deployment.withInstallTime
(OffsetDateTime installTime) Set the installTime property: The time that the artifact starts to install on the virtual machine.withParameters
(List<ArtifactParameterProperties> parameters) Set the parameters property: The parameters of the artifact.withStatus
(String status) Set the status property: The status of the artifact.withVmExtensionStatusMessage
(String vmExtensionStatusMessage) Set the vmExtensionStatusMessage property: The status message from the virtual machine extension.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
-
ArtifactInstallProperties
public ArtifactInstallProperties()Creates an instance of ArtifactInstallProperties class.
-
-
Method Details
-
artifactId
Get the artifactId property: The artifact's identifier.- Returns:
- the artifactId value.
-
withArtifactId
Set the artifactId property: The artifact's identifier.- Parameters:
artifactId
- the artifactId value to set.- Returns:
- the ArtifactInstallProperties object itself.
-
artifactTitle
Get the artifactTitle property: The artifact's title.- Returns:
- the artifactTitle value.
-
withArtifactTitle
Set the artifactTitle property: The artifact's title.- Parameters:
artifactTitle
- the artifactTitle value to set.- Returns:
- the ArtifactInstallProperties object itself.
-
parameters
Get the parameters property: The parameters of the artifact.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: The parameters of the artifact.- Parameters:
parameters
- the parameters value to set.- Returns:
- the ArtifactInstallProperties object itself.
-
status
Get the status property: The status of the artifact.- Returns:
- the status value.
-
withStatus
Set the status property: The status of the artifact.- Parameters:
status
- the status value to set.- Returns:
- the ArtifactInstallProperties object itself.
-
deploymentStatusMessage
Get the deploymentStatusMessage property: The status message from the deployment.- Returns:
- the deploymentStatusMessage value.
-
withDeploymentStatusMessage
Set the deploymentStatusMessage property: The status message from the deployment.- Parameters:
deploymentStatusMessage
- the deploymentStatusMessage value to set.- Returns:
- the ArtifactInstallProperties object itself.
-
vmExtensionStatusMessage
Get the vmExtensionStatusMessage property: The status message from the virtual machine extension.- Returns:
- the vmExtensionStatusMessage value.
-
withVmExtensionStatusMessage
Set the vmExtensionStatusMessage property: The status message from the virtual machine extension.- Parameters:
vmExtensionStatusMessage
- the vmExtensionStatusMessage value to set.- Returns:
- the ArtifactInstallProperties object itself.
-
installTime
Get the installTime property: The time that the artifact starts to install on the virtual machine.- Returns:
- the installTime value.
-
withInstallTime
Set the installTime property: The time that the artifact starts to install on the virtual machine.- Parameters:
installTime
- the installTime value to set.- Returns:
- the ArtifactInstallProperties 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<ArtifactInstallProperties>
- Throws:
IOException
-
fromJson
public static ArtifactInstallProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ArtifactInstallProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ArtifactInstallProperties 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 ArtifactInstallProperties.
-