Class DeploymentProperties


  • public final class DeploymentProperties
    extends Object
    Properties of Cognitive Services account deployment.
    • Constructor Detail

      • DeploymentProperties

        public DeploymentProperties()
    • Method Detail

      • provisioningState

        public DeploymentProvisioningState provisioningState()
        Get the provisioningState property: Gets the status of the resource at the time the operation was called.
        Returns:
        the provisioningState value.
      • model

        public DeploymentModel model()
        Get the model property: Properties of Cognitive Services account deployment model.
        Returns:
        the model value.
      • withModel

        public DeploymentProperties withModel​(DeploymentModel model)
        Set the model property: Properties of Cognitive Services account deployment model.
        Parameters:
        model - the model value to set.
        Returns:
        the DeploymentProperties object itself.
      • scaleSettings

        public DeploymentScaleSettings scaleSettings()
        Get the scaleSettings property: Properties of Cognitive Services account deployment model.
        Returns:
        the scaleSettings value.
      • withScaleSettings

        public DeploymentProperties withScaleSettings​(DeploymentScaleSettings scaleSettings)
        Set the scaleSettings property: Properties of Cognitive Services account deployment model.
        Parameters:
        scaleSettings - the scaleSettings value to set.
        Returns:
        the DeploymentProperties object itself.
      • validate

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