Interface CreateModelVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateModelVersionRequest.Builder,CreateModelVersionRequest>,FraudDetectorRequest.Builder,SdkBuilder<CreateModelVersionRequest.Builder,CreateModelVersionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateModelVersionRequest
public static interface CreateModelVersionRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<CreateModelVersionRequest.Builder,CreateModelVersionRequest>
-
-
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
-
modelId
CreateModelVersionRequest.Builder modelId(String 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
CreateModelVersionRequest.Builder modelType(String 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:
ModelTypeEnum,ModelTypeEnum
-
modelType
CreateModelVersionRequest.Builder modelType(ModelTypeEnum 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:
ModelTypeEnum,ModelTypeEnum
-
trainingDataSource
CreateModelVersionRequest.Builder trainingDataSource(String 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:
TrainingDataSourceEnum,TrainingDataSourceEnum
-
trainingDataSource
CreateModelVersionRequest.Builder trainingDataSource(TrainingDataSourceEnum 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:
TrainingDataSourceEnum,TrainingDataSourceEnum
-
trainingDataSchema
CreateModelVersionRequest.Builder trainingDataSchema(TrainingDataSchema 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.Builderavoiding the need to create one manually viaTrainingDataSchema.builder().When the
Consumercompletes,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:
trainingDataSchema(TrainingDataSchema)
-
externalEventsDetail
CreateModelVersionRequest.Builder externalEventsDetail(ExternalEventsDetail externalEventsDetail)
Details of the external events data used for model version training. Required if
trainingDataSourceisEXTERNAL_EVENTS.- Parameters:
externalEventsDetail- Details of the external events data used for model version training. Required iftrainingDataSourceisEXTERNAL_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 thetrainingDataSourceisEXTERNAL_EVENTS.ExternalEventsDetail.Builderavoiding the need to create one manually viaExternalEventsDetail.builder().When the
Consumercompletes,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:
externalEventsDetail(ExternalEventsDetail)
-
ingestedEventsDetail
CreateModelVersionRequest.Builder ingestedEventsDetail(IngestedEventsDetail ingestedEventsDetail)
Details of the ingested events data used for model version training. Required if
trainingDataSourceisINGESTED_EVENTS.- Parameters:
ingestedEventsDetail- Details of the ingested events data used for model version training. Required iftrainingDataSourceisINGESTED_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 thetrainingDataSourceisINGESTED_EVENTS.IngestedEventsDetail.Builderavoiding the need to create one manually viaIngestedEventsDetail.builder().When the
Consumercompletes,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:
ingestedEventsDetail(IngestedEventsDetail)
-
tags
CreateModelVersionRequest.Builder tags(Collection<Tag> 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
CreateModelVersionRequest.Builder tags(Tag... 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
CreateModelVersionRequest.Builder tags(Consumer<Tag.Builder>... tags)
A collection of key and value pairs.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateModelVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateModelVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-