Interface ListClusterEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClusterEventsResponse.Builder,,ListClusterEventsResponse> SageMakerResponse.Builder,SdkBuilder<ListClusterEventsResponse.Builder,,ListClusterEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListClusterEventsResponse
@Mutable
@NotThreadSafe
public static interface ListClusterEventsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListClusterEventsResponse.Builder,ListClusterEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<ClusterEventSummary> events) A list of event summaries matching the specified criteria.events(Consumer<ClusterEventSummary.Builder>... events) A list of event summaries matching the specified criteria.events(ClusterEventSummary... events) A list of event summaries matching the specified criteria.A token to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
nextToken
A token to retrieve the next set of results. Include this token in subsequent
ListClusterEventscalls to fetch more events.- Parameters:
nextToken- A token to retrieve the next set of results. Include this token in subsequentListClusterEventscalls to fetch more events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of event summaries matching the specified criteria.
- Parameters:
events- A list of event summaries matching the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of event summaries matching the specified criteria.
- Parameters:
events- A list of event summaries matching the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of event summaries matching the specified criteria.
This is a convenience method that creates an instance of theClusterEventSummary.Builderavoiding the need to create one manually viaClusterEventSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(List<ClusterEventSummary>).- Parameters:
events- a consumer that will call methods onClusterEventSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-