@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrialComponentArtifact extends Object implements Serializable, Cloneable, StructuredPojo
Represents an input or output artifact of a trial component. You specify TrialComponentArtifact
as part
of the InputArtifacts
and OutputArtifacts
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.
Constructor and Description |
---|
TrialComponentArtifact() |
Modifier and Type | Method and Description |
---|---|
TrialComponentArtifact |
clone() |
boolean |
equals(Object obj) |
String |
getMediaType()
The media type of the artifact, which indicates the type of data in the artifact file.
|
String |
getValue()
The location of the artifact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMediaType(String mediaType)
The media type of the artifact, which indicates the type of data in the artifact file.
|
void |
setValue(String value)
The location of the artifact.
|
String |
toString()
Returns a string representation of this object.
|
TrialComponentArtifact |
withMediaType(String mediaType)
The media type of the artifact, which indicates the type of data in the artifact file.
|
TrialComponentArtifact |
withValue(String value)
The location of the artifact.
|
public void setMediaType(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.
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.public String getMediaType()
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.
public TrialComponentArtifact withMediaType(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.
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.public void setValue(String value)
The location of the artifact.
value
- The location of the artifact.public String getValue()
The location of the artifact.
public TrialComponentArtifact withValue(String value)
The location of the artifact.
value
- The location of the artifact.public String toString()
toString
in class Object
Object.toString()
public TrialComponentArtifact clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.