Interface CreateModelVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateModelVersionRequest.Builder,
,CreateModelVersionRequest> FraudDetectorRequest.Builder
,SdkBuilder<CreateModelVersionRequest.Builder,
,CreateModelVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateModelVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionexternalEventsDetail
(Consumer<ExternalEventsDetail.Builder> externalEventsDetail) Details of the external events data used for model version training.externalEventsDetail
(ExternalEventsDetail externalEventsDetail) Details of the external events data used for model version training.ingestedEventsDetail
(Consumer<IngestedEventsDetail.Builder> ingestedEventsDetail) Details of the ingested events data used for model version training.ingestedEventsDetail
(IngestedEventsDetail ingestedEventsDetail) Details of the ingested events data used for model version training.The model ID.The model type.modelType
(ModelTypeEnum modelType) The model type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) A collection of key and value pairs.tags
(Consumer<Tag.Builder>... tags) A collection of key and value pairs.A collection of key and value pairs.trainingDataSchema
(Consumer<TrainingDataSchema.Builder> trainingDataSchema) The training data schema.trainingDataSchema
(TrainingDataSchema trainingDataSchema) The training data schema.trainingDataSource
(String trainingDataSource) The training data source location in Amazon S3.trainingDataSource
(TrainingDataSourceEnum trainingDataSource) The training data source location in Amazon S3.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 Details
-
modelId
The model ID.
- Parameters:
modelId
- The model ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelType
The model type.
- Parameters:
modelType
- The model type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelType
The model type.
- Parameters:
modelType
- The model type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingDataSource
The training data source location in Amazon S3.
- Parameters:
trainingDataSource
- The training data source location in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingDataSource
The training data source location in Amazon S3.
- Parameters:
trainingDataSource
- The training data source location in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingDataSchema
The training data schema.
- Parameters:
trainingDataSchema
- The training data schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataSchema
default CreateModelVersionRequest.Builder trainingDataSchema(Consumer<TrainingDataSchema.Builder> trainingDataSchema) The training data schema.
This is a convenience method that creates an instance of theTrainingDataSchema.Builder
avoiding the need to create one manually viaTrainingDataSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingDataSchema(TrainingDataSchema)
.- Parameters:
trainingDataSchema
- a consumer that will call methods onTrainingDataSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
externalEventsDetail
Details of the external events data used for model version training. Required if
trainingDataSource
isEXTERNAL_EVENTS
.- Parameters:
externalEventsDetail
- Details of the external events data used for model version training. Required iftrainingDataSource
isEXTERNAL_EVENTS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalEventsDetail
default CreateModelVersionRequest.Builder externalEventsDetail(Consumer<ExternalEventsDetail.Builder> externalEventsDetail) Details of the external events data used for model version training. Required if
This is a convenience method that creates an instance of thetrainingDataSource
isEXTERNAL_EVENTS
.ExternalEventsDetail.Builder
avoiding the need to create one manually viaExternalEventsDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexternalEventsDetail(ExternalEventsDetail)
.- Parameters:
externalEventsDetail
- a consumer that will call methods onExternalEventsDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ingestedEventsDetail
Details of the ingested events data used for model version training. Required if
trainingDataSource
isINGESTED_EVENTS
.- Parameters:
ingestedEventsDetail
- Details of the ingested events data used for model version training. Required iftrainingDataSource
isINGESTED_EVENTS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestedEventsDetail
default CreateModelVersionRequest.Builder ingestedEventsDetail(Consumer<IngestedEventsDetail.Builder> ingestedEventsDetail) Details of the ingested events data used for model version training. Required if
This is a convenience method that creates an instance of thetrainingDataSource
isINGESTED_EVENTS
.IngestedEventsDetail.Builder
avoiding the need to create one manually viaIngestedEventsDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toingestedEventsDetail(IngestedEventsDetail)
.- Parameters:
ingestedEventsDetail
- a consumer that will call methods onIngestedEventsDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A collection of key and value pairs.
- Parameters:
tags
- A collection of key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of key and value pairs.
- Parameters:
tags
- A collection of key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of key and value pairs.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateModelVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateModelVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-