Interface ListSystemEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSystemEventsResponse.Builder,,ListSystemEventsResponse> Resiliencehubv2Response.Builder,SdkBuilder<ListSystemEventsResponse.Builder,,ListSystemEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSystemEventsResponse
@Mutable
@NotThreadSafe
public static interface ListSystemEventsResponse.Builder
extends Resiliencehubv2Response.Builder, SdkPojo, CopyableBuilder<ListSystemEventsResponse.Builder,ListSystemEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<SystemEvent> events) The list of system events.events(Consumer<SystemEvent.Builder>... events) The list of system events.events(SystemEvent... events) The list of system events.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
-
events
The list of system events.
- Parameters:
events- The list of system events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The list of system events.
- Parameters:
events- The list of system events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The list of system events.
This is a convenience method that creates an instance of theSystemEvent.Builderavoiding the need to create one manually viaSystemEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(List<SystemEvent>).- Parameters:
events- a consumer that will call methods onSystemEvent.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.
-