Interface GetModelVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetModelVersionResponse.Builder,,GetModelVersionResponse> FraudDetectorResponse.Builder,SdkBuilder<GetModelVersionResponse.Builder,,GetModelVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetModelVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe model version ARN.default GetModelVersionResponse.BuilderexternalEventsDetail(Consumer<ExternalEventsDetail.Builder> externalEventsDetail) The details of the external events data used for training the model version.externalEventsDetail(ExternalEventsDetail externalEventsDetail) The details of the external events data used for training the model version.default GetModelVersionResponse.BuilderingestedEventsDetail(Consumer<IngestedEventsDetail.Builder> ingestedEventsDetail) The details of the ingested events data used for training the model version.ingestedEventsDetail(IngestedEventsDetail ingestedEventsDetail) The details of the ingested events data used for training the model version.The model ID.The model type.modelType(ModelTypeEnum modelType) The model type.modelVersionNumber(String modelVersionNumber) The model version number.The model version status.default GetModelVersionResponse.BuildertrainingDataSchema(Consumer<TrainingDataSchema.Builder> trainingDataSchema) The training data schema.trainingDataSchema(TrainingDataSchema trainingDataSchema) The training data schema.trainingDataSource(String trainingDataSource) The training data source.trainingDataSource(TrainingDataSourceEnum trainingDataSource) The training data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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:
-
modelVersionNumber
The model version number.
- Parameters:
modelVersionNumber- The model version number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataSource
The training data source.
- Parameters:
trainingDataSource- The training data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingDataSource
The training data source.
- Parameters:
trainingDataSource- The training data source.- 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 GetModelVersionResponse.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:
-
externalEventsDetail
The details of the external events data used for training the model version. This will be populated if the
trainingDataSourceisEXTERNAL_EVENTS- Parameters:
externalEventsDetail- The details of the external events data used for training the model version. This will be populated if thetrainingDataSourceisEXTERNAL_EVENTS- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalEventsDetail
default GetModelVersionResponse.Builder externalEventsDetail(Consumer<ExternalEventsDetail.Builder> externalEventsDetail) The details of the external events data used for training the model version. This will be populated if the
This is a convenience method that creates an instance of thetrainingDataSourceisEXTERNAL_EVENTSExternalEventsDetail.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:
-
ingestedEventsDetail
The details of the ingested events data used for training the model version. This will be populated if the
trainingDataSourceisINGESTED_EVENTS.- Parameters:
ingestedEventsDetail- The details of the ingested events data used for training the model version. This will be populated if thetrainingDataSourceisINGESTED_EVENTS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestedEventsDetail
default GetModelVersionResponse.Builder ingestedEventsDetail(Consumer<IngestedEventsDetail.Builder> ingestedEventsDetail) The details of the ingested events data used for training the model version. This will be populated if the
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:
-
status
The model version status.
Possible values are:
-
TRAINING_IN_PROGRESS -
TRAINING_COMPLETE -
ACTIVATE_REQUESTED -
ACTIVATE_IN_PROGRESS -
ACTIVE -
INACTIVATE_REQUESTED -
INACTIVATE_IN_PROGRESS -
INACTIVE -
ERROR
- Parameters:
status- The model version status.Possible values are:
-
TRAINING_IN_PROGRESS -
TRAINING_COMPLETE -
ACTIVATE_REQUESTED -
ACTIVATE_IN_PROGRESS -
ACTIVE -
INACTIVATE_REQUESTED -
INACTIVATE_IN_PROGRESS -
INACTIVE -
ERROR
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
arn
The model version ARN.
- Parameters:
arn- The model version ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-