Class DeploymentResourceProperties


  • public final class DeploymentResourceProperties
    extends Object
    Deployment resource properties payload.
    • Constructor Detail

      • DeploymentResourceProperties

        public DeploymentResourceProperties()
    • Method Detail

      • source

        public UserSourceInfo source()
        Get the source property: Uploaded source information of the deployment.
        Returns:
        the source value.
      • withSource

        public DeploymentResourceProperties withSource​(UserSourceInfo source)
        Set the source property: Uploaded source information of the deployment.
        Parameters:
        source - the source value to set.
        Returns:
        the DeploymentResourceProperties object itself.
      • appName

        public String appName()
        Get the appName property: App name of the deployment.
        Returns:
        the appName value.
      • deploymentSettings

        public DeploymentSettings deploymentSettings()
        Get the deploymentSettings property: Deployment settings of the Deployment.
        Returns:
        the deploymentSettings value.
      • withDeploymentSettings

        public DeploymentResourceProperties withDeploymentSettings​(DeploymentSettings deploymentSettings)
        Set the deploymentSettings property: Deployment settings of the Deployment.
        Parameters:
        deploymentSettings - the deploymentSettings value to set.
        Returns:
        the DeploymentResourceProperties object itself.
      • provisioningState

        public DeploymentResourceProvisioningState provisioningState()
        Get the provisioningState property: Provisioning state of the Deployment.
        Returns:
        the provisioningState value.
      • status

        public DeploymentResourceStatus status()
        Get the status property: Status of the Deployment.
        Returns:
        the status value.
      • active

        public Boolean active()
        Get the active property: Indicates whether the Deployment is active.
        Returns:
        the active value.
      • createdTime

        public OffsetDateTime createdTime()
        Get the createdTime property: Date time when the resource is created.
        Returns:
        the createdTime value.
      • instances

        public List<DeploymentInstance> instances()
        Get the instances property: Collection of instances belong to the Deployment.
        Returns:
        the instances value.
      • validate

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