Class CustomModelSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.CustomModelSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomModelSummary.Builder,CustomModelSummary>
@Generated("software.amazon.awssdk:codegen") public final class CustomModelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomModelSummary.Builder,CustomModelSummary>
Summary information for a custom model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomModelSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaseModelArn()The base model Amazon Resource Name (ARN).StringbaseModelName()The base model name.static CustomModelSummary.Builderbuilder()InstantcreationTime()Creation time of the model.CustomizationTypecustomizationType()Specifies whether to carry out continued pre-training of a model or whether to fine-tune it.StringcustomizationTypeAsString()Specifies whether to carry out continued pre-training of a model or whether to fine-tune it.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmodelArn()The Amazon Resource Name (ARN) of the custom model.StringmodelName()The name of the custom model.ModelStatusmodelStatus()The current status of the custom model.StringmodelStatusAsString()The current status of the custom model.StringownerAccountId()The unique identifier of the account that owns the model.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CustomModelSummary.Builder>serializableBuilderClass()CustomModelSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
modelArn
public final String modelArn()
The Amazon Resource Name (ARN) of the custom model.
- Returns:
- The Amazon Resource Name (ARN) of the custom model.
-
modelName
public final String modelName()
The name of the custom model.
- Returns:
- The name of the custom model.
-
creationTime
public final Instant creationTime()
Creation time of the model.
- Returns:
- Creation time of the model.
-
baseModelArn
public final String baseModelArn()
The base model Amazon Resource Name (ARN).
- Returns:
- The base model Amazon Resource Name (ARN).
-
baseModelName
public final String baseModelName()
The base model name.
- Returns:
- The base model name.
-
customizationType
public final CustomizationType customizationType()
Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
If the service returns an enum value that is not available in the current SDK version,
customizationTypewill returnCustomizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcustomizationTypeAsString().- Returns:
- Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
- See Also:
CustomizationType
-
customizationTypeAsString
public final String customizationTypeAsString()
Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
If the service returns an enum value that is not available in the current SDK version,
customizationTypewill returnCustomizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcustomizationTypeAsString().- Returns:
- Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
- See Also:
CustomizationType
-
ownerAccountId
public final String ownerAccountId()
The unique identifier of the account that owns the model.
- Returns:
- The unique identifier of the account that owns the model.
-
modelStatus
public final ModelStatus modelStatus()
The current status of the custom model. Possible values include:
-
Creating- The model is being created and validated. -
Active- The model has been successfully created and is ready for use. -
Failed- The model creation process failed.
If the service returns an enum value that is not available in the current SDK version,
modelStatuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelStatusAsString().- Returns:
- The current status of the custom model. Possible values include:
-
Creating- The model is being created and validated. -
Active- The model has been successfully created and is ready for use. -
Failed- The model creation process failed.
-
- See Also:
ModelStatus
-
-
modelStatusAsString
public final String modelStatusAsString()
The current status of the custom model. Possible values include:
-
Creating- The model is being created and validated. -
Active- The model has been successfully created and is ready for use. -
Failed- The model creation process failed.
If the service returns an enum value that is not available in the current SDK version,
modelStatuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelStatusAsString().- Returns:
- The current status of the custom model. Possible values include:
-
Creating- The model is being created and validated. -
Active- The model has been successfully created and is ready for use. -
Failed- The model creation process failed.
-
- See Also:
ModelStatus
-
-
toBuilder
public CustomModelSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomModelSummary.Builder,CustomModelSummary>
-
builder
public static CustomModelSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomModelSummary.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-