Class GetComplianceDetailsByResourceRequest

    • Constructor Detail

      • GetComplianceDetailsByResourceRequest

        public GetComplianceDetailsByResourceRequest()
    • Method Detail

      • setResourceType

        public void setResourceType​(String resourceType)

        The type of the AWS resource for which you want compliance information.

        Parameters:
        resourceType - The type of the AWS resource for which you want compliance information.
      • getResourceType

        public String getResourceType()

        The type of the AWS resource for which you want compliance information.

        Returns:
        The type of the AWS resource for which you want compliance information.
      • withResourceType

        public GetComplianceDetailsByResourceRequest withResourceType​(String resourceType)

        The type of the AWS resource for which you want compliance information.

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

        public void setResourceId​(String resourceId)

        The ID of the AWS resource for which you want compliance information.

        Parameters:
        resourceId - The ID of the AWS resource for which you want compliance information.
      • getResourceId

        public String getResourceId()

        The ID of the AWS resource for which you want compliance information.

        Returns:
        The ID of the AWS resource for which you want compliance information.
      • withResourceId

        public GetComplianceDetailsByResourceRequest withResourceId​(String resourceId)

        The ID of the AWS resource for which you want compliance information.

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

        public List<String> getComplianceTypes()

        Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT , and NOT_APPLICABLE.

        Returns:
        Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

        See Also:
        ComplianceType
      • setComplianceTypes

        public void setComplianceTypes​(Collection<String> complianceTypes)

        Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT , and NOT_APPLICABLE.

        Parameters:
        complianceTypes - Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

        See Also:
        ComplianceType
      • withComplianceTypes

        public GetComplianceDetailsByResourceRequest withComplianceTypes​(Collection<String> complianceTypes)

        Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT , and NOT_APPLICABLE.

        Parameters:
        complianceTypes - Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceType
      • withComplianceTypes

        public GetComplianceDetailsByResourceRequest withComplianceTypes​(ComplianceType... complianceTypes)

        Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT , and NOT_APPLICABLE.

        Parameters:
        complianceTypes - Filters the results by compliance.

        The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComplianceType
      • setNextToken

        public void setNextToken​(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.
      • getNextToken

        public String getNextToken()

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

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

        public GetComplianceDetailsByResourceRequest withNextToken​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object