@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() |
Modifier and Type | Method and Description |
---|---|
CreateWorkloadRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateWorkloadRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateWorkloadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds() |
List<String> |
getApplications()
List of AppRegistry application ARNs associated to the workload.
|
String |
getArchitecturalDesign() |
List<String> |
getAwsRegions() |
String |
getClientRequestToken() |
String |
getDescription() |
WorkloadDiscoveryConfig |
getDiscoveryConfig()
Well-Architected discovery configuration settings associated to the workload.
|
String |
getEnvironment() |
String |
getIndustry() |
String |
getIndustryType() |
WorkloadJiraConfigurationInput |
getJiraConfiguration()
Jira configuration settings when creating a workload.
|
List<String> |
getLenses() |
List<String> |
getNonAwsRegions() |
String |
getNotes() |
List<String> |
getPillarPriorities() |
List<String> |
getProfileArns()
The list of profile ARNs associated with the workload.
|
String |
getReviewOwner() |
List<String> |
getReviewTemplateArns()
The list of review template ARNs to associate with the workload.
|
Map<String,String> |
getTags()
The tags to be associated with the workload.
|
String |
getWorkloadName() |
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds) |
void |
setApplications(Collection<String> applications)
List of AppRegistry application ARNs associated to the workload.
|
void |
setArchitecturalDesign(String architecturalDesign) |
void |
setAwsRegions(Collection<String> awsRegions) |
void |
setClientRequestToken(String clientRequestToken) |
void |
setDescription(String description) |
void |
setDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Well-Architected discovery configuration settings associated to the workload.
|
void |
setEnvironment(String environment) |
void |
setIndustry(String industry) |
void |
setIndustryType(String industryType) |
void |
setJiraConfiguration(WorkloadJiraConfigurationInput jiraConfiguration)
Jira configuration settings when creating a workload.
|
void |
setLenses(Collection<String> lenses) |
void |
setNonAwsRegions(Collection<String> nonAwsRegions) |
void |
setNotes(String notes) |
void |
setPillarPriorities(Collection<String> pillarPriorities) |
void |
setProfileArns(Collection<String> profileArns)
The list of profile ARNs associated with the workload.
|
void |
setReviewOwner(String reviewOwner) |
void |
setReviewTemplateArns(Collection<String> reviewTemplateArns)
The list of review template ARNs to associate with the workload.
|
void |
setTags(Map<String,String> tags)
The tags to be associated with the workload.
|
void |
setWorkloadName(String workloadName) |
String |
toString()
Returns a string representation of this object.
|
CreateWorkloadRequest |
withAccountIds(Collection<String> accountIds) |
CreateWorkloadRequest |
withAccountIds(String... accountIds)
NOTE: This method appends the values to the existing list (if any).
|
CreateWorkloadRequest |
withApplications(Collection<String> applications)
List of AppRegistry application ARNs associated to the workload.
|
CreateWorkloadRequest |
withApplications(String... applications)
List of AppRegistry application ARNs associated to the workload.
|
CreateWorkloadRequest |
withArchitecturalDesign(String architecturalDesign) |
CreateWorkloadRequest |
withAwsRegions(Collection<String> awsRegions) |
CreateWorkloadRequest |
withAwsRegions(String... awsRegions)
NOTE: This method appends the values to the existing list (if any).
|
CreateWorkloadRequest |
withClientRequestToken(String clientRequestToken) |
CreateWorkloadRequest |
withDescription(String description) |
CreateWorkloadRequest |
withDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Well-Architected discovery configuration settings associated to the workload.
|
CreateWorkloadRequest |
withEnvironment(String environment) |
CreateWorkloadRequest |
withEnvironment(WorkloadEnvironment environment) |
CreateWorkloadRequest |
withIndustry(String industry) |
CreateWorkloadRequest |
withIndustryType(String industryType) |
CreateWorkloadRequest |
withJiraConfiguration(WorkloadJiraConfigurationInput jiraConfiguration)
Jira configuration settings when creating a workload.
|
CreateWorkloadRequest |
withLenses(Collection<String> lenses) |
CreateWorkloadRequest |
withLenses(String... lenses)
NOTE: This method appends the values to the existing list (if any).
|
CreateWorkloadRequest |
withNonAwsRegions(Collection<String> nonAwsRegions) |
CreateWorkloadRequest |
withNonAwsRegions(String... nonAwsRegions)
NOTE: This method appends the values to the existing list (if any).
|
CreateWorkloadRequest |
withNotes(String notes) |
CreateWorkloadRequest |
withPillarPriorities(Collection<String> pillarPriorities) |
CreateWorkloadRequest |
withPillarPriorities(String... pillarPriorities)
NOTE: This method appends the values to the existing list (if any).
|
CreateWorkloadRequest |
withProfileArns(Collection<String> profileArns)
The list of profile ARNs associated with the workload.
|
CreateWorkloadRequest |
withProfileArns(String... profileArns)
The list of profile ARNs associated with the workload.
|
CreateWorkloadRequest |
withReviewOwner(String reviewOwner) |
CreateWorkloadRequest |
withReviewTemplateArns(Collection<String> reviewTemplateArns)
The list of review template ARNs to associate with the workload.
|
CreateWorkloadRequest |
withReviewTemplateArns(String... reviewTemplateArns)
The list of review template ARNs to associate with the workload.
|
CreateWorkloadRequest |
withTags(Map<String,String> tags)
The tags to be associated with the workload.
|
CreateWorkloadRequest |
withWorkloadName(String workloadName) |
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 void setDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Well-Architected discovery configuration settings associated to the workload.
discoveryConfig
- Well-Architected discovery configuration settings associated to the workload.public WorkloadDiscoveryConfig getDiscoveryConfig()
Well-Architected discovery configuration settings associated to the workload.
public CreateWorkloadRequest withDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Well-Architected discovery configuration settings associated to the workload.
discoveryConfig
- Well-Architected discovery configuration settings associated to the workload.public List<String> getApplications()
List of AppRegistry application ARNs associated to the workload.
public void setApplications(Collection<String> applications)
List of AppRegistry application ARNs associated to the workload.
applications
- List of AppRegistry application ARNs associated to the workload.public CreateWorkloadRequest withApplications(String... applications)
List of AppRegistry application ARNs associated to the workload.
NOTE: This method appends the values to the existing list (if any). Use
setApplications(java.util.Collection)
or withApplications(java.util.Collection)
if you want to
override the existing values.
applications
- List of AppRegistry application ARNs associated to the workload.public CreateWorkloadRequest withApplications(Collection<String> applications)
List of AppRegistry application ARNs associated to the workload.
applications
- List of AppRegistry application ARNs associated to the workload.public List<String> getProfileArns()
The list of profile ARNs associated with the workload.
public void setProfileArns(Collection<String> profileArns)
The list of profile ARNs associated with the workload.
profileArns
- The list of profile ARNs associated with the workload.public CreateWorkloadRequest withProfileArns(String... profileArns)
The list of profile ARNs associated with the workload.
NOTE: This method appends the values to the existing list (if any). Use
setProfileArns(java.util.Collection)
or withProfileArns(java.util.Collection)
if you want to
override the existing values.
profileArns
- The list of profile ARNs associated with the workload.public CreateWorkloadRequest withProfileArns(Collection<String> profileArns)
The list of profile ARNs associated with the workload.
profileArns
- The list of profile ARNs associated with the workload.public List<String> getReviewTemplateArns()
The list of review template ARNs to associate with the workload.
public void setReviewTemplateArns(Collection<String> reviewTemplateArns)
The list of review template ARNs to associate with the workload.
reviewTemplateArns
- The list of review template ARNs to associate with the workload.public CreateWorkloadRequest withReviewTemplateArns(String... reviewTemplateArns)
The list of review template ARNs to associate with the workload.
NOTE: This method appends the values to the existing list (if any). Use
setReviewTemplateArns(java.util.Collection)
or withReviewTemplateArns(java.util.Collection)
if
you want to override the existing values.
reviewTemplateArns
- The list of review template ARNs to associate with the workload.public CreateWorkloadRequest withReviewTemplateArns(Collection<String> reviewTemplateArns)
The list of review template ARNs to associate with the workload.
reviewTemplateArns
- The list of review template ARNs to associate with the workload.public void setJiraConfiguration(WorkloadJiraConfigurationInput jiraConfiguration)
Jira configuration settings when creating a workload.
jiraConfiguration
- Jira configuration settings when creating a workload.public WorkloadJiraConfigurationInput getJiraConfiguration()
Jira configuration settings when creating a workload.
public CreateWorkloadRequest withJiraConfiguration(WorkloadJiraConfigurationInput jiraConfiguration)
Jira configuration settings when creating a workload.
jiraConfiguration
- Jira configuration settings when creating a workload.public String toString()
toString
in class Object
Object.toString()
public CreateWorkloadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()