Interface GetComplianceDetailsByResourceRequest.Builder

    • Method Detail

      • resourceType

        GetComplianceDetailsByResourceRequest.Builder resourceType​(String resourceType)

        The type of the Amazon Web Services resource for which you want compliance information.

        Parameters:
        resourceType - The type of the Amazon Web Services resource for which you want compliance information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceId

        GetComplianceDetailsByResourceRequest.Builder resourceId​(String resourceId)

        The ID of the Amazon Web Services resource for which you want compliance information.

        Parameters:
        resourceId - The ID of the Amazon Web Services resource for which you want compliance information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • complianceTypesWithStrings

        GetComplianceDetailsByResourceRequest.Builder complianceTypesWithStrings​(Collection<String> complianceTypes)

        Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

        Parameters:
        complianceTypes - Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

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

        GetComplianceDetailsByResourceRequest.Builder complianceTypesWithStrings​(String... complianceTypes)

        Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

        Parameters:
        complianceTypes - Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

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

        GetComplianceDetailsByResourceRequest.Builder complianceTypes​(Collection<ComplianceType> complianceTypes)

        Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

        Parameters:
        complianceTypes - Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

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

        GetComplianceDetailsByResourceRequest.Builder complianceTypes​(ComplianceType... complianceTypes)

        Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

        Parameters:
        complianceTypes - Filters the results by compliance.

        INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

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

        GetComplianceDetailsByResourceRequest.Builder nextToken​(String nextToken)

        The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

        Parameters:
        nextToken - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceEvaluationId

        GetComplianceDetailsByResourceRequest.Builder resourceEvaluationId​(String resourceEvaluationId)

        The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.

        You need to only provide either a ResourceEvaluationID or a ResourceID and ResourceType.

        Parameters:
        resourceEvaluationId - The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.

        You need to only provide either a ResourceEvaluationID or a ResourceID and ResourceType.

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