Interface ListFailureModeFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFailureModeFindingsResponse.Builder,,ListFailureModeFindingsResponse> Resiliencehubv2Response.Builder,SdkBuilder<ListFailureModeFindingsResponse.Builder,,ListFailureModeFindingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFailureModeFindingsResponse
@Mutable
@NotThreadSafe
public static interface ListFailureModeFindingsResponse.Builder
extends Resiliencehubv2Response.Builder, SdkPojo, CopyableBuilder<ListFailureModeFindingsResponse.Builder,ListFailureModeFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindingsSummary(Collection<FindingSummary> findingsSummary) The list of finding summaries.findingsSummary(Consumer<FindingSummary.Builder>... findingsSummary) The list of finding summaries.findingsSummary(FindingSummary... findingsSummary) The list of finding summaries.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehubv2.model.Resiliencehubv2Response.Builder
build, responseMetadata, responseMetadataMethods 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
-
findingsSummary
The list of finding summaries.
- Parameters:
findingsSummary- The list of finding summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsSummary
The list of finding summaries.
- Parameters:
findingsSummary- The list of finding summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsSummary
ListFailureModeFindingsResponse.Builder findingsSummary(Consumer<FindingSummary.Builder>... findingsSummary) The list of finding summaries.
This is a convenience method that creates an instance of theFindingSummary.Builderavoiding the need to create one manually viaFindingSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindingsSummary(List<FindingSummary>).- Parameters:
findingsSummary- a consumer that will call methods onFindingSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-