Interface DescribeComplianceByResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConfigResponse.Builder,CopyableBuilder<DescribeComplianceByResourceResponse.Builder,,DescribeComplianceByResourceResponse> SdkBuilder<DescribeComplianceByResourceResponse.Builder,,DescribeComplianceByResourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeComplianceByResourceResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaComplianceByResource.builder().When the
Consumercompletes,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.
-