Interface GetComplianceDetailsByResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConfigRequest.Builder
,CopyableBuilder<GetComplianceDetailsByResourceRequest.Builder,
,GetComplianceDetailsByResourceRequest> SdkBuilder<GetComplianceDetailsByResourceRequest.Builder,
,GetComplianceDetailsByResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetComplianceDetailsByResourceRequest
-
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.ThenextToken
string 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.resourceEvaluationId
(String resourceEvaluationId) The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.resourceId
(String resourceId) The ID of the Amazon Web Services resource for which you want compliance information.resourceType
(String resourceType) The type of the Amazon Web Services resource for which you want compliance information.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceType
The type of the Amazon Web Services resource for which you want compliance information.
- Parameters:
resourceType
- The type of the Amazon Web Services resource for which you want compliance information.- 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.
- Parameters:
resourceId
- The ID of the Amazon Web Services resource for which you want compliance information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceTypesWithStrings
GetComplianceDetailsByResourceRequest.Builder complianceTypesWithStrings(Collection<String> complianceTypes) Filters the results by compliance.
INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Parameters:
complianceTypes
- Filters the results by compliance.INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceTypesWithStrings
Filters the results by compliance.
INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Parameters:
complianceTypes
- Filters the results by compliance.INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceTypes
GetComplianceDetailsByResourceRequest.Builder complianceTypes(Collection<ComplianceType> complianceTypes) Filters the results by compliance.
INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Parameters:
complianceTypes
- Filters the results by compliance.INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceTypes
Filters the results by compliance.
INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Parameters:
complianceTypes
- Filters the results by compliance.INSUFFICIENT_DATA
is a validComplianceType
that is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATA
cannot be used as aComplianceType
for filtering results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- ThenextToken
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.
-
resourceEvaluationId
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
You need to only provide either a
ResourceEvaluationID
or aResourceID
andResourceType
.- Parameters:
resourceEvaluationId
- The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.You need to only provide either a
ResourceEvaluationID
or aResourceID
andResourceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetComplianceDetailsByResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetComplianceDetailsByResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-