Class ModelVersionDetail

java.lang.Object
software.amazon.awssdk.services.frauddetector.model.ModelVersionDetail
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ModelVersionDetail.Builder,ModelVersionDetail>

@Generated("software.amazon.awssdk:codegen") public final class ModelVersionDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelVersionDetail.Builder,ModelVersionDetail>

The details of the model version.

See Also:
  • Method Details

    • 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, modelType will return ModelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modelTypeAsString().

      Returns:
      The model type.
      See Also:
    • modelTypeAsString

      public final String modelTypeAsString()

      The model type.

      If the service returns an enum value that is not available in the current SDK version, modelType will return ModelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modelTypeAsString().

      Returns:
      The model type.
      See Also:
    • modelVersionNumber

      public final String modelVersionNumber()

      The model version number.

      Returns:
      The model version number.
    • status

      public final String status()

      The status of the model version.

      Returns:
      The status of the model version.
    • trainingDataSource

      public final TrainingDataSourceEnum trainingDataSource()

      The model version training data source.

      If the service returns an enum value that is not available in the current SDK version, trainingDataSource will return TrainingDataSourceEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from trainingDataSourceAsString().

      Returns:
      The model version training data source.
      See Also:
    • trainingDataSourceAsString

      public final String trainingDataSourceAsString()

      The model version training data source.

      If the service returns an enum value that is not available in the current SDK version, trainingDataSource will return TrainingDataSourceEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from trainingDataSourceAsString().

      Returns:
      The model version training data source.
      See Also:
    • trainingDataSchema

      public final TrainingDataSchema trainingDataSchema()

      The training data schema.

      Returns:
      The training data schema.
    • externalEventsDetail

      public final ExternalEventsDetail externalEventsDetail()

      The external events data details. This will be populated if the trainingDataSource for the model version is specified as EXTERNAL_EVENTS.

      Returns:
      The external events data details. This will be populated if the trainingDataSource for the model version is specified as EXTERNAL_EVENTS.
    • ingestedEventsDetail

      public final IngestedEventsDetail ingestedEventsDetail()

      The ingested events data details. This will be populated if the trainingDataSource for the model version is specified as INGESTED_EVENTS.

      Returns:
      The ingested events data details. This will be populated if the trainingDataSource for the model version is specified as INGESTED_EVENTS.
    • trainingResult

      public final TrainingResult trainingResult()

      The training results.

      Returns:
      The training results.
    • lastUpdatedTime

      public final String lastUpdatedTime()

      The timestamp when the model was last updated.

      Returns:
      The timestamp when the model was last updated.
    • createdTime

      public final String createdTime()

      The timestamp when the model was created.

      Returns:
      The timestamp when the model was created.
    • arn

      public final String arn()

      The model version ARN.

      Returns:
      The model version ARN.
    • trainingResultV2

      public final TrainingResultV2 trainingResultV2()

      The training result details. The details include the relative importance of the variables.

      Returns:
      The training result details. The details include the relative importance of the variables.
    • toBuilder

      public ModelVersionDetail.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ModelVersionDetail.Builder,ModelVersionDetail>
      Returns:
      a builder for type T
    • builder

      public static ModelVersionDetail.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ModelVersionDetail.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.