Interface ListOpsItemEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOpsItemEventsResponse.Builder,,ListOpsItemEventsResponse> SdkBuilder<ListOpsItemEventsResponse.Builder,,ListOpsItemEventsResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
ListOpsItemEventsResponse
@Mutable
@NotThreadSafe
public static interface ListOpsItemEventsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListOpsItemEventsResponse.Builder,ListOpsItemEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of items to return.summaries(Collection<OpsItemEventSummary> summaries) A list of event information for the specified OpsItems.summaries(Consumer<OpsItemEventSummary.Builder>... summaries) A list of event information for the specified OpsItems.summaries(OpsItemEventSummary... summaries) A list of event information for the specified OpsItems.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken- The token for the next set of items to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of event information for the specified OpsItems.
- Parameters:
summaries- A list of event information for the specified OpsItems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of event information for the specified OpsItems.
- Parameters:
summaries- A list of event information for the specified OpsItems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of event information for the specified OpsItems.
This is a convenience method that creates an instance of theOpsItemEventSummary.Builderavoiding the need to create one manually viaOpsItemEventSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummaries(List<OpsItemEventSummary>).- Parameters:
summaries- a consumer that will call methods onOpsItemEventSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-