@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 |
addRiskCountsEntry(String key,
Integer value)
Add a single RiskCounts entry
|
Workload |
clearRiskCountsEntries()
Removes all the entries added into RiskCounts.
|
Workload |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds() |
String |
getArchitecturalDesign() |
List<String> |
getAwsRegions() |
String |
getDescription() |
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.
|
List<String> |
getLenses() |
List<String> |
getNonAwsRegions() |
String |
getNotes() |
String |
getOwner() |
List<String> |
getPillarPriorities() |
String |
getReviewOwner() |
Date |
getReviewRestrictionDate() |
Map<String,Integer> |
getRiskCounts() |
String |
getShareInvitationId()
The ID assigned to the share invitation.
|
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 |
setArchitecturalDesign(String architecturalDesign) |
void |
setAwsRegions(Collection<String> awsRegions) |
void |
setDescription(String description) |
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 |
setLenses(Collection<String> lenses) |
void |
setNonAwsRegions(Collection<String> nonAwsRegions) |
void |
setNotes(String notes) |
void |
setOwner(String owner) |
void |
setPillarPriorities(Collection<String> pillarPriorities) |
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 |
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 |
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 |
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 |
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 |
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 |
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 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.