Interface DescribeComplianceByResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConfigResponse.Builder
,CopyableBuilder<DescribeComplianceByResourceResponse.Builder,
,DescribeComplianceByResourceResponse> SdkBuilder<DescribeComplianceByResourceResponse.Builder,
,DescribeComplianceByResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeComplianceByResourceResponse
public static interface DescribeComplianceByResourceResponse.Builder
extends ConfigResponse.Builder, SdkPojo, CopyableBuilder<DescribeComplianceByResourceResponse.Builder,DescribeComplianceByResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceByResources
(Collection<ComplianceByResource> complianceByResources) Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.complianceByResources
(Consumer<ComplianceByResource.Builder>... complianceByResources) Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.complianceByResources
(ComplianceByResource... complianceByResources) Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.The string that you use in a subsequent request to get the next page of results in a paginated response.Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
complianceByResources
DescribeComplianceByResourceResponse.Builder complianceByResources(Collection<ComplianceByResource> complianceByResources) Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.
- Parameters:
complianceByResources
- Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceByResources
DescribeComplianceByResourceResponse.Builder complianceByResources(ComplianceByResource... complianceByResources) Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.
- Parameters:
complianceByResources
- Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceByResources
DescribeComplianceByResourceResponse.Builder complianceByResources(Consumer<ComplianceByResource.Builder>... complianceByResources) Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.
This is a convenience method that creates an instance of theComplianceByResource.Builder
avoiding the need to create one manually viaComplianceByResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomplianceByResources(List<ComplianceByResource>)
.- Parameters:
complianceByResources
- a consumer that will call methods onComplianceByResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string that you use in a subsequent request to get the next page of results in a paginated response.
- Parameters:
nextToken
- The string that you use in a subsequent request 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.
-