@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkloadSummary extends Object implements Serializable, Cloneable, StructuredPojo
A workload summary return object.
Constructor and Description |
---|
WorkloadSummary() |
public void setWorkloadId(String workloadId)
workloadId
- public String getWorkloadId()
public WorkloadSummary withWorkloadId(String workloadId)
workloadId
- public void setWorkloadArn(String workloadArn)
workloadArn
- public String getWorkloadArn()
public WorkloadSummary withWorkloadArn(String workloadArn)
workloadArn
- public void setWorkloadName(String workloadName)
workloadName
- public String getWorkloadName()
public WorkloadSummary withWorkloadName(String workloadName)
workloadName
- public void setOwner(String owner)
owner
- public String getOwner()
public WorkloadSummary withOwner(String owner)
owner
- public void setUpdatedAt(Date updatedAt)
updatedAt
- public Date getUpdatedAt()
public WorkloadSummary withUpdatedAt(Date updatedAt)
updatedAt
- public void setLenses(Collection<String> lenses)
lenses
- public WorkloadSummary 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 WorkloadSummary withLenses(Collection<String> lenses)
lenses
- public WorkloadSummary withRiskCounts(Map<String,Integer> riskCounts)
riskCounts
- public WorkloadSummary addRiskCountsEntry(String key, Integer value)
public WorkloadSummary clearRiskCountsEntries()
public void setImprovementStatus(String improvementStatus)
improvementStatus
- WorkloadImprovementStatus
public String getImprovementStatus()
WorkloadImprovementStatus
public WorkloadSummary withImprovementStatus(String improvementStatus)
improvementStatus
- WorkloadImprovementStatus
public WorkloadSummary withImprovementStatus(WorkloadImprovementStatus improvementStatus)
improvementStatus
- WorkloadImprovementStatus
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 WorkloadSummary 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 WorkloadSummary withProfiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
profiles
- Profile associated with a workload.public void setPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts
- public WorkloadSummary withPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts
- public WorkloadSummary addPrioritizedRiskCountsEntry(String key, Integer value)
public WorkloadSummary clearPrioritizedRiskCountsEntries()
public String toString()
toString
in class Object
Object.toString()
public WorkloadSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.