Class ProtectionStatusDetails


  • public final class ProtectionStatusDetails
    extends Object
    ProtectionStatusDetails Protection status details.
    • Constructor Detail

      • ProtectionStatusDetails

        public ProtectionStatusDetails()
    • Method Detail

      • errorDetails

        public UserFacingError errorDetails()
        Get the errorDetails property: Specifies the protection status error of the resource.
        Returns:
        the errorDetails value.
      • withErrorDetails

        public ProtectionStatusDetails withErrorDetails​(UserFacingError errorDetails)
        Set the errorDetails property: Specifies the protection status error of the resource.
        Parameters:
        errorDetails - the errorDetails value to set.
        Returns:
        the ProtectionStatusDetails object itself.
      • status

        public Status status()
        Get the status property: Specifies the protection status of the resource.
        Returns:
        the status value.
      • withStatus

        public ProtectionStatusDetails withStatus​(Status status)
        Set the status property: Specifies the protection status of the resource.
        Parameters:
        status - the status value to set.
        Returns:
        the ProtectionStatusDetails object itself.
      • validate

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