@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateExperimentTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateExperimentTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateExperimentTemplateRequest |
addActionsEntry(String key,
CreateExperimentTemplateActionInput value)
Add a single Actions entry
|
CreateExperimentTemplateRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateExperimentTemplateRequest |
addTargetsEntry(String key,
CreateExperimentTemplateTargetInput value)
Add a single Targets entry
|
CreateExperimentTemplateRequest |
clearActionsEntries()
Removes all the entries added into Actions.
|
CreateExperimentTemplateRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateExperimentTemplateRequest |
clearTargetsEntries()
Removes all the entries added into Targets.
|
CreateExperimentTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,CreateExperimentTemplateActionInput> |
getActions()
The actions for the experiment.
|
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDescription()
A description for the experiment template.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service
actions on your behalf.
|
List<CreateExperimentTemplateStopConditionInput> |
getStopConditions()
The stop conditions.
|
Map<String,String> |
getTags()
The tags to apply to the experiment template.
|
Map<String,CreateExperimentTemplateTargetInput> |
getTargets()
The targets for the experiment.
|
int |
hashCode() |
void |
setActions(Map<String,CreateExperimentTemplateActionInput> actions)
The actions for the experiment.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
A description for the experiment template.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service
actions on your behalf.
|
void |
setStopConditions(Collection<CreateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions.
|
void |
setTags(Map<String,String> tags)
The tags to apply to the experiment template.
|
void |
setTargets(Map<String,CreateExperimentTemplateTargetInput> targets)
The targets for the experiment.
|
String |
toString()
Returns a string representation of this object.
|
CreateExperimentTemplateRequest |
withActions(Map<String,CreateExperimentTemplateActionInput> actions)
The actions for the experiment.
|
CreateExperimentTemplateRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateExperimentTemplateRequest |
withDescription(String description)
A description for the experiment template.
|
CreateExperimentTemplateRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service
actions on your behalf.
|
CreateExperimentTemplateRequest |
withStopConditions(Collection<CreateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions.
|
CreateExperimentTemplateRequest |
withStopConditions(CreateExperimentTemplateStopConditionInput... stopConditions)
The stop conditions.
|
CreateExperimentTemplateRequest |
withTags(Map<String,String> tags)
The tags to apply to the experiment template.
|
CreateExperimentTemplateRequest |
withTargets(Map<String,CreateExperimentTemplateTargetInput> 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 setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateExperimentTemplateRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setDescription(String description)
A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).
description
- A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).public String getDescription()
A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).
public CreateExperimentTemplateRequest withDescription(String description)
A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).
description
- A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).public List<CreateExperimentTemplateStopConditionInput> getStopConditions()
The stop conditions.
public void setStopConditions(Collection<CreateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions.
stopConditions
- The stop conditions.public CreateExperimentTemplateRequest withStopConditions(CreateExperimentTemplateStopConditionInput... stopConditions)
The stop conditions.
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.public CreateExperimentTemplateRequest withStopConditions(Collection<CreateExperimentTemplateStopConditionInput> stopConditions)
The stop conditions.
stopConditions
- The stop conditions.public Map<String,CreateExperimentTemplateTargetInput> getTargets()
The targets for the experiment.
public void setTargets(Map<String,CreateExperimentTemplateTargetInput> targets)
The targets for the experiment.
targets
- The targets for the experiment.public CreateExperimentTemplateRequest withTargets(Map<String,CreateExperimentTemplateTargetInput> targets)
The targets for the experiment.
targets
- The targets for the experiment.public CreateExperimentTemplateRequest addTargetsEntry(String key, CreateExperimentTemplateTargetInput value)
public CreateExperimentTemplateRequest clearTargetsEntries()
public Map<String,CreateExperimentTemplateActionInput> getActions()
The actions for the experiment.
public void setActions(Map<String,CreateExperimentTemplateActionInput> actions)
The actions for the experiment.
actions
- The actions for the experiment.public CreateExperimentTemplateRequest withActions(Map<String,CreateExperimentTemplateActionInput> actions)
The actions for the experiment.
actions
- The actions for the experiment.public CreateExperimentTemplateRequest addActionsEntry(String key, CreateExperimentTemplateActionInput value)
public CreateExperimentTemplateRequest clearActionsEntries()
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants the AWS 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 AWS FIS service permission to perform service actions on your behalf.
public CreateExperimentTemplateRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform
service actions on your behalf.public Map<String,String> getTags()
The tags to apply to the experiment template.
public void setTags(Map<String,String> tags)
The tags to apply to the experiment template.
tags
- The tags to apply to the experiment template.public CreateExperimentTemplateRequest withTags(Map<String,String> tags)
The tags to apply to the experiment template.
tags
- The tags to apply to the experiment template.public CreateExperimentTemplateRequest addTagsEntry(String key, String value)
public CreateExperimentTemplateRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateExperimentTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()