@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrialComponentSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the properties of a trial component. To get all the properties, call the DescribeTrialComponent API and provide the TrialComponentName
.
Constructor and Description |
---|
TrialComponentSummary() |
Modifier and Type | Method and Description |
---|---|
TrialComponentSummary |
clone() |
boolean |
equals(Object obj) |
UserContext |
getCreatedBy()
Who created the trial component.
|
Date |
getCreationTime()
When the component was created.
|
String |
getDisplayName()
The name of the component as displayed.
|
Date |
getEndTime()
When the component ended.
|
UserContext |
getLastModifiedBy()
Who last modified the component.
|
Date |
getLastModifiedTime()
When the component was last modified.
|
Date |
getStartTime()
When the component started.
|
TrialComponentStatus |
getStatus()
The status of the component.
|
String |
getTrialComponentArn()
The Amazon Resource Name (ARN) of the trial component.
|
String |
getTrialComponentName()
The name of the trial component.
|
TrialComponentSource |
getTrialComponentSource() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedBy(UserContext createdBy)
Who created the trial component.
|
void |
setCreationTime(Date creationTime)
When the component was created.
|
void |
setDisplayName(String displayName)
The name of the component as displayed.
|
void |
setEndTime(Date endTime)
When the component ended.
|
void |
setLastModifiedBy(UserContext lastModifiedBy)
Who last modified the component.
|
void |
setLastModifiedTime(Date lastModifiedTime)
When the component was last modified.
|
void |
setStartTime(Date startTime)
When the component started.
|
void |
setStatus(TrialComponentStatus status)
The status of the component.
|
void |
setTrialComponentArn(String trialComponentArn)
The Amazon Resource Name (ARN) of the trial component.
|
void |
setTrialComponentName(String trialComponentName)
The name of the trial component.
|
void |
setTrialComponentSource(TrialComponentSource trialComponentSource) |
String |
toString()
Returns a string representation of this object.
|
TrialComponentSummary |
withCreatedBy(UserContext createdBy)
Who created the trial component.
|
TrialComponentSummary |
withCreationTime(Date creationTime)
When the component was created.
|
TrialComponentSummary |
withDisplayName(String displayName)
The name of the component as displayed.
|
TrialComponentSummary |
withEndTime(Date endTime)
When the component ended.
|
TrialComponentSummary |
withLastModifiedBy(UserContext lastModifiedBy)
Who last modified the component.
|
TrialComponentSummary |
withLastModifiedTime(Date lastModifiedTime)
When the component was last modified.
|
TrialComponentSummary |
withStartTime(Date startTime)
When the component started.
|
TrialComponentSummary |
withStatus(TrialComponentStatus status)
The status of the component.
|
TrialComponentSummary |
withTrialComponentArn(String trialComponentArn)
The Amazon Resource Name (ARN) of the trial component.
|
TrialComponentSummary |
withTrialComponentName(String trialComponentName)
The name of the trial component.
|
TrialComponentSummary |
withTrialComponentSource(TrialComponentSource trialComponentSource) |
public void setTrialComponentName(String trialComponentName)
The name of the trial component.
trialComponentName
- The name of the trial component.public String getTrialComponentName()
The name of the trial component.
public TrialComponentSummary withTrialComponentName(String trialComponentName)
The name of the trial component.
trialComponentName
- The name of the trial component.public void setTrialComponentArn(String trialComponentArn)
The Amazon Resource Name (ARN) of the trial component.
trialComponentArn
- The Amazon Resource Name (ARN) of the trial component.public String getTrialComponentArn()
The Amazon Resource Name (ARN) of the trial component.
public TrialComponentSummary withTrialComponentArn(String trialComponentArn)
The Amazon Resource Name (ARN) of the trial component.
trialComponentArn
- The Amazon Resource Name (ARN) of the trial component.public void setDisplayName(String displayName)
The name of the component as displayed. If DisplayName
isn't specified,
TrialComponentName
is displayed.
displayName
- The name of the component as displayed. If DisplayName
isn't specified,
TrialComponentName
is displayed.public String getDisplayName()
The name of the component as displayed. If DisplayName
isn't specified,
TrialComponentName
is displayed.
DisplayName
isn't specified,
TrialComponentName
is displayed.public TrialComponentSummary withDisplayName(String displayName)
The name of the component as displayed. If DisplayName
isn't specified,
TrialComponentName
is displayed.
displayName
- The name of the component as displayed. If DisplayName
isn't specified,
TrialComponentName
is displayed.public void setTrialComponentSource(TrialComponentSource trialComponentSource)
trialComponentSource
- public TrialComponentSource getTrialComponentSource()
public TrialComponentSummary withTrialComponentSource(TrialComponentSource trialComponentSource)
trialComponentSource
- public void setStatus(TrialComponentStatus status)
The status of the component. States include:
InProgress
Completed
Failed
status
- The status of the component. States include:
InProgress
Completed
Failed
public TrialComponentStatus getStatus()
The status of the component. States include:
InProgress
Completed
Failed
InProgress
Completed
Failed
public TrialComponentSummary withStatus(TrialComponentStatus status)
The status of the component. States include:
InProgress
Completed
Failed
status
- The status of the component. States include:
InProgress
Completed
Failed
public void setStartTime(Date startTime)
When the component started.
startTime
- When the component started.public Date getStartTime()
When the component started.
public TrialComponentSummary withStartTime(Date startTime)
When the component started.
startTime
- When the component started.public void setEndTime(Date endTime)
When the component ended.
endTime
- When the component ended.public Date getEndTime()
When the component ended.
public TrialComponentSummary withEndTime(Date endTime)
When the component ended.
endTime
- When the component ended.public void setCreationTime(Date creationTime)
When the component was created.
creationTime
- When the component was created.public Date getCreationTime()
When the component was created.
public TrialComponentSummary withCreationTime(Date creationTime)
When the component was created.
creationTime
- When the component was created.public void setCreatedBy(UserContext createdBy)
Who created the trial component.
createdBy
- Who created the trial component.public UserContext getCreatedBy()
Who created the trial component.
public TrialComponentSummary withCreatedBy(UserContext createdBy)
Who created the trial component.
createdBy
- Who created the trial component.public void setLastModifiedTime(Date lastModifiedTime)
When the component was last modified.
lastModifiedTime
- When the component was last modified.public Date getLastModifiedTime()
When the component was last modified.
public TrialComponentSummary withLastModifiedTime(Date lastModifiedTime)
When the component was last modified.
lastModifiedTime
- When the component was last modified.public void setLastModifiedBy(UserContext lastModifiedBy)
Who last modified the component.
lastModifiedBy
- Who last modified the component.public UserContext getLastModifiedBy()
Who last modified the component.
public TrialComponentSummary withLastModifiedBy(UserContext lastModifiedBy)
Who last modified the component.
lastModifiedBy
- Who last modified the component.public String toString()
toString
in class Object
Object.toString()
public TrialComponentSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.