Class OnErrorDeploymentExtended


  • public final class OnErrorDeploymentExtended
    extends Object
    Deployment on error behavior with additional details.
    • Constructor Detail

      • OnErrorDeploymentExtended

        public OnErrorDeploymentExtended()
    • Method Detail

      • provisioningState

        public String provisioningState()
        Get the provisioningState property: The state of the provisioning for the on error deployment.
        Returns:
        the provisioningState value.
      • type

        public OnErrorDeploymentType type()
        Get the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
        Returns:
        the type value.
      • withType

        public OnErrorDeploymentExtended withType​(OnErrorDeploymentType type)
        Set the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
        Parameters:
        type - the type value to set.
        Returns:
        the OnErrorDeploymentExtended object itself.
      • deploymentName

        public String deploymentName()
        Get the deploymentName property: The deployment to be used on error case.
        Returns:
        the deploymentName value.
      • withDeploymentName

        public OnErrorDeploymentExtended withDeploymentName​(String deploymentName)
        Set the deploymentName property: The deployment to be used on error case.
        Parameters:
        deploymentName - the deploymentName value to set.
        Returns:
        the OnErrorDeploymentExtended object itself.
      • validate

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