public static interface DescribeComplianceByResourceRequest.Builder extends ConfigRequest.Builder, CopyableBuilder<DescribeComplianceByResourceRequest.Builder,DescribeComplianceByResourceRequest>
Modifier and Type | Method and Description |
---|---|
DescribeComplianceByResourceRequest.Builder |
complianceTypes(Collection<ComplianceType> complianceTypes)
Filters the results by compliance.
|
DescribeComplianceByResourceRequest.Builder |
complianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
|
DescribeComplianceByResourceRequest.Builder |
complianceTypesWithStrings(Collection<String> complianceTypes)
Filters the results by compliance.
|
DescribeComplianceByResourceRequest.Builder |
complianceTypesWithStrings(String... complianceTypes)
Filters the results by compliance.
|
DescribeComplianceByResourceRequest.Builder |
limit(Integer limit)
The maximum number of evaluation results returned on each page.
|
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. |
DescribeComplianceByResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DescribeComplianceByResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DescribeComplianceByResourceRequest.Builder |
resourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
|
DescribeComplianceByResourceRequest.Builder |
resourceType(String resourceType)
The types of AWS resources for which you want compliance information; for example,
AWS::EC2::Instance . |
build
overrideConfiguration
copy
applyMutation, build
DescribeComplianceByResourceRequest.Builder resourceType(String resourceType)
The types of AWS resources for which you want compliance information; for example,
AWS::EC2::Instance
. For this action, you can specify that the resource type is an AWS account by
specifying AWS::::Account
.
resourceType
- The types of AWS resources for which you want compliance information; for example,
AWS::EC2::Instance
. For this action, you can specify that the resource type is an AWS
account by specifying AWS::::Account
.DescribeComplianceByResourceRequest.Builder resourceId(String resourceId)
The ID of the AWS 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
.
resourceId
- The ID of the AWS 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
.DescribeComplianceByResourceRequest.Builder complianceTypesWithStrings(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and INSUFFICIENT_DATA
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
INSUFFICIENT_DATA
.
DescribeComplianceByResourceRequest.Builder complianceTypesWithStrings(String... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and INSUFFICIENT_DATA
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
INSUFFICIENT_DATA
.
DescribeComplianceByResourceRequest.Builder complianceTypes(Collection<ComplianceType> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and INSUFFICIENT_DATA
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
INSUFFICIENT_DATA
.
DescribeComplianceByResourceRequest.Builder complianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and INSUFFICIENT_DATA
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
INSUFFICIENT_DATA
.
DescribeComplianceByResourceRequest.Builder limit(Integer limit)
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
limit
- The maximum number of evaluation results returned on each page. The default is 10. You cannot specify
a limit greater than 100. If you specify 0, AWS Config uses the default.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.
nextToken
- The NextToken
string returned on a previous page that you use to get the next page of
results in a paginated response.DescribeComplianceByResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeComplianceByResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.