Interface GetModelVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetModelVersionResponse.Builder,GetModelVersionResponse>,FraudDetectorResponse.Builder,SdkBuilder<GetModelVersionResponse.Builder,GetModelVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetModelVersionResponse
public static interface GetModelVersionResponse.Builder extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<GetModelVersionResponse.Builder,GetModelVersionResponse>
-
-
Method Summary
-
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
-
modelId
GetModelVersionResponse.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
GetModelVersionResponse.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
GetModelVersionResponse.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
-
modelVersionNumber
GetModelVersionResponse.Builder modelVersionNumber(String 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
GetModelVersionResponse.Builder trainingDataSource(String 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:
TrainingDataSourceEnum,TrainingDataSourceEnum
-
trainingDataSource
GetModelVersionResponse.Builder trainingDataSource(TrainingDataSourceEnum 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:
TrainingDataSourceEnum,TrainingDataSourceEnum
-
trainingDataSchema
GetModelVersionResponse.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 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:
trainingDataSchema(TrainingDataSchema)
-
externalEventsDetail
GetModelVersionResponse.Builder externalEventsDetail(ExternalEventsDetail 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:
externalEventsDetail(ExternalEventsDetail)
-
ingestedEventsDetail
GetModelVersionResponse.Builder ingestedEventsDetail(IngestedEventsDetail 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:
ingestedEventsDetail(IngestedEventsDetail)
-
status
GetModelVersionResponse.Builder status(String 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
GetModelVersionResponse.Builder arn(String 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.
-
-