Interface GetInsightEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetInsightEventsResponse.Builder,
,GetInsightEventsResponse> SdkBuilder<GetInsightEventsResponse.Builder,
,GetInsightEventsResponse> SdkPojo
,SdkResponse.Builder
,XRayResponse.Builder
- Enclosing class:
GetInsightEventsResponse
public static interface GetInsightEventsResponse.Builder
extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetInsightEventsResponse.Builder,GetInsightEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninsightEvents
(Collection<InsightEvent> insightEvents) A detailed description of the event.insightEvents
(Consumer<InsightEvent.Builder>... insightEvents) A detailed description of the event.insightEvents
(InsightEvent... insightEvents) A detailed description of the event.Use this token to retrieve the next page of insight events.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
insightEvents
A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.
- Parameters:
insightEvents
- A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightEvents
A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.
- Parameters:
insightEvents
- A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightEvents
A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.
This is a convenience method that creates an instance of theInsightEvent.Builder
avoiding the need to create one manually viaInsightEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsightEvents(List<InsightEvent>)
.- Parameters:
insightEvents
- a consumer that will call methods onInsightEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Use this token to retrieve the next page of insight events.
- Parameters:
nextToken
- Use this token to retrieve the next page of insight events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-