Interface DescribeConformancePacksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConfigResponse.Builder
,CopyableBuilder<DescribeConformancePacksResponse.Builder,
,DescribeConformancePacksResponse> SdkBuilder<DescribeConformancePacksResponse.Builder,
,DescribeConformancePacksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeConformancePacksResponse
public static interface DescribeConformancePacksResponse.Builder
extends ConfigResponse.Builder, SdkPojo, CopyableBuilder<DescribeConformancePacksResponse.Builder,DescribeConformancePacksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconformancePackDetails
(Collection<ConformancePackDetail> conformancePackDetails) Returns a list ofConformancePackDetail
objects.conformancePackDetails
(Consumer<ConformancePackDetail.Builder>... conformancePackDetails) Returns a list ofConformancePackDetail
objects.conformancePackDetails
(ConformancePackDetail... conformancePackDetails) Returns a list ofConformancePackDetail
objects.ThenextToken
string returned in a previous request that you use to request 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
-
conformancePackDetails
DescribeConformancePacksResponse.Builder conformancePackDetails(Collection<ConformancePackDetail> conformancePackDetails) Returns a list of
ConformancePackDetail
objects.- Parameters:
conformancePackDetails
- Returns a list ofConformancePackDetail
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conformancePackDetails
DescribeConformancePacksResponse.Builder conformancePackDetails(ConformancePackDetail... conformancePackDetails) Returns a list of
ConformancePackDetail
objects.- Parameters:
conformancePackDetails
- Returns a list ofConformancePackDetail
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conformancePackDetails
DescribeConformancePacksResponse.Builder conformancePackDetails(Consumer<ConformancePackDetail.Builder>... conformancePackDetails) Returns a list of
This is a convenience method that creates an instance of theConformancePackDetail
objects.ConformancePackDetail.Builder
avoiding the need to create one manually viaConformancePackDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconformancePackDetails(List<ConformancePackDetail>)
.- Parameters:
conformancePackDetails
- a consumer that will call methods onConformancePackDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextToken
string returned in a previous request that you use to request the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
string returned in a previous request that you use to request the next page of results in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-