Interface DescribeComplianceByResourceRequest.Builder

    • Method Detail

      • resourceType

        DescribeComplianceByResourceRequest.Builder resourceType​(String resourceType)

        The types of Amazon Web Services resources for which you want compliance information (for example, AWS::EC2::Instance). For this action, you can specify that the resource type is an Amazon Web Services account by specifying AWS::::Account.

        Parameters:
        resourceType - The types of Amazon Web Services resources for which you want compliance information (for example, AWS::EC2::Instance). For this action, you can specify that the resource type is an Amazon Web Services account by specifying AWS::::Account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceId

        DescribeComplianceByResourceRequest.Builder resourceId​(String resourceId)

        The ID of the Amazon Web Services resource for which you want compliance information. You can specify only one resource ID. If you specify a resource ID, you must also specify a type for ResourceType.

        Parameters:
        resourceId - The ID of the Amazon Web Services resource for which you want compliance information. You can specify only one resource ID. If you specify a resource ID, you must also specify a type for ResourceType.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • complianceTypesWithStrings

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

        Filters the results by compliance.

        Parameters:
        complianceTypes - Filters the results by compliance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • complianceTypesWithStrings

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

        Filters the results by compliance.

        Parameters:
        complianceTypes - Filters the results by compliance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • complianceTypes

        DescribeComplianceByResourceRequest.Builder complianceTypes​(ComplianceType... complianceTypes)

        Filters the results by compliance.

        Parameters:
        complianceTypes - Filters the results by compliance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • limit

        DescribeComplianceByResourceRequest.Builder limit​(Integer limit)

        The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

        Parameters:
        limit - The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeComplianceByResourceRequest.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.