@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Workload extends Object implements Serializable, Cloneable, StructuredPojo
A workload return object.
Constructor and Description |
---|
Workload() |
Modifier and Type | Method and Description |
---|---|
Workload |
addPrioritizedRiskCountsEntry(String key,
Integer value)
Add a single PrioritizedRiskCounts entry
|
Workload |
addRiskCountsEntry(String key,
Integer value)
Add a single RiskCounts entry
|
Workload |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Workload |
clearPrioritizedRiskCountsEntries()
Removes all the entries added into PrioritizedRiskCounts.
|
Workload |
clearRiskCountsEntries()
Removes all the entries added into RiskCounts.
|
Workload |
clearTagsEntries()
Removes all the entries added into Tags.
|
Workload |
clone() |
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 |
getDescription() |
WorkloadDiscoveryConfig |
getDiscoveryConfig()
Discovery configuration associated to the workload.
|
String |
getEnvironment() |
String |
getImprovementStatus() |
String |
getIndustry() |
String |
getIndustryType() |
Boolean |
getIsReviewOwnerUpdateAcknowledged()
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
|
WorkloadJiraConfigurationOutput |
getJiraConfiguration()
Jira configuration for a specific workload.
|
List<String> |
getLenses() |
List<String> |
getNonAwsRegions() |
String |
getNotes() |
String |
getOwner() |
List<String> |
getPillarPriorities() |
Map<String,Integer> |
getPrioritizedRiskCounts() |
List<WorkloadProfile> |
getProfiles()
Profile associated with a workload.
|
String |
getReviewOwner() |
Date |
getReviewRestrictionDate() |
Map<String,Integer> |
getRiskCounts() |
String |
getShareInvitationId()
The ID assigned to the share invitation.
|
Map<String,String> |
getTags()
The tags associated with the workload.
|
Date |
getUpdatedAt() |
String |
getWorkloadArn() |
String |
getWorkloadId() |
String |
getWorkloadName() |
int |
hashCode() |
Boolean |
isReviewOwnerUpdateAcknowledged()
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setDescription(String description) |
void |
setDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Discovery configuration associated to the workload.
|
void |
setEnvironment(String environment) |
void |
setImprovementStatus(String improvementStatus) |
void |
setIndustry(String industry) |
void |
setIndustryType(String industryType) |
void |
setIsReviewOwnerUpdateAcknowledged(Boolean isReviewOwnerUpdateAcknowledged)
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
|
void |
setJiraConfiguration(WorkloadJiraConfigurationOutput jiraConfiguration)
Jira configuration for a specific workload.
|
void |
setLenses(Collection<String> lenses) |
void |
setNonAwsRegions(Collection<String> nonAwsRegions) |
void |
setNotes(String notes) |
void |
setOwner(String owner) |
void |
setPillarPriorities(Collection<String> pillarPriorities) |
void |
setPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts) |
void |
setProfiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
|
void |
setReviewOwner(String reviewOwner) |
void |
setReviewRestrictionDate(Date reviewRestrictionDate) |
void |
setRiskCounts(Map<String,Integer> riskCounts) |
void |
setShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
|
void |
setTags(Map<String,String> tags)
The tags associated with the workload.
|
void |
setUpdatedAt(Date updatedAt) |
void |
setWorkloadArn(String workloadArn) |
void |
setWorkloadId(String workloadId) |
void |
setWorkloadName(String workloadName) |
String |
toString()
Returns a string representation of this object.
|
Workload |
withAccountIds(Collection<String> accountIds) |
Workload |
withAccountIds(String... accountIds)
NOTE: This method appends the values to the existing list (if any).
|
Workload |
withApplications(Collection<String> applications)
List of AppRegistry application ARNs associated to the workload.
|
Workload |
withApplications(String... applications)
List of AppRegistry application ARNs associated to the workload.
|
Workload |
withArchitecturalDesign(String architecturalDesign) |
Workload |
withAwsRegions(Collection<String> awsRegions) |
Workload |
withAwsRegions(String... awsRegions)
NOTE: This method appends the values to the existing list (if any).
|
Workload |
withDescription(String description) |
Workload |
withDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Discovery configuration associated to the workload.
|
Workload |
withEnvironment(String environment) |
Workload |
withEnvironment(WorkloadEnvironment environment) |
Workload |
withImprovementStatus(String improvementStatus) |
Workload |
withImprovementStatus(WorkloadImprovementStatus improvementStatus) |
Workload |
withIndustry(String industry) |
Workload |
withIndustryType(String industryType) |
Workload |
withIsReviewOwnerUpdateAcknowledged(Boolean isReviewOwnerUpdateAcknowledged)
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
|
Workload |
withJiraConfiguration(WorkloadJiraConfigurationOutput jiraConfiguration)
Jira configuration for a specific workload.
|
Workload |
withLenses(Collection<String> lenses) |
Workload |
withLenses(String... lenses)
NOTE: This method appends the values to the existing list (if any).
|
Workload |
withNonAwsRegions(Collection<String> nonAwsRegions) |
Workload |
withNonAwsRegions(String... nonAwsRegions)
NOTE: This method appends the values to the existing list (if any).
|
Workload |
withNotes(String notes) |
Workload |
withOwner(String owner) |
Workload |
withPillarPriorities(Collection<String> pillarPriorities) |
Workload |
withPillarPriorities(String... pillarPriorities)
NOTE: This method appends the values to the existing list (if any).
|
Workload |
withPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts) |
Workload |
withProfiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
|
Workload |
withProfiles(WorkloadProfile... profiles)
Profile associated with a workload.
|
Workload |
withReviewOwner(String reviewOwner) |
Workload |
withReviewRestrictionDate(Date reviewRestrictionDate) |
Workload |
withRiskCounts(Map<String,Integer> riskCounts) |
Workload |
withShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
|
Workload |
withTags(Map<String,String> tags)
The tags associated with the workload.
|
Workload |
withUpdatedAt(Date updatedAt) |
Workload |
withWorkloadArn(String workloadArn) |
Workload |
withWorkloadId(String workloadId) |
Workload |
withWorkloadName(String workloadName) |
public void setWorkloadId(String workloadId)
workloadId
- public String getWorkloadId()
public Workload withWorkloadId(String workloadId)
workloadId
- public void setWorkloadArn(String workloadArn)
workloadArn
- public String getWorkloadArn()
public Workload withWorkloadArn(String workloadArn)
workloadArn
- public void setWorkloadName(String workloadName)
workloadName
- public String getWorkloadName()
public Workload withWorkloadName(String workloadName)
workloadName
- public void setDescription(String description)
description
- public String getDescription()
public Workload withDescription(String description)
description
- public void setEnvironment(String environment)
environment
- WorkloadEnvironment
public String getEnvironment()
WorkloadEnvironment
public Workload withEnvironment(String environment)
environment
- WorkloadEnvironment
public Workload withEnvironment(WorkloadEnvironment environment)
environment
- WorkloadEnvironment
public void setUpdatedAt(Date updatedAt)
updatedAt
- public Date getUpdatedAt()
public Workload withUpdatedAt(Date updatedAt)
updatedAt
- public void setAccountIds(Collection<String> accountIds)
accountIds
- public Workload 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 Workload withAccountIds(Collection<String> accountIds)
accountIds
- public void setAwsRegions(Collection<String> awsRegions)
awsRegions
- public Workload 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 Workload withAwsRegions(Collection<String> awsRegions)
awsRegions
- public void setNonAwsRegions(Collection<String> nonAwsRegions)
nonAwsRegions
- public Workload 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 Workload withNonAwsRegions(Collection<String> nonAwsRegions)
nonAwsRegions
- public void setArchitecturalDesign(String architecturalDesign)
architecturalDesign
- public String getArchitecturalDesign()
public Workload withArchitecturalDesign(String architecturalDesign)
architecturalDesign
- public void setReviewOwner(String reviewOwner)
reviewOwner
- public String getReviewOwner()
public Workload withReviewOwner(String reviewOwner)
reviewOwner
- public void setReviewRestrictionDate(Date reviewRestrictionDate)
reviewRestrictionDate
- public Date getReviewRestrictionDate()
public Workload withReviewRestrictionDate(Date reviewRestrictionDate)
reviewRestrictionDate
- public void setIsReviewOwnerUpdateAcknowledged(Boolean isReviewOwnerUpdateAcknowledged)
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
isReviewOwnerUpdateAcknowledged
- Flag indicating whether the workload owner has acknowledged that the Review owner field is
required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
public Boolean getIsReviewOwnerUpdateAcknowledged()
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
public Workload withIsReviewOwnerUpdateAcknowledged(Boolean isReviewOwnerUpdateAcknowledged)
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
isReviewOwnerUpdateAcknowledged
- Flag indicating whether the workload owner has acknowledged that the Review owner field is
required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
public Boolean isReviewOwnerUpdateAcknowledged()
Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
public void setIndustryType(String industryType)
industryType
- public String getIndustryType()
public Workload withIndustryType(String industryType)
industryType
- public void setIndustry(String industry)
industry
- public String getIndustry()
public Workload withIndustry(String industry)
industry
- public void setNotes(String notes)
notes
- public String getNotes()
public Workload withNotes(String notes)
notes
- public void setImprovementStatus(String improvementStatus)
improvementStatus
- WorkloadImprovementStatus
public String getImprovementStatus()
WorkloadImprovementStatus
public Workload withImprovementStatus(String improvementStatus)
improvementStatus
- WorkloadImprovementStatus
public Workload withImprovementStatus(WorkloadImprovementStatus improvementStatus)
improvementStatus
- WorkloadImprovementStatus
public Workload withRiskCounts(Map<String,Integer> riskCounts)
riskCounts
- public Workload addRiskCountsEntry(String key, Integer value)
public Workload clearRiskCountsEntries()
public void setPillarPriorities(Collection<String> pillarPriorities)
pillarPriorities
- public Workload 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 Workload withPillarPriorities(Collection<String> pillarPriorities)
pillarPriorities
- public void setLenses(Collection<String> lenses)
lenses
- public Workload 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 Workload withLenses(Collection<String> lenses)
lenses
- public void setOwner(String owner)
owner
- public String getOwner()
public Workload withOwner(String owner)
owner
- public void setShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
shareInvitationId
- The ID assigned to the share invitation.public String getShareInvitationId()
The ID assigned to the share invitation.
public Workload withShareInvitationId(String shareInvitationId)
The ID assigned to the share invitation.
shareInvitationId
- The ID assigned to the share invitation.public Map<String,String> getTags()
The tags associated with the workload.
public void setTags(Map<String,String> tags)
The tags associated with the workload.
tags
- The tags associated with the workload.public Workload withTags(Map<String,String> tags)
The tags associated with the workload.
tags
- The tags associated with the workload.public Workload clearTagsEntries()
public void setDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Discovery configuration associated to the workload.
discoveryConfig
- Discovery configuration associated to the workload.public WorkloadDiscoveryConfig getDiscoveryConfig()
Discovery configuration associated to the workload.
public Workload withDiscoveryConfig(WorkloadDiscoveryConfig discoveryConfig)
Discovery configuration associated to the workload.
discoveryConfig
- Discovery configuration 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 Workload 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 Workload 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<WorkloadProfile> getProfiles()
Profile associated with a workload.
public void setProfiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
profiles
- Profile associated with a workload.public Workload withProfiles(WorkloadProfile... profiles)
Profile associated with a workload.
NOTE: This method appends the values to the existing list (if any). Use
setProfiles(java.util.Collection)
or withProfiles(java.util.Collection)
if you want to override
the existing values.
profiles
- Profile associated with a workload.public Workload withProfiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
profiles
- Profile associated with a workload.public void setPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts
- public Workload withPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts
- public Workload addPrioritizedRiskCountsEntry(String key, Integer value)
public Workload clearPrioritizedRiskCountsEntries()
public void setJiraConfiguration(WorkloadJiraConfigurationOutput jiraConfiguration)
Jira configuration for a specific workload.
jiraConfiguration
- Jira configuration for a specific workload.public WorkloadJiraConfigurationOutput getJiraConfiguration()
Jira configuration for a specific workload.
public Workload withJiraConfiguration(WorkloadJiraConfigurationOutput jiraConfiguration)
Jira configuration for a specific workload.
jiraConfiguration
- Jira configuration for a specific workload.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.