Interface ListEventPredictionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEventPredictionsResponse.Builder,ListEventPredictionsResponse>,FraudDetectorResponse.Builder,SdkBuilder<ListEventPredictionsResponse.Builder,ListEventPredictionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEventPredictionsResponse
public static interface ListEventPredictionsResponse.Builder extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<ListEventPredictionsResponse.Builder,ListEventPredictionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEventPredictionsResponse.BuildereventPredictionSummaries(Collection<EventPredictionSummary> eventPredictionSummaries)The summary of the past predictions.ListEventPredictionsResponse.BuildereventPredictionSummaries(Consumer<EventPredictionSummary.Builder>... eventPredictionSummaries)The summary of the past predictions.ListEventPredictionsResponse.BuildereventPredictionSummaries(EventPredictionSummary... eventPredictionSummaries)The summary of the past predictions.ListEventPredictionsResponse.BuildernextToken(String nextToken)Identifies the next page of results to return.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
eventPredictionSummaries
ListEventPredictionsResponse.Builder eventPredictionSummaries(Collection<EventPredictionSummary> eventPredictionSummaries)
The summary of the past predictions.
- Parameters:
eventPredictionSummaries- The summary of the past predictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventPredictionSummaries
ListEventPredictionsResponse.Builder eventPredictionSummaries(EventPredictionSummary... eventPredictionSummaries)
The summary of the past predictions.
- Parameters:
eventPredictionSummaries- The summary of the past predictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventPredictionSummaries
ListEventPredictionsResponse.Builder eventPredictionSummaries(Consumer<EventPredictionSummary.Builder>... eventPredictionSummaries)
The summary of the past predictions.
This is a convenience method that creates an instance of theEventPredictionSummary.Builderavoiding the need to create one manually viaEventPredictionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eventPredictionSummaries(List.) - Parameters:
eventPredictionSummaries- a consumer that will call methods onEventPredictionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#eventPredictionSummaries(java.util.Collection)
-
nextToken
ListEventPredictionsResponse.Builder nextToken(String nextToken)
Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
- Parameters:
nextToken- Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-