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