Interface DescribeComplianceByResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<DescribeComplianceByResourceRequest.Builder,,DescribeComplianceByResourceRequest> SdkBuilder<DescribeComplianceByResourceRequest.Builder,,DescribeComplianceByResourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeComplianceByResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceTypes(Collection<ComplianceType> complianceTypes) Filters the results by compliance.complianceTypes(ComplianceType... complianceTypes) Filters the results by compliance.complianceTypesWithStrings(String... complianceTypes) Filters the results by compliance.complianceTypesWithStrings(Collection<String> complianceTypes) Filters the results by compliance.The maximum number of evaluation results returned on each page.ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceId(String resourceId) The ID of the Amazon Web Services resource for which you want compliance information.resourceType(String resourceType) The types of Amazon Web Services resources for which you want compliance information (for example,AWS::EC2::Instance).Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 specifyingAWS::::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 specifyingAWS::::Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 forResourceType.- 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
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(Collection<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.
-
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
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
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring 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.
-
overrideConfiguration
DescribeComplianceByResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeComplianceByResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-