Class ComplianceStatus


  • public final class ComplianceStatus
    extends Object
    Compliance Status details.
    • Constructor Detail

      • ComplianceStatus

        public ComplianceStatus()
    • Method Detail

      • complianceState

        public ComplianceStateType complianceState()
        Get the complianceState property: The compliance state of the configuration.
        Returns:
        the complianceState value.
      • lastConfigApplied

        public OffsetDateTime lastConfigApplied()
        Get the lastConfigApplied property: Datetime the configuration was last applied.
        Returns:
        the lastConfigApplied value.
      • withLastConfigApplied

        public ComplianceStatus withLastConfigApplied​(OffsetDateTime lastConfigApplied)
        Set the lastConfigApplied property: Datetime the configuration was last applied.
        Parameters:
        lastConfigApplied - the lastConfigApplied value to set.
        Returns:
        the ComplianceStatus object itself.
      • message

        public String message()
        Get the message property: Message from when the configuration was applied.
        Returns:
        the message value.
      • withMessage

        public ComplianceStatus withMessage​(String message)
        Set the message property: Message from when the configuration was applied.
        Parameters:
        message - the message value to set.
        Returns:
        the ComplianceStatus object itself.
      • messageLevel

        public MessageLevelType messageLevel()
        Get the messageLevel property: Level of the message.
        Returns:
        the messageLevel value.
      • withMessageLevel

        public ComplianceStatus withMessageLevel​(MessageLevelType messageLevel)
        Set the messageLevel property: Level of the message.
        Parameters:
        messageLevel - the messageLevel value to set.
        Returns:
        the ComplianceStatus object itself.
      • validate

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