Class NetworkManagerDeploymentStatus

java.lang.Object
com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatus
All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkManagerDeploymentStatus>

public final class NetworkManagerDeploymentStatus extends Object implements com.azure.json.JsonSerializable<NetworkManagerDeploymentStatus>
Network Manager Deployment Status.
  • Constructor Details

    • NetworkManagerDeploymentStatus

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

    • commitTime

      public OffsetDateTime commitTime()
      Get the commitTime property: Commit Time.
      Returns:
      the commitTime value.
    • withCommitTime

      public NetworkManagerDeploymentStatus withCommitTime(OffsetDateTime commitTime)
      Set the commitTime property: Commit Time.
      Parameters:
      commitTime - the commitTime value to set.
      Returns:
      the NetworkManagerDeploymentStatus object itself.
    • region

      public String region()
      Get the region property: Region Name.
      Returns:
      the region value.
    • withRegion

      public NetworkManagerDeploymentStatus withRegion(String region)
      Set the region property: Region Name.
      Parameters:
      region - the region value to set.
      Returns:
      the NetworkManagerDeploymentStatus object itself.
    • deploymentStatus

      public DeploymentStatus deploymentStatus()
      Get the deploymentStatus property: Deployment Status.
      Returns:
      the deploymentStatus value.
    • withDeploymentStatus

      public NetworkManagerDeploymentStatus withDeploymentStatus(DeploymentStatus deploymentStatus)
      Set the deploymentStatus property: Deployment Status.
      Parameters:
      deploymentStatus - the deploymentStatus value to set.
      Returns:
      the NetworkManagerDeploymentStatus object itself.
    • configurationIds

      public List<String> configurationIds()
      Get the configurationIds property: List of configuration ids.
      Returns:
      the configurationIds value.
    • withConfigurationIds

      public NetworkManagerDeploymentStatus withConfigurationIds(List<String> configurationIds)
      Set the configurationIds property: List of configuration ids.
      Parameters:
      configurationIds - the configurationIds value to set.
      Returns:
      the NetworkManagerDeploymentStatus object itself.
    • deploymentType

      public ConfigurationType deploymentType()
      Get the deploymentType property: Configuration Deployment Type.
      Returns:
      the deploymentType value.
    • withDeploymentType

      public NetworkManagerDeploymentStatus withDeploymentType(ConfigurationType deploymentType)
      Set the deploymentType property: Configuration Deployment Type.
      Parameters:
      deploymentType - the deploymentType value to set.
      Returns:
      the NetworkManagerDeploymentStatus object itself.
    • errorMessage

      public String errorMessage()
      Get the errorMessage property: Error Message.
      Returns:
      the errorMessage value.
    • withErrorMessage

      public NetworkManagerDeploymentStatus withErrorMessage(String errorMessage)
      Set the errorMessage property: Error Message.
      Parameters:
      errorMessage - the errorMessage value to set.
      Returns:
      the NetworkManagerDeploymentStatus 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<NetworkManagerDeploymentStatus>
      Throws:
      IOException
    • fromJson

      public static NetworkManagerDeploymentStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NetworkManagerDeploymentStatus from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NetworkManagerDeploymentStatus 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 NetworkManagerDeploymentStatus.