java.lang.Object
com.azure.resourcemanager.securityinsights.models.DeploymentInfo

public final class DeploymentInfo extends Object
Information regarding a deployment.
  • Constructor Details

    • DeploymentInfo

      public DeploymentInfo()
  • Method Details

    • deploymentFetchStatus

      public DeploymentFetchStatus deploymentFetchStatus()
      Get the deploymentFetchStatus property: Status while fetching the last deployment.
      Returns:
      the deploymentFetchStatus value.
    • withDeploymentFetchStatus

      public DeploymentInfo withDeploymentFetchStatus(DeploymentFetchStatus deploymentFetchStatus)
      Set the deploymentFetchStatus property: Status while fetching the last deployment.
      Parameters:
      deploymentFetchStatus - the deploymentFetchStatus value to set.
      Returns:
      the DeploymentInfo object itself.
    • deployment

      public Deployment deployment()
      Get the deployment property: Deployment information.
      Returns:
      the deployment value.
    • withDeployment

      public DeploymentInfo withDeployment(Deployment deployment)
      Set the deployment property: Deployment information.
      Parameters:
      deployment - the deployment value to set.
      Returns:
      the DeploymentInfo object itself.
    • message

      public String message()
      Get the message property: Additional details about the deployment that can be shown to the user.
      Returns:
      the message value.
    • withMessage

      public DeploymentInfo withMessage(String message)
      Set the message property: Additional details about the deployment that can be shown to the user.
      Parameters:
      message - the message value to set.
      Returns:
      the DeploymentInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.