Class ArtifactDeploymentStatusProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ArtifactDeploymentStatusProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ArtifactDeploymentStatusProperties>
public final class ArtifactDeploymentStatusProperties
extends Object
implements com.azure.json.JsonSerializable<ArtifactDeploymentStatusProperties>
Properties of an artifact deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ArtifactDeploymentStatusProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the artifactsApplied property: The total count of the artifacts that were successfully applied.Get the deploymentStatus property: The deployment status of the artifact.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ArtifactDeploymentStatusProperties from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the totalArtifacts property: The total count of the artifacts that were tentatively applied.void
validate()
Validates the instance.withArtifactsApplied
(Integer artifactsApplied) Set the artifactsApplied property: The total count of the artifacts that were successfully applied.withDeploymentStatus
(String deploymentStatus) Set the deploymentStatus property: The deployment status of the artifact.withTotalArtifacts
(Integer totalArtifacts) Set the totalArtifacts property: The total count of the artifacts that were tentatively applied.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
-
ArtifactDeploymentStatusProperties
public ArtifactDeploymentStatusProperties()Creates an instance of ArtifactDeploymentStatusProperties class.
-
-
Method Details
-
deploymentStatus
Get the deploymentStatus property: The deployment status of the artifact.- Returns:
- the deploymentStatus value.
-
withDeploymentStatus
Set the deploymentStatus property: The deployment status of the artifact.- Parameters:
deploymentStatus
- the deploymentStatus value to set.- Returns:
- the ArtifactDeploymentStatusProperties object itself.
-
artifactsApplied
Get the artifactsApplied property: The total count of the artifacts that were successfully applied.- Returns:
- the artifactsApplied value.
-
withArtifactsApplied
Set the artifactsApplied property: The total count of the artifacts that were successfully applied.- Parameters:
artifactsApplied
- the artifactsApplied value to set.- Returns:
- the ArtifactDeploymentStatusProperties object itself.
-
totalArtifacts
Get the totalArtifacts property: The total count of the artifacts that were tentatively applied.- Returns:
- the totalArtifacts value.
-
withTotalArtifacts
Set the totalArtifacts property: The total count of the artifacts that were tentatively applied.- Parameters:
totalArtifacts
- the totalArtifacts value to set.- Returns:
- the ArtifactDeploymentStatusProperties 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<ArtifactDeploymentStatusProperties>
- Throws:
IOException
-
fromJson
public static ArtifactDeploymentStatusProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ArtifactDeploymentStatusProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ArtifactDeploymentStatusProperties 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 ArtifactDeploymentStatusProperties.
-