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 Details

    • ArtifactDeploymentStatusProperties

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

    • deploymentStatus

      public String deploymentStatus()
      Get the deploymentStatus property: The deployment status of the artifact.
      Returns:
      the deploymentStatus value.
    • withDeploymentStatus

      public ArtifactDeploymentStatusProperties withDeploymentStatus(String deploymentStatus)
      Set the deploymentStatus property: The deployment status of the artifact.
      Parameters:
      deploymentStatus - the deploymentStatus value to set.
      Returns:
      the ArtifactDeploymentStatusProperties object itself.
    • artifactsApplied

      public Integer artifactsApplied()
      Get the artifactsApplied property: The total count of the artifacts that were successfully applied.
      Returns:
      the artifactsApplied value.
    • withArtifactsApplied

      public ArtifactDeploymentStatusProperties withArtifactsApplied(Integer artifactsApplied)
      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

      public Integer totalArtifacts()
      Get the totalArtifacts property: The total count of the artifacts that were tentatively applied.
      Returns:
      the totalArtifacts value.
    • withTotalArtifacts

      public ArtifactDeploymentStatusProperties withTotalArtifacts(Integer totalArtifacts)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.