@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkloadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for workload creation.
NOOP
Constructor and Description |
---|
CreateWorkloadRequest() |
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 setWorkloadName(String workloadName)
workloadName
- public String getWorkloadName()
public CreateWorkloadRequest withWorkloadName(String workloadName)
workloadName
- public void setDescription(String description)
description
- public String getDescription()
public CreateWorkloadRequest withDescription(String description)
description
- public void setEnvironment(String environment)
environment
- WorkloadEnvironment
public String getEnvironment()
WorkloadEnvironment
public CreateWorkloadRequest withEnvironment(String environment)
environment
- WorkloadEnvironment
public CreateWorkloadRequest withEnvironment(WorkloadEnvironment environment)
environment
- WorkloadEnvironment
public void setAccountIds(Collection<String> accountIds)
accountIds
- public CreateWorkloadRequest withAccountIds(String... accountIds)
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- public CreateWorkloadRequest withAccountIds(Collection<String> accountIds)
accountIds
- public void setAwsRegions(Collection<String> awsRegions)
awsRegions
- public CreateWorkloadRequest withAwsRegions(String... awsRegions)
NOTE: This method appends the values to the existing list (if any). Use
setAwsRegions(java.util.Collection)
or withAwsRegions(java.util.Collection)
if you want to
override the existing values.
awsRegions
- public CreateWorkloadRequest withAwsRegions(Collection<String> awsRegions)
awsRegions
- public void setNonAwsRegions(Collection<String> nonAwsRegions)
nonAwsRegions
- public CreateWorkloadRequest withNonAwsRegions(String... nonAwsRegions)
NOTE: This method appends the values to the existing list (if any). Use
setNonAwsRegions(java.util.Collection)
or withNonAwsRegions(java.util.Collection)
if you want
to override the existing values.
nonAwsRegions
- public CreateWorkloadRequest withNonAwsRegions(Collection<String> nonAwsRegions)
nonAwsRegions
- public void setPillarPriorities(Collection<String> pillarPriorities)
pillarPriorities
- public CreateWorkloadRequest withPillarPriorities(String... pillarPriorities)
NOTE: This method appends the values to the existing list (if any). Use
setPillarPriorities(java.util.Collection)
or withPillarPriorities(java.util.Collection)
if you
want to override the existing values.
pillarPriorities
- public CreateWorkloadRequest withPillarPriorities(Collection<String> pillarPriorities)
pillarPriorities
- public void setArchitecturalDesign(String architecturalDesign)
architecturalDesign
- public String getArchitecturalDesign()
public CreateWorkloadRequest withArchitecturalDesign(String architecturalDesign)
architecturalDesign
- public void setReviewOwner(String reviewOwner)
reviewOwner
- public String getReviewOwner()
public CreateWorkloadRequest withReviewOwner(String reviewOwner)
reviewOwner
- public void setIndustryType(String industryType)
industryType
- public String getIndustryType()
public CreateWorkloadRequest withIndustryType(String industryType)
industryType
- public void setIndustry(String industry)
industry
- public String getIndustry()
public CreateWorkloadRequest withIndustry(String industry)
industry
- public void setLenses(Collection<String> lenses)
lenses
- public CreateWorkloadRequest withLenses(String... lenses)
NOTE: This method appends the values to the existing list (if any). Use
setLenses(java.util.Collection)
or withLenses(java.util.Collection)
if you want to override the
existing values.
lenses
- public CreateWorkloadRequest withLenses(Collection<String> lenses)
lenses
- public void setNotes(String notes)
notes
- public String getNotes()
public CreateWorkloadRequest withNotes(String notes)
notes
- public void setClientRequestToken(String clientRequestToken)
clientRequestToken
- public String getClientRequestToken()
public CreateWorkloadRequest withClientRequestToken(String clientRequestToken)
clientRequestToken
- public Map<String,String> getTags()
The tags to be associated with the workload.
public void setTags(Map<String,String> tags)
The tags to be associated with the workload.
tags
- The tags to be associated with the workload.public CreateWorkloadRequest withTags(Map<String,String> tags)
The tags to be associated with the workload.
tags
- The tags to be associated with the workload.public CreateWorkloadRequest addTagsEntry(String key, String value)
public CreateWorkloadRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateWorkloadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()