Interface ListEventPredictionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListEventPredictionsRequest.Builder,ListEventPredictionsRequest>,FraudDetectorRequest.Builder,SdkBuilder<ListEventPredictionsRequest.Builder,ListEventPredictionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListEventPredictionsRequest
public static interface ListEventPredictionsRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<ListEventPredictionsRequest.Builder,ListEventPredictionsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
eventId
ListEventPredictionsRequest.Builder eventId(FilterCondition eventId)
The event ID.
- Parameters:
eventId- The event ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
default ListEventPredictionsRequest.Builder eventId(Consumer<FilterCondition.Builder> eventId)
The event ID.
This is a convenience method that creates an instance of theFilterCondition.Builderavoiding the need to create one manually viaFilterCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventId(FilterCondition).- Parameters:
eventId- a consumer that will call methods onFilterCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventId(FilterCondition)
-
eventType
ListEventPredictionsRequest.Builder eventType(FilterCondition eventType)
The event type associated with the detector.
- Parameters:
eventType- The event type associated with the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
default ListEventPredictionsRequest.Builder eventType(Consumer<FilterCondition.Builder> eventType)
The event type associated with the detector.
This is a convenience method that creates an instance of theFilterCondition.Builderavoiding the need to create one manually viaFilterCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventType(FilterCondition).- Parameters:
eventType- a consumer that will call methods onFilterCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventType(FilterCondition)
-
detectorId
ListEventPredictionsRequest.Builder detectorId(FilterCondition detectorId)
The detector ID.
- Parameters:
detectorId- The detector ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorId
default ListEventPredictionsRequest.Builder detectorId(Consumer<FilterCondition.Builder> detectorId)
The detector ID.
This is a convenience method that creates an instance of theFilterCondition.Builderavoiding the need to create one manually viaFilterCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetectorId(FilterCondition).- Parameters:
detectorId- a consumer that will call methods onFilterCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detectorId(FilterCondition)
-
detectorVersionId
ListEventPredictionsRequest.Builder detectorVersionId(FilterCondition detectorVersionId)
The detector version ID.
- Parameters:
detectorVersionId- The detector version ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorVersionId
default ListEventPredictionsRequest.Builder detectorVersionId(Consumer<FilterCondition.Builder> detectorVersionId)
The detector version ID.
This is a convenience method that creates an instance of theFilterCondition.Builderavoiding the need to create one manually viaFilterCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetectorVersionId(FilterCondition).- Parameters:
detectorVersionId- a consumer that will call methods onFilterCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detectorVersionId(FilterCondition)
-
predictionTimeRange
ListEventPredictionsRequest.Builder predictionTimeRange(PredictionTimeRange predictionTimeRange)
The time period for when the predictions were generated.
- Parameters:
predictionTimeRange- The time period for when the predictions were generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionTimeRange
default ListEventPredictionsRequest.Builder predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)
The time period for when the predictions were generated.
This is a convenience method that creates an instance of thePredictionTimeRange.Builderavoiding the need to create one manually viaPredictionTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredictionTimeRange(PredictionTimeRange).- Parameters:
predictionTimeRange- a consumer that will call methods onPredictionTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
predictionTimeRange(PredictionTimeRange)
-
nextToken
ListEventPredictionsRequest.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.
-
maxResults
ListEventPredictionsRequest.Builder maxResults(Integer maxResults)
The maximum number of predictions to return for the request.
- Parameters:
maxResults- The maximum number of predictions to return for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListEventPredictionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListEventPredictionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-