@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Trial extends Object implements Serializable, Cloneable, StructuredPojo
The properties of a trial as returned by the Search API.
Constructor and Description |
---|
Trial() |
Modifier and Type | Method and Description |
---|---|
Trial |
clone() |
boolean |
equals(Object obj) |
UserContext |
getCreatedBy()
Who created the trial.
|
Date |
getCreationTime()
When the trial was created.
|
String |
getDisplayName()
The name of the trial as displayed.
|
String |
getExperimentName()
The name of the experiment the trial is part of.
|
UserContext |
getLastModifiedBy() |
Date |
getLastModifiedTime()
Who last modified the trial.
|
MetadataProperties |
getMetadataProperties() |
TrialSource |
getSource() |
List<Tag> |
getTags()
The list of tags that are associated with the trial.
|
String |
getTrialArn()
The Amazon Resource Name (ARN) of the trial.
|
List<TrialComponentSimpleSummary> |
getTrialComponentSummaries()
A list of the components associated with the trial.
|
String |
getTrialName()
The name of the trial.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedBy(UserContext createdBy)
Who created the trial.
|
void |
setCreationTime(Date creationTime)
When the trial was created.
|
void |
setDisplayName(String displayName)
The name of the trial as displayed.
|
void |
setExperimentName(String experimentName)
The name of the experiment the trial is part of.
|
void |
setLastModifiedBy(UserContext lastModifiedBy) |
void |
setLastModifiedTime(Date lastModifiedTime)
Who last modified the trial.
|
void |
setMetadataProperties(MetadataProperties metadataProperties) |
void |
setSource(TrialSource source) |
void |
setTags(Collection<Tag> tags)
The list of tags that are associated with the trial.
|
void |
setTrialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.
|
void |
setTrialComponentSummaries(Collection<TrialComponentSimpleSummary> trialComponentSummaries)
A list of the components associated with the trial.
|
void |
setTrialName(String trialName)
The name of the trial.
|
String |
toString()
Returns a string representation of this object.
|
Trial |
withCreatedBy(UserContext createdBy)
Who created the trial.
|
Trial |
withCreationTime(Date creationTime)
When the trial was created.
|
Trial |
withDisplayName(String displayName)
The name of the trial as displayed.
|
Trial |
withExperimentName(String experimentName)
The name of the experiment the trial is part of.
|
Trial |
withLastModifiedBy(UserContext lastModifiedBy) |
Trial |
withLastModifiedTime(Date lastModifiedTime)
Who last modified the trial.
|
Trial |
withMetadataProperties(MetadataProperties metadataProperties) |
Trial |
withSource(TrialSource source) |
Trial |
withTags(Collection<Tag> tags)
The list of tags that are associated with the trial.
|
Trial |
withTags(Tag... tags)
The list of tags that are associated with the trial.
|
Trial |
withTrialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.
|
Trial |
withTrialComponentSummaries(Collection<TrialComponentSimpleSummary> trialComponentSummaries)
A list of the components associated with the trial.
|
Trial |
withTrialComponentSummaries(TrialComponentSimpleSummary... trialComponentSummaries)
A list of the components associated with the trial.
|
Trial |
withTrialName(String trialName)
The name of the trial.
|
public void setTrialName(String trialName)
The name of the trial.
trialName
- The name of the trial.public String getTrialName()
The name of the trial.
public Trial withTrialName(String trialName)
The name of the trial.
trialName
- The name of the trial.public void setTrialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.
trialArn
- The Amazon Resource Name (ARN) of the trial.public String getTrialArn()
The Amazon Resource Name (ARN) of the trial.
public Trial withTrialArn(String trialArn)
The Amazon Resource Name (ARN) of the trial.
trialArn
- The Amazon Resource Name (ARN) of the trial.public void setDisplayName(String displayName)
The name of the trial as displayed. If DisplayName
isn't specified, TrialName
is
displayed.
displayName
- The name of the trial as displayed. If DisplayName
isn't specified, TrialName
is
displayed.public String getDisplayName()
The name of the trial as displayed. If DisplayName
isn't specified, TrialName
is
displayed.
DisplayName
isn't specified, TrialName
is displayed.public Trial withDisplayName(String displayName)
The name of the trial as displayed. If DisplayName
isn't specified, TrialName
is
displayed.
displayName
- The name of the trial as displayed. If DisplayName
isn't specified, TrialName
is
displayed.public void setExperimentName(String experimentName)
The name of the experiment the trial is part of.
experimentName
- The name of the experiment the trial is part of.public String getExperimentName()
The name of the experiment the trial is part of.
public Trial withExperimentName(String experimentName)
The name of the experiment the trial is part of.
experimentName
- The name of the experiment the trial is part of.public void setSource(TrialSource source)
source
- public TrialSource getSource()
public Trial withSource(TrialSource source)
source
- public void setCreationTime(Date creationTime)
When the trial was created.
creationTime
- When the trial was created.public Date getCreationTime()
When the trial was created.
public Trial withCreationTime(Date creationTime)
When the trial was created.
creationTime
- When the trial was created.public void setCreatedBy(UserContext createdBy)
Who created the trial.
createdBy
- Who created the trial.public UserContext getCreatedBy()
Who created the trial.
public Trial withCreatedBy(UserContext createdBy)
Who created the trial.
createdBy
- Who created the trial.public void setLastModifiedTime(Date lastModifiedTime)
Who last modified the trial.
lastModifiedTime
- Who last modified the trial.public Date getLastModifiedTime()
Who last modified the trial.
public Trial withLastModifiedTime(Date lastModifiedTime)
Who last modified the trial.
lastModifiedTime
- Who last modified the trial.public void setLastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- public UserContext getLastModifiedBy()
public Trial withLastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- public void setMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public MetadataProperties getMetadataProperties()
public Trial withMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public List<Tag> getTags()
The list of tags that are associated with the trial. You can use Search API to search on the tags.
public void setTags(Collection<Tag> tags)
The list of tags that are associated with the trial. You can use Search API to search on the tags.
tags
- The list of tags that are associated with the trial. You can use Search API to search
on the tags.public Trial withTags(Tag... tags)
The list of tags that are associated with the trial. You can use Search API to search on the tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags that are associated with the trial. You can use Search API to search
on the tags.public Trial withTags(Collection<Tag> tags)
The list of tags that are associated with the trial. You can use Search API to search on the tags.
tags
- The list of tags that are associated with the trial. You can use Search API to search
on the tags.public List<TrialComponentSimpleSummary> getTrialComponentSummaries()
A list of the components associated with the trial. For each component, a summary of the component's properties is included.
public void setTrialComponentSummaries(Collection<TrialComponentSimpleSummary> trialComponentSummaries)
A list of the components associated with the trial. For each component, a summary of the component's properties is included.
trialComponentSummaries
- A list of the components associated with the trial. For each component, a summary of the component's
properties is included.public Trial withTrialComponentSummaries(TrialComponentSimpleSummary... trialComponentSummaries)
A list of the components associated with the trial. For each component, a summary of the component's properties is included.
NOTE: This method appends the values to the existing list (if any). Use
setTrialComponentSummaries(java.util.Collection)
or
withTrialComponentSummaries(java.util.Collection)
if you want to override the existing values.
trialComponentSummaries
- A list of the components associated with the trial. For each component, a summary of the component's
properties is included.public Trial withTrialComponentSummaries(Collection<TrialComponentSimpleSummary> trialComponentSummaries)
A list of the components associated with the trial. For each component, a summary of the component's properties is included.
trialComponentSummaries
- A list of the components associated with the trial. For each component, a summary of the component's
properties is included.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.