Class GetModelVersionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse
-
- software.amazon.awssdk.services.frauddetector.model.GetModelVersionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetModelVersionResponse.Builder,GetModelVersionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetModelVersionResponse extends FraudDetectorResponse implements ToCopyableBuilder<GetModelVersionResponse.Builder,GetModelVersionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetModelVersionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The model version ARN.static GetModelVersionResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExternalEventsDetailexternalEventsDetail()The details of the external events data used for training the model version.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IngestedEventsDetailingestedEventsDetail()The details of the ingested events data used for training the model version.StringmodelId()The model ID.ModelTypeEnummodelType()The model type.StringmodelTypeAsString()The model type.StringmodelVersionNumber()The model version number.List<SdkField<?>>sdkFields()static Class<? extends GetModelVersionResponse.Builder>serializableBuilderClass()Stringstatus()The model version status.GetModelVersionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.TrainingDataSchematrainingDataSchema()The training data schema.TrainingDataSourceEnumtrainingDataSource()The training data source.StringtrainingDataSourceAsString()The training data source.-
Methods inherited from class software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
modelId
public final String modelId()
The model ID.
- Returns:
- The model ID.
-
modelType
public final ModelTypeEnum modelType()
The model type.
If the service returns an enum value that is not available in the current SDK version,
modelTypewill returnModelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelTypeAsString().- Returns:
- The model type.
- See Also:
ModelTypeEnum
-
modelTypeAsString
public final String modelTypeAsString()
The model type.
If the service returns an enum value that is not available in the current SDK version,
modelTypewill returnModelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelTypeAsString().- Returns:
- The model type.
- See Also:
ModelTypeEnum
-
modelVersionNumber
public final String modelVersionNumber()
The model version number.
- Returns:
- The model version number.
-
trainingDataSource
public final TrainingDataSourceEnum trainingDataSource()
The training data source.
If the service returns an enum value that is not available in the current SDK version,
trainingDataSourcewill returnTrainingDataSourceEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrainingDataSourceAsString().- Returns:
- The training data source.
- See Also:
TrainingDataSourceEnum
-
trainingDataSourceAsString
public final String trainingDataSourceAsString()
The training data source.
If the service returns an enum value that is not available in the current SDK version,
trainingDataSourcewill returnTrainingDataSourceEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrainingDataSourceAsString().- Returns:
- The training data source.
- See Also:
TrainingDataSourceEnum
-
trainingDataSchema
public final TrainingDataSchema trainingDataSchema()
The training data schema.
- Returns:
- The training data schema.
-
externalEventsDetail
public final ExternalEventsDetail externalEventsDetail()
The details of the external events data used for training the model version. This will be populated if the
trainingDataSourceisEXTERNAL_EVENTS- Returns:
- The details of the external events data used for training the model version. This will be populated if
the
trainingDataSourceisEXTERNAL_EVENTS
-
ingestedEventsDetail
public final IngestedEventsDetail ingestedEventsDetail()
The details of the ingested events data used for training the model version. This will be populated if the
trainingDataSourceisINGESTED_EVENTS.- Returns:
- The details of the ingested events data used for training the model version. This will be populated if
the
trainingDataSourceisINGESTED_EVENTS.
-
status
public final 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
- Returns:
- 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
-
-
-
arn
public final String arn()
The model version ARN.
- Returns:
- The model version ARN.
-
toBuilder
public GetModelVersionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetModelVersionResponse.Builder,GetModelVersionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetModelVersionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetModelVersionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-