@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrialComponentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTrialComponentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrialComponentRequest |
addInputArtifactsEntry(String key,
TrialComponentArtifact value)
Add a single InputArtifacts entry
|
CreateTrialComponentRequest |
addOutputArtifactsEntry(String key,
TrialComponentArtifact value)
Add a single OutputArtifacts entry
|
CreateTrialComponentRequest |
addParametersEntry(String key,
TrialComponentParameterValue value)
Add a single Parameters entry
|
CreateTrialComponentRequest |
clearInputArtifactsEntries()
Removes all the entries added into InputArtifacts.
|
CreateTrialComponentRequest |
clearOutputArtifactsEntries()
Removes all the entries added into OutputArtifacts.
|
CreateTrialComponentRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
CreateTrialComponentRequest |
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 component as displayed.
|
Date |
getEndTime()
When the component ended.
|
Map<String,TrialComponentArtifact> |
getInputArtifacts()
The input artifacts for the component.
|
MetadataProperties |
getMetadataProperties() |
Map<String,TrialComponentArtifact> |
getOutputArtifacts()
The output artifacts for the component.
|
Map<String,TrialComponentParameterValue> |
getParameters()
The hyperparameters for the component.
|
Date |
getStartTime()
When the component started.
|
TrialComponentStatus |
getStatus()
The status of the component.
|
List<Tag> |
getTags()
A list of tags to associate with the component.
|
String |
getTrialComponentName()
The name of the component.
|
int |
hashCode() |
void |
setDisplayName(String displayName)
The name of the component as displayed.
|
void |
setEndTime(Date endTime)
When the component ended.
|
void |
setInputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
The input artifacts for the component.
|
void |
setMetadataProperties(MetadataProperties metadataProperties) |
void |
setOutputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
The output artifacts for the component.
|
void |
setParameters(Map<String,TrialComponentParameterValue> parameters)
The hyperparameters for the component.
|
void |
setStartTime(Date startTime)
When the component started.
|
void |
setStatus(TrialComponentStatus status)
The status of the component.
|
void |
setTags(Collection<Tag> tags)
A list of tags to associate with the component.
|
void |
setTrialComponentName(String trialComponentName)
The name of the component.
|
String |
toString()
Returns a string representation of this object.
|
CreateTrialComponentRequest |
withDisplayName(String displayName)
The name of the component as displayed.
|
CreateTrialComponentRequest |
withEndTime(Date endTime)
When the component ended.
|
CreateTrialComponentRequest |
withInputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
The input artifacts for the component.
|
CreateTrialComponentRequest |
withMetadataProperties(MetadataProperties metadataProperties) |
CreateTrialComponentRequest |
withOutputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
The output artifacts for the component.
|
CreateTrialComponentRequest |
withParameters(Map<String,TrialComponentParameterValue> parameters)
The hyperparameters for the component.
|
CreateTrialComponentRequest |
withStartTime(Date startTime)
When the component started.
|
CreateTrialComponentRequest |
withStatus(TrialComponentStatus status)
The status of the component.
|
CreateTrialComponentRequest |
withTags(Collection<Tag> tags)
A list of tags to associate with the component.
|
CreateTrialComponentRequest |
withTags(Tag... tags)
A list of tags to associate with the component.
|
CreateTrialComponentRequest |
withTrialComponentName(String trialComponentName)
The name of the component.
|
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 setTrialComponentName(String trialComponentName)
The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.
trialComponentName
- The name of the component. The name must be unique in your Amazon Web Services account and is not
case-sensitive.public String getTrialComponentName()
The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.
public CreateTrialComponentRequest withTrialComponentName(String trialComponentName)
The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.
trialComponentName
- The name of the component. 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 component as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialComponentName
is displayed.
displayName
- The name of the component as displayed. The name doesn't need to be unique. If DisplayName
isn't specified, TrialComponentName
is displayed.public String getDisplayName()
The name of the component as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialComponentName
is displayed.
DisplayName
isn't specified, TrialComponentName
is displayed.public CreateTrialComponentRequest withDisplayName(String displayName)
The name of the component as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialComponentName
is displayed.
displayName
- The name of the component as displayed. The name doesn't need to be unique. If DisplayName
isn't specified, TrialComponentName
is displayed.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 CreateTrialComponentRequest 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 CreateTrialComponentRequest 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 CreateTrialComponentRequest withEndTime(Date endTime)
When the component ended.
endTime
- When the component ended.public Map<String,TrialComponentParameterValue> getParameters()
The hyperparameters for the component.
public void setParameters(Map<String,TrialComponentParameterValue> parameters)
The hyperparameters for the component.
parameters
- The hyperparameters for the component.public CreateTrialComponentRequest withParameters(Map<String,TrialComponentParameterValue> parameters)
The hyperparameters for the component.
parameters
- The hyperparameters for the component.public CreateTrialComponentRequest addParametersEntry(String key, TrialComponentParameterValue value)
public CreateTrialComponentRequest clearParametersEntries()
public Map<String,TrialComponentArtifact> getInputArtifacts()
The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.
public void setInputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.
inputArtifacts
- The input artifacts for the component. Examples of input artifacts are datasets, algorithms,
hyperparameters, source code, and instance types.public CreateTrialComponentRequest withInputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types.
inputArtifacts
- The input artifacts for the component. Examples of input artifacts are datasets, algorithms,
hyperparameters, source code, and instance types.public CreateTrialComponentRequest addInputArtifactsEntry(String key, TrialComponentArtifact value)
public CreateTrialComponentRequest clearInputArtifactsEntries()
public Map<String,TrialComponentArtifact> getOutputArtifacts()
The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.
public void setOutputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.
outputArtifacts
- The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and
images.public CreateTrialComponentRequest withOutputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images.
outputArtifacts
- The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and
images.public CreateTrialComponentRequest addOutputArtifactsEntry(String key, TrialComponentArtifact value)
public CreateTrialComponentRequest clearOutputArtifactsEntries()
public void setMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public MetadataProperties getMetadataProperties()
public CreateTrialComponentRequest withMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public List<Tag> getTags()
A list of tags to associate with the component. You can use Search API to search on the tags.
public void setTags(Collection<Tag> tags)
A list of tags to associate with the component. You can use Search API to search on the tags.
tags
- A list of tags to associate with the component. You can use Search API to search
on the tags.public CreateTrialComponentRequest withTags(Tag... tags)
A list of tags to associate with the component. 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 component. You can use Search API to search
on the tags.public CreateTrialComponentRequest withTags(Collection<Tag> tags)
A list of tags to associate with the component. You can use Search API to search on the tags.
tags
- A list of tags to associate with the component. You can use Search API to search
on the tags.public String toString()
toString
in class Object
Object.toString()
public CreateTrialComponentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()