Class TrialComponentArtifact
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.TrialComponentArtifact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TrialComponentArtifact.Builder,TrialComponentArtifact>
@Generated("software.amazon.awssdk:codegen") public final class TrialComponentArtifact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrialComponentArtifact.Builder,TrialComponentArtifact>
Represents an input or output artifact of a trial component. You specify
TrialComponentArtifactas part of theInputArtifactsandOutputArtifactsparameters in the CreateTrialComponent request.Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTrialComponentArtifact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrialComponentArtifact.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmediaType()The media type of the artifact, which indicates the type of data in the artifact file.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TrialComponentArtifact.Builder>serializableBuilderClass()TrialComponentArtifact.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The location of the artifact.-
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
-
mediaType
public final String mediaType()
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
- Returns:
- The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
-
value
public final String value()
The location of the artifact.
- Returns:
- The location of the artifact.
-
toBuilder
public TrialComponentArtifact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TrialComponentArtifact.Builder,TrialComponentArtifact>
-
builder
public static TrialComponentArtifact.Builder builder()
-
serializableBuilderClass
public static Class<? extends TrialComponentArtifact.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
-
-