@Generated(value="software.amazon.awssdk:codegen") public final class TrialComponent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrialComponent.Builder,TrialComponent>
The properties of a trial component as returned by the Search API.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TrialComponent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TrialComponent.Builder |
builder() |
UserContext |
createdBy()
Who created the trial component.
|
Instant |
creationTime()
When the component was created.
|
String |
displayName()
The name of the component as displayed.
|
Instant |
endTime()
When the component ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInputArtifacts()
For responses, this returns true if the service returned a value for the InputArtifacts property.
|
boolean |
hasMetrics()
For responses, this returns true if the service returned a value for the Metrics property.
|
boolean |
hasOutputArtifacts()
For responses, this returns true if the service returned a value for the OutputArtifacts property.
|
boolean |
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.
|
boolean |
hasParents()
For responses, this returns true if the service returned a value for the Parents property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Map<String,TrialComponentArtifact> |
inputArtifacts()
The input artifacts of the component.
|
UserContext |
lastModifiedBy()
Returns the value of the LastModifiedBy property for this object.
|
Instant |
lastModifiedTime()
When the component was last modified.
|
String |
lineageGroupArn()
The Amazon Resource Name (ARN) of the lineage group resource.
|
MetadataProperties |
metadataProperties()
Returns the value of the MetadataProperties property for this object.
|
List<TrialComponentMetricSummary> |
metrics()
The metrics for the component.
|
Map<String,TrialComponentArtifact> |
outputArtifacts()
The output artifacts of the component.
|
Map<String,TrialComponentParameterValue> |
parameters()
The hyperparameters of the component.
|
List<Parent> |
parents()
An array of the parents of the component.
|
String |
runName()
The name of the experiment run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrialComponent.Builder> |
serializableBuilderClass() |
TrialComponentSource |
source()
The Amazon Resource Name (ARN) and job type of the source of the component.
|
TrialComponentSourceDetail |
sourceDetail()
Details of the source of the component.
|
Instant |
startTime()
When the component started.
|
TrialComponentStatus |
status()
Returns the value of the Status property for this object.
|
List<Tag> |
tags()
The list of tags that are associated with the component.
|
TrialComponent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trialComponentArn()
The Amazon Resource Name (ARN) of the trial component.
|
String |
trialComponentName()
The name of the trial component.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String trialComponentName()
The name of the trial component.
public final String displayName()
The name of the component as displayed. If DisplayName isn't specified,
TrialComponentName is displayed.
DisplayName isn't specified,
TrialComponentName is displayed.public final String trialComponentArn()
The Amazon Resource Name (ARN) of the trial component.
public final TrialComponentSource source()
The Amazon Resource Name (ARN) and job type of the source of the component.
public final TrialComponentStatus status()
public final Instant startTime()
When the component started.
public final Instant endTime()
When the component ended.
public final Instant creationTime()
When the component was created.
public final UserContext createdBy()
Who created the trial component.
public final Instant lastModifiedTime()
When the component was last modified.
public final UserContext lastModifiedBy()
public final boolean hasParameters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,TrialComponentParameterValue> parameters()
The hyperparameters of the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameters() method.
public final boolean hasInputArtifacts()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,TrialComponentArtifact> inputArtifacts()
The input artifacts of the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInputArtifacts() method.
public final boolean hasOutputArtifacts()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,TrialComponentArtifact> outputArtifacts()
The output artifacts of the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOutputArtifacts() method.
public final boolean hasMetrics()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<TrialComponentMetricSummary> metrics()
The metrics for the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMetrics() method.
public final MetadataProperties metadataProperties()
public final TrialComponentSourceDetail sourceDetail()
Details of the source of the component.
public final String lineageGroupArn()
The Amazon Resource Name (ARN) of the lineage group resource.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
The list of tags that are associated with the component. You can use Search API to search on the tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final boolean hasParents()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Parent> parents()
An array of the parents of the component. A parent is a trial the component is associated with and the experiment the trial is part of. A component might not have any parents.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParents() method.
public final String runName()
The name of the experiment run.
public TrialComponent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TrialComponent.Builder,TrialComponent>public static TrialComponent.Builder builder()
public static Class<? extends TrialComponent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.