@Generated(value="software.amazon.awssdk:codegen") public final class TrialComponent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrialComponent.Builder,TrialComponent>
A summary of 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()
Returns the value of the CreatedBy property for this object.
|
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()
Returns true if the InputArtifacts property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasMetrics()
Returns true if the Metrics property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasOutputArtifacts()
Returns true if the OutputArtifacts property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasParents()
Returns true if the Parents property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrialComponent.Builder> |
serializableBuilderClass() |
TrialComponentSource |
source()
Returns the value of the Source property for this object.
|
TrialComponentSourceDetail |
sourceDetail()
The source of the trial 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, wait
copy
public String trialComponentName()
The name of the trial component.
public 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 String trialComponentArn()
The Amazon Resource Name (ARN) of the trial component.
public TrialComponentSource source()
public TrialComponentStatus status()
public Instant startTime()
When the component started.
public Instant endTime()
When the component ended.
public Instant creationTime()
When the component was created.
public UserContext createdBy()
public Instant lastModifiedTime()
When the component was last modified.
public UserContext lastModifiedBy()
public boolean hasParameters()
public Map<String,TrialComponentParameterValue> parameters()
The hyperparameters of the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters()
to see if a value was sent in this field.
public boolean hasInputArtifacts()
public Map<String,TrialComponentArtifact> inputArtifacts()
The input artifacts of the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInputArtifacts()
to see if a value was sent in this field.
public boolean hasOutputArtifacts()
public Map<String,TrialComponentArtifact> outputArtifacts()
The output artifacts of the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOutputArtifacts()
to see if a value was sent in this field.
public boolean hasMetrics()
public List<TrialComponentMetricSummary> metrics()
The metrics for the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMetrics()
to see if a value was sent in this field.
public TrialComponentSourceDetail sourceDetail()
The source of the trial component.>
public boolean hasTags()
public 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.
You can use hasTags()
to see if a value was sent in this field.
public boolean hasParents()
public 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.
You can use hasParents()
to see if a value was sent in this field.
public TrialComponent.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TrialComponent.Builder,TrialComponent>
public static TrialComponent.Builder builder()
public static Class<? extends TrialComponent.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.