Interface GetInsightEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInsightEventsResponse.Builder,GetInsightEventsResponse>,SdkBuilder<GetInsightEventsResponse.Builder,GetInsightEventsResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- GetInsightEventsResponse
@Mutable @NotThreadSafe public static interface GetInsightEventsResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetInsightEventsResponse.Builder,GetInsightEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetInsightEventsResponse.BuilderinsightEvents(Collection<InsightEvent> insightEvents)A detailed description of the event.GetInsightEventsResponse.BuilderinsightEvents(Consumer<InsightEvent.Builder>... insightEvents)A detailed description of the event.GetInsightEventsResponse.BuilderinsightEvents(InsightEvent... insightEvents)A detailed description of the event.GetInsightEventsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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 Detail
-
insightEvents
GetInsightEventsResponse.Builder insightEvents(Collection<InsightEvent> 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
GetInsightEventsResponse.Builder insightEvents(InsightEvent... 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
GetInsightEventsResponse.Builder insightEvents(Consumer<InsightEvent.Builder>... 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.Builderavoiding the need to create one manually viaInsightEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#insightEvents(List.) - 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:
#insightEvents(java.util.Collection)
-
nextToken
GetInsightEventsResponse.Builder nextToken(String 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.
-
-