Interface Compliance.Builder

    • Method Detail

      • status

        Compliance.Builder status​(String status)

        Typically summarizes the result of a control check.

        For Security Hub controls, valid values for Status are as follows.

          • PASSED - Standards check passed for all evaluated resources.

          • WARNING - Some information is missing or this check is not supported for your configuration.

          • FAILED - Standards check failed for at least one evaluated resource.

          • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE for a Security Hub control, Security Hub automatically archives the finding after 3 days.

        Parameters:
        status - Typically summarizes the result of a control check.

        For Security Hub controls, valid values for Status are as follows.

          • PASSED - Standards check passed for all evaluated resources.

          • WARNING - Some information is missing or this check is not supported for your configuration.

          • FAILED - Standards check failed for at least one evaluated resource.

          • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE for a Security Hub control, Security Hub automatically archives the finding after 3 days.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceStatus, ComplianceStatus
      • status

        Compliance.Builder status​(ComplianceStatus status)

        Typically summarizes the result of a control check.

        For Security Hub controls, valid values for Status are as follows.

          • PASSED - Standards check passed for all evaluated resources.

          • WARNING - Some information is missing or this check is not supported for your configuration.

          • FAILED - Standards check failed for at least one evaluated resource.

          • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE for a Security Hub control, Security Hub automatically archives the finding after 3 days.

        Parameters:
        status - Typically summarizes the result of a control check.

        For Security Hub controls, valid values for Status are as follows.

          • PASSED - Standards check passed for all evaluated resources.

          • WARNING - Some information is missing or this check is not supported for your configuration.

          • FAILED - Standards check failed for at least one evaluated resource.

          • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE for a Security Hub control, Security Hub automatically archives the finding after 3 days.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceStatus, ComplianceStatus
      • relatedRequirements

        Compliance.Builder relatedRequirements​(Collection<String> relatedRequirements)

        Typically provides the industry or regulatory framework requirements that are related to a control. The check for that control is aligned with these requirements.

        Array Members: Maximum number of 32 items.

        Parameters:
        relatedRequirements - Typically provides the industry or regulatory framework requirements that are related to a control. The check for that control is aligned with these requirements.

        Array Members: Maximum number of 32 items.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relatedRequirements

        Compliance.Builder relatedRequirements​(String... relatedRequirements)

        Typically provides the industry or regulatory framework requirements that are related to a control. The check for that control is aligned with these requirements.

        Array Members: Maximum number of 32 items.

        Parameters:
        relatedRequirements - Typically provides the industry or regulatory framework requirements that are related to a control. The check for that control is aligned with these requirements.

        Array Members: Maximum number of 32 items.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusReasons

        Compliance.Builder statusReasons​(Collection<StatusReason> statusReasons)

        Typically used to provide a list of reasons for the value of Status.

        Parameters:
        statusReasons - Typically used to provide a list of reasons for the value of Status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusReasons

        Compliance.Builder statusReasons​(StatusReason... statusReasons)

        Typically used to provide a list of reasons for the value of Status.

        Parameters:
        statusReasons - Typically used to provide a list of reasons for the value of Status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityControlId

        Compliance.Builder securityControlId​(String securityControlId)

        Typically provides the unique identifier of a control across standards. For Security Hub controls, this field consists of an Amazon Web Services service and a unique number, such as APIGateway.5.

        Parameters:
        securityControlId - Typically provides the unique identifier of a control across standards. For Security Hub controls, this field consists of an Amazon Web Services service and a unique number, such as APIGateway.5.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedStandards

        Compliance.Builder associatedStandards​(Collection<AssociatedStandard> associatedStandards)

        Typically provides an array of enabled security standards in which a security control is currently enabled.

        Parameters:
        associatedStandards - Typically provides an array of enabled security standards in which a security control is currently enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedStandards

        Compliance.Builder associatedStandards​(AssociatedStandard... associatedStandards)

        Typically provides an array of enabled security standards in which a security control is currently enabled.

        Parameters:
        associatedStandards - Typically provides an array of enabled security standards in which a security control is currently enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityControlParameters

        Compliance.Builder securityControlParameters​(Collection<SecurityControlParameter> securityControlParameters)

        Typically an object that includes security control parameter names and values.

        Parameters:
        securityControlParameters - Typically an object that includes security control parameter names and values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityControlParameters

        Compliance.Builder securityControlParameters​(SecurityControlParameter... securityControlParameters)

        Typically an object that includes security control parameter names and values.

        Parameters:
        securityControlParameters - Typically an object that includes security control parameter names and values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.