@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateExperimentTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateExperimentTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateExperimentTemplateRequest |
addActionsEntry(String key,
UpdateExperimentTemplateActionInputItem value)
Add a single Actions entry
|
UpdateExperimentTemplateRequest |
addTargetsEntry(String key,
UpdateExperimentTemplateTargetInput value)
Add a single Targets entry
|
UpdateExperimentTemplateRequest |
clearActionsEntries()
Removes all the entries added into Actions.
|
UpdateExperimentTemplateRequest |
clearTargetsEntries()
Removes all the entries added into Targets.
|
UpdateExperimentTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,UpdateExperimentTemplateActionInputItem> |
getActions()
The actions for the experiment.
|
String |
getDescription()
A description for the template.
|
UpdateExperimentTemplateExperimentOptionsInput |
getExperimentOptions()
The experiment options for the experiment template.
|
String |
getId()
The ID of the experiment template.
|
UpdateExperimentTemplateLogConfigurationInput |
getLogConfiguration()
The configuration for experiment logging.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions
on your behalf.
|
List<UpdateExperimentTemplateStopConditionInput> |
getStopConditions()
The stop conditions for the experiment.
|
Map<String,UpdateExperimentTemplateTargetInput> |
getTargets()
The targets for the experiment.
|
int |
hashCode() |
void |
setActions(Map<String,UpdateExperimentTemplateActionInputItem> actions)
The actions for the experiment.
|
void |
setDescription(String description)
A description for the template.
|
void |
setExperimentOptions(UpdateExperimentTemplateExperimentOptionsInput experimentOptions)
The experiment options for the experiment template.
|
void |
setId(String id)
The ID of the experiment template.
|
void |
setLogConfiguration(UpdateExperimentTemplateLogConfigurationInput logConfiguration)
The configuration for experiment logging.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions
on your behalf.
|
void |
setStopConditions(Collection<UpdateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions for the experiment.
|
void |
setTargets(Map<String,UpdateExperimentTemplateTargetInput> targets)
The targets for the experiment.
|
String |
toString()
Returns a string representation of this object.
|
UpdateExperimentTemplateRequest |
withActions(Map<String,UpdateExperimentTemplateActionInputItem> actions)
The actions for the experiment.
|
UpdateExperimentTemplateRequest |
withDescription(String description)
A description for the template.
|
UpdateExperimentTemplateRequest |
withExperimentOptions(UpdateExperimentTemplateExperimentOptionsInput experimentOptions)
The experiment options for the experiment template.
|
UpdateExperimentTemplateRequest |
withId(String id)
The ID of the experiment template.
|
UpdateExperimentTemplateRequest |
withLogConfiguration(UpdateExperimentTemplateLogConfigurationInput logConfiguration)
The configuration for experiment logging.
|
UpdateExperimentTemplateRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions
on your behalf.
|
UpdateExperimentTemplateRequest |
withStopConditions(Collection<UpdateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions for the experiment.
|
UpdateExperimentTemplateRequest |
withStopConditions(UpdateExperimentTemplateStopConditionInput... stopConditions)
The stop conditions for the experiment.
|
UpdateExperimentTemplateRequest |
withTargets(Map<String,UpdateExperimentTemplateTargetInput> targets)
The targets for the experiment.
|
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 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 UpdateExperimentTemplateRequest withId(String id)
The ID of the experiment template.
id
- The ID of the experiment template.public void setDescription(String description)
A description for the template.
description
- A description for the template.public String getDescription()
A description for the template.
public UpdateExperimentTemplateRequest withDescription(String description)
A description for the template.
description
- A description for the template.public List<UpdateExperimentTemplateStopConditionInput> getStopConditions()
The stop conditions for the experiment.
public void setStopConditions(Collection<UpdateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions for the experiment.
stopConditions
- The stop conditions for the experiment.public UpdateExperimentTemplateRequest withStopConditions(UpdateExperimentTemplateStopConditionInput... 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 UpdateExperimentTemplateRequest withStopConditions(Collection<UpdateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions for the experiment.
stopConditions
- The stop conditions for the experiment.public Map<String,UpdateExperimentTemplateTargetInput> getTargets()
The targets for the experiment.
public void setTargets(Map<String,UpdateExperimentTemplateTargetInput> targets)
The targets for the experiment.
targets
- The targets for the experiment.public UpdateExperimentTemplateRequest withTargets(Map<String,UpdateExperimentTemplateTargetInput> targets)
The targets for the experiment.
targets
- The targets for the experiment.public UpdateExperimentTemplateRequest addTargetsEntry(String key, UpdateExperimentTemplateTargetInput value)
public UpdateExperimentTemplateRequest clearTargetsEntries()
public Map<String,UpdateExperimentTemplateActionInputItem> getActions()
The actions for the experiment.
public void setActions(Map<String,UpdateExperimentTemplateActionInputItem> actions)
The actions for the experiment.
actions
- The actions for the experiment.public UpdateExperimentTemplateRequest withActions(Map<String,UpdateExperimentTemplateActionInputItem> actions)
The actions for the experiment.
actions
- The actions for the experiment.public UpdateExperimentTemplateRequest addActionsEntry(String key, UpdateExperimentTemplateActionInputItem value)
public UpdateExperimentTemplateRequest clearActionsEntries()
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service
actions on your behalf.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
public UpdateExperimentTemplateRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service
actions on your behalf.public void setLogConfiguration(UpdateExperimentTemplateLogConfigurationInput logConfiguration)
The configuration for experiment logging.
logConfiguration
- The configuration for experiment logging.public UpdateExperimentTemplateLogConfigurationInput getLogConfiguration()
The configuration for experiment logging.
public UpdateExperimentTemplateRequest withLogConfiguration(UpdateExperimentTemplateLogConfigurationInput logConfiguration)
The configuration for experiment logging.
logConfiguration
- The configuration for experiment logging.public void setExperimentOptions(UpdateExperimentTemplateExperimentOptionsInput experimentOptions)
The experiment options for the experiment template.
experimentOptions
- The experiment options for the experiment template.public UpdateExperimentTemplateExperimentOptionsInput getExperimentOptions()
The experiment options for the experiment template.
public UpdateExperimentTemplateRequest withExperimentOptions(UpdateExperimentTemplateExperimentOptionsInput experimentOptions)
The experiment options for the experiment template.
experimentOptions
- The experiment options for the experiment template.public String toString()
toString
in class Object
Object.toString()
public UpdateExperimentTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()