CopyableBuilder<DescribeComplianceByResourceRequest.Builder,DescribeComplianceByResourceRequest>
, SdkBuilder<DescribeComplianceByResourceRequest.Builder,DescribeComplianceByResourceRequest>
public static interface DescribeComplianceByResourceRequest.Builder extends CopyableBuilder<DescribeComplianceByResourceRequest.Builder,DescribeComplianceByResourceRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeComplianceByResourceRequest.Builder |
complianceTypes(String... complianceTypes) |
Filters the results by compliance.
|
DescribeComplianceByResourceRequest.Builder |
complianceTypes(Collection<String> complianceTypes) |
Filters the results by compliance.
|
DescribeComplianceByResourceRequest.Builder |
complianceTypes(ComplianceType... 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 |
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 . |
copy
apply, 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 complianceTypes(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
.
ComplianceType
DescribeComplianceByResourceRequest.Builder complianceTypes(String... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and INSUFFICIENT_DATA
.
NOTE: This method appends the values to the existing list (if any). Use
#setComplianceTypes(java.util.Collection)
or #withComplianceTypes(java.util.Collection)
if
you want to override the existing values.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
INSUFFICIENT_DATA
.
ComplianceType
DescribeComplianceByResourceRequest.Builder complianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and INSUFFICIENT_DATA
.
NOTE: This method appends the values to the existing list (if any). Use
#setComplianceTypes(java.util.Collection)
or #withComplianceTypes(java.util.Collection)
if
you want to override the existing values.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
INSUFFICIENT_DATA
.
ComplianceType
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.