Class RemediationPropertiesFailureThreshold


  • public final class RemediationPropertiesFailureThreshold
    extends Object
    The remediation failure threshold settings.
    • Constructor Detail

      • RemediationPropertiesFailureThreshold

        public RemediationPropertiesFailureThreshold()
    • Method Detail

      • percentage

        public Float percentage()
        Get the percentage property: A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
        Returns:
        the percentage value.
      • withPercentage

        public RemediationPropertiesFailureThreshold withPercentage​(Float percentage)
        Set the percentage property: A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
        Parameters:
        percentage - the percentage value to set.
        Returns:
        the RemediationPropertiesFailureThreshold object itself.
      • validate

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