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
TrialComponentArtifact
as part of theInputArtifacts
andOutputArtifacts
parameters 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 interface
TrialComponentArtifact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrialComponentArtifact.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
mediaType()
The media type of the artifact, which indicates the type of data in the artifact file.List<SdkField<?>>
sdkFields()
static Class<? extends TrialComponentArtifact.Builder>
serializableBuilderClass()
TrialComponentArtifact.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
value()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-