@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrialRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTrialRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrialRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDisplayName()
The name of the trial as displayed.
|
String |
getExperimentName()
The name of the experiment to associate the trial with.
|
MetadataProperties |
getMetadataProperties() |
List<Tag> |
getTags()
A list of tags to associate with the trial.
|
String |
getTrialName()
The name of the trial.
|
int |
hashCode() |
void |
setDisplayName(String displayName)
The name of the trial as displayed.
|
void |
setExperimentName(String experimentName)
The name of the experiment to associate the trial with.
|
void |
setMetadataProperties(MetadataProperties metadataProperties) |
void |
setTags(Collection<Tag> tags)
A list of tags to associate with the trial.
|
void |
setTrialName(String trialName)
The name of the trial.
|
String |
toString()
Returns a string representation of this object.
|
CreateTrialRequest |
withDisplayName(String displayName)
The name of the trial as displayed.
|
CreateTrialRequest |
withExperimentName(String experimentName)
The name of the experiment to associate the trial with.
|
CreateTrialRequest |
withMetadataProperties(MetadataProperties metadataProperties) |
CreateTrialRequest |
withTags(Collection<Tag> tags)
A list of tags to associate with the trial.
|
CreateTrialRequest |
withTags(Tag... tags)
A list of tags to associate with the trial.
|
CreateTrialRequest |
withTrialName(String trialName)
The name of the trial.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTrialName(String trialName)
The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.
trialName
- The name of the trial. The name must be unique in your Amazon Web Services account and is not
case-sensitive.public String getTrialName()
The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.
public CreateTrialRequest withTrialName(String trialName)
The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.
trialName
- The name of the trial. The name must be unique in your Amazon Web Services account and is not
case-sensitive.public void setDisplayName(String displayName)
The name of the trial as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialName
is displayed.
displayName
- The name of the trial as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialName
is displayed.public String getDisplayName()
The name of the trial as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialName
is displayed.
DisplayName
isn't
specified, TrialName
is displayed.public CreateTrialRequest withDisplayName(String displayName)
The name of the trial as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialName
is displayed.
displayName
- The name of the trial as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialName
is displayed.public void setExperimentName(String experimentName)
The name of the experiment to associate the trial with.
experimentName
- The name of the experiment to associate the trial with.public String getExperimentName()
The name of the experiment to associate the trial with.
public CreateTrialRequest withExperimentName(String experimentName)
The name of the experiment to associate the trial with.
experimentName
- The name of the experiment to associate the trial with.public void setMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public MetadataProperties getMetadataProperties()
public CreateTrialRequest withMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public List<Tag> getTags()
A list of tags to associate with the trial. You can use Search API to search on the tags.
public void setTags(Collection<Tag> tags)
A list of tags to associate with the trial. You can use Search API to search on the tags.
tags
- A list of tags to associate with the trial. You can use Search API to search
on the tags.public CreateTrialRequest withTags(Tag... tags)
A list of tags to associate 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
- A list of tags to associate with the trial. You can use Search API to search
on the tags.public CreateTrialRequest withTags(Collection<Tag> tags)
A list of tags to associate with the trial. You can use Search API to search on the tags.
tags
- A list of tags to associate with the trial. You can use Search API to search
on the tags.public String toString()
toString
in class Object
Object.toString()
public CreateTrialRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()