Class Definition
- java.lang.Object
-
- software.amazon.awssdk.services.sagemakeredge.model.Definition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Definition.Builder,Definition>
@Generated("software.amazon.awssdk:codegen") public final class Definition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Definition.Builder,Definition>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Definition.Builderbuilder()Checksumchecksum()The checksum information of the model.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmodelHandle()The unique model handle.Strings3Url()The absolute S3 location of the model.List<SdkField<?>>sdkFields()static Class<? extends Definition.Builder>serializableBuilderClass()ModelStatestate()The desired state of the model.StringstateAsString()The desired state of the model.Definition.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
-
modelHandle
public final String modelHandle()
The unique model handle.
- Returns:
- The unique model handle.
-
s3Url
public final String s3Url()
The absolute S3 location of the model.
- Returns:
- The absolute S3 location of the model.
-
checksum
public final Checksum checksum()
The checksum information of the model.
- Returns:
- The checksum information of the model.
-
state
public final ModelState state()
The desired state of the model.
If the service returns an enum value that is not available in the current SDK version,
statewill returnModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The desired state of the model.
- See Also:
ModelState
-
stateAsString
public final String stateAsString()
The desired state of the model.
If the service returns an enum value that is not available in the current SDK version,
statewill returnModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The desired state of the model.
- See Also:
ModelState
-
toBuilder
public Definition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Definition.Builder,Definition>
-
builder
public static Definition.Builder builder()
-
serializableBuilderClass
public static Class<? extends Definition.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.
-
-