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
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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
ListClusterEvents
calls to fetch more events.- Parameters:
nextToken
- A token to retrieve the next set of results. Include this token in subsequentListClusterEvents
calls 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.Builder
avoiding the need to create one manually viaClusterEventSummary.builder()
.When the
Consumer
completes,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:
-