@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentTemplate extends Object implements Serializable, Cloneable, StructuredPojo
Describes an experiment template.
Constructor and Description |
---|
ExperimentTemplate() |
Modifier and Type | Method and Description |
---|---|
ExperimentTemplate |
addActionsEntry(String key,
ExperimentTemplateAction value)
Add a single Actions entry
|
ExperimentTemplate |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ExperimentTemplate |
addTargetsEntry(String key,
ExperimentTemplateTarget value)
Add a single Targets entry
|
ExperimentTemplate |
clearActionsEntries()
Removes all the entries added into Actions.
|
ExperimentTemplate |
clearTagsEntries()
Removes all the entries added into Tags.
|
ExperimentTemplate |
clearTargetsEntries()
Removes all the entries added into Targets.
|
ExperimentTemplate |
clone() |
boolean |
equals(Object obj) |
Map<String,ExperimentTemplateAction> |
getActions()
The actions for the experiment.
|
String |
getArn()
The Amazon Resource Name (ARN) of the experiment template.
|
Date |
getCreationTime()
The time the experiment template was created.
|
String |
getDescription()
The description for the experiment template.
|
ExperimentTemplateExperimentOptions |
getExperimentOptions()
The experiment options for an experiment template.
|
String |
getId()
The ID of the experiment template.
|
Date |
getLastUpdateTime()
The time the experiment template was last updated.
|
ExperimentTemplateLogConfiguration |
getLogConfiguration()
The configuration for experiment logging.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role.
|
List<ExperimentTemplateStopCondition> |
getStopConditions()
The stop conditions for the experiment.
|
Map<String,String> |
getTags()
The tags for the experiment template.
|
Long |
getTargetAccountConfigurationsCount()
The count of target account configurations for the experiment template.
|
Map<String,ExperimentTemplateTarget> |
getTargets()
The targets for the experiment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActions(Map<String,ExperimentTemplateAction> actions)
The actions for the experiment.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the experiment template.
|
void |
setCreationTime(Date creationTime)
The time the experiment template was created.
|
void |
setDescription(String description)
The description for the experiment template.
|
void |
setExperimentOptions(ExperimentTemplateExperimentOptions experimentOptions)
The experiment options for an experiment template.
|
void |
setId(String id)
The ID of the experiment template.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The time the experiment template was last updated.
|
void |
setLogConfiguration(ExperimentTemplateLogConfiguration logConfiguration)
The configuration for experiment logging.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role.
|
void |
setStopConditions(Collection<ExperimentTemplateStopCondition> stopConditions)
The stop conditions for the experiment.
|
void |
setTags(Map<String,String> tags)
The tags for the experiment template.
|
void |
setTargetAccountConfigurationsCount(Long targetAccountConfigurationsCount)
The count of target account configurations for the experiment template.
|
void |
setTargets(Map<String,ExperimentTemplateTarget> targets)
The targets for the experiment.
|
String |
toString()
Returns a string representation of this object.
|
ExperimentTemplate |
withActions(Map<String,ExperimentTemplateAction> actions)
The actions for the experiment.
|
ExperimentTemplate |
withArn(String arn)
The Amazon Resource Name (ARN) of the experiment template.
|
ExperimentTemplate |
withCreationTime(Date creationTime)
The time the experiment template was created.
|
ExperimentTemplate |
withDescription(String description)
The description for the experiment template.
|
ExperimentTemplate |
withExperimentOptions(ExperimentTemplateExperimentOptions experimentOptions)
The experiment options for an experiment template.
|
ExperimentTemplate |
withId(String id)
The ID of the experiment template.
|
ExperimentTemplate |
withLastUpdateTime(Date lastUpdateTime)
The time the experiment template was last updated.
|
ExperimentTemplate |
withLogConfiguration(ExperimentTemplateLogConfiguration logConfiguration)
The configuration for experiment logging.
|
ExperimentTemplate |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role.
|
ExperimentTemplate |
withStopConditions(Collection<ExperimentTemplateStopCondition> stopConditions)
The stop conditions for the experiment.
|
ExperimentTemplate |
withStopConditions(ExperimentTemplateStopCondition... stopConditions)
The stop conditions for the experiment.
|
ExperimentTemplate |
withTags(Map<String,String> tags)
The tags for the experiment template.
|
ExperimentTemplate |
withTargetAccountConfigurationsCount(Long targetAccountConfigurationsCount)
The count of target account configurations for the experiment template.
|
ExperimentTemplate |
withTargets(Map<String,ExperimentTemplateTarget> targets)
The targets for the experiment.
|
public void setId(String id)
The ID of the experiment template.
id
- The ID of the experiment template.public String getId()
The ID of the experiment template.
public ExperimentTemplate withId(String id)
The ID of the experiment template.
id
- The ID of the experiment template.public void setArn(String arn)
The Amazon Resource Name (ARN) of the experiment template.
arn
- The Amazon Resource Name (ARN) of the experiment template.public String getArn()
The Amazon Resource Name (ARN) of the experiment template.
public ExperimentTemplate withArn(String arn)
The Amazon Resource Name (ARN) of the experiment template.
arn
- The Amazon Resource Name (ARN) of the experiment template.public void setDescription(String description)
The description for the experiment template.
description
- The description for the experiment template.public String getDescription()
The description for the experiment template.
public ExperimentTemplate withDescription(String description)
The description for the experiment template.
description
- The description for the experiment template.public Map<String,ExperimentTemplateTarget> getTargets()
The targets for the experiment.
public void setTargets(Map<String,ExperimentTemplateTarget> targets)
The targets for the experiment.
targets
- The targets for the experiment.public ExperimentTemplate withTargets(Map<String,ExperimentTemplateTarget> targets)
The targets for the experiment.
targets
- The targets for the experiment.public ExperimentTemplate addTargetsEntry(String key, ExperimentTemplateTarget value)
public ExperimentTemplate clearTargetsEntries()
public Map<String,ExperimentTemplateAction> getActions()
The actions for the experiment.
public void setActions(Map<String,ExperimentTemplateAction> actions)
The actions for the experiment.
actions
- The actions for the experiment.public ExperimentTemplate withActions(Map<String,ExperimentTemplateAction> actions)
The actions for the experiment.
actions
- The actions for the experiment.public ExperimentTemplate addActionsEntry(String key, ExperimentTemplateAction value)
public ExperimentTemplate clearActionsEntries()
public List<ExperimentTemplateStopCondition> getStopConditions()
The stop conditions for the experiment.
public void setStopConditions(Collection<ExperimentTemplateStopCondition> stopConditions)
The stop conditions for the experiment.
stopConditions
- The stop conditions for the experiment.public ExperimentTemplate withStopConditions(ExperimentTemplateStopCondition... stopConditions)
The stop conditions for the experiment.
NOTE: This method appends the values to the existing list (if any). Use
setStopConditions(java.util.Collection)
or withStopConditions(java.util.Collection)
if you want
to override the existing values.
stopConditions
- The stop conditions for the experiment.public ExperimentTemplate withStopConditions(Collection<ExperimentTemplateStopCondition> stopConditions)
The stop conditions for the experiment.
stopConditions
- The stop conditions for the experiment.public void setCreationTime(Date creationTime)
The time the experiment template was created.
creationTime
- The time the experiment template was created.public Date getCreationTime()
The time the experiment template was created.
public ExperimentTemplate withCreationTime(Date creationTime)
The time the experiment template was created.
creationTime
- The time the experiment template was created.public void setLastUpdateTime(Date lastUpdateTime)
The time the experiment template was last updated.
lastUpdateTime
- The time the experiment template was last updated.public Date getLastUpdateTime()
The time the experiment template was last updated.
public ExperimentTemplate withLastUpdateTime(Date lastUpdateTime)
The time the experiment template was last updated.
lastUpdateTime
- The time the experiment template was last updated.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role.
roleArn
- The Amazon Resource Name (ARN) of an IAM role.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role.
public ExperimentTemplate withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role.
roleArn
- The Amazon Resource Name (ARN) of an IAM role.public Map<String,String> getTags()
The tags for the experiment template.
public void setTags(Map<String,String> tags)
The tags for the experiment template.
tags
- The tags for the experiment template.public ExperimentTemplate withTags(Map<String,String> tags)
The tags for the experiment template.
tags
- The tags for the experiment template.public ExperimentTemplate addTagsEntry(String key, String value)
public ExperimentTemplate clearTagsEntries()
public void setLogConfiguration(ExperimentTemplateLogConfiguration logConfiguration)
The configuration for experiment logging.
logConfiguration
- The configuration for experiment logging.public ExperimentTemplateLogConfiguration getLogConfiguration()
The configuration for experiment logging.
public ExperimentTemplate withLogConfiguration(ExperimentTemplateLogConfiguration logConfiguration)
The configuration for experiment logging.
logConfiguration
- The configuration for experiment logging.public void setExperimentOptions(ExperimentTemplateExperimentOptions experimentOptions)
The experiment options for an experiment template.
experimentOptions
- The experiment options for an experiment template.public ExperimentTemplateExperimentOptions getExperimentOptions()
The experiment options for an experiment template.
public ExperimentTemplate withExperimentOptions(ExperimentTemplateExperimentOptions experimentOptions)
The experiment options for an experiment template.
experimentOptions
- The experiment options for an experiment template.public void setTargetAccountConfigurationsCount(Long targetAccountConfigurationsCount)
The count of target account configurations for the experiment template.
targetAccountConfigurationsCount
- The count of target account configurations for the experiment template.public Long getTargetAccountConfigurationsCount()
The count of target account configurations for the experiment template.
public ExperimentTemplate withTargetAccountConfigurationsCount(Long targetAccountConfigurationsCount)
The count of target account configurations for the experiment template.
targetAccountConfigurationsCount
- The count of target account configurations for the experiment template.public String toString()
toString
in class Object
Object.toString()
public ExperimentTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.