Interface GetComplianceSummaryByResourceTypeRequest.Builder

    • Method Detail

      • resourceTypes

        GetComplianceSummaryByResourceTypeRequest.Builder resourceTypes​(Collection<String> resourceTypes)

        Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

        For this request, you can specify an Amazon Web Services resource type such as AWS::EC2::Instance. You can specify that the resource type is an Amazon Web Services account by specifying AWS::::Account.

        Parameters:
        resourceTypes - Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

        For this request, you can specify an Amazon Web Services resource type such as AWS::EC2::Instance. 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.
      • resourceTypes

        GetComplianceSummaryByResourceTypeRequest.Builder resourceTypes​(String... resourceTypes)

        Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

        For this request, you can specify an Amazon Web Services resource type such as AWS::EC2::Instance. You can specify that the resource type is an Amazon Web Services account by specifying AWS::::Account.

        Parameters:
        resourceTypes - Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

        For this request, you can specify an Amazon Web Services resource type such as AWS::EC2::Instance. 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.