@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LensReviewSummary extends Object implements Serializable, Cloneable, StructuredPojo
A lens review summary of a workload.
| Constructor and Description |
|---|
LensReviewSummary() |
| Modifier and Type | Method and Description |
|---|---|
LensReviewSummary |
addPrioritizedRiskCountsEntry(String key,
Integer value)
Add a single PrioritizedRiskCounts entry
|
LensReviewSummary |
addRiskCountsEntry(String key,
Integer value)
Add a single RiskCounts entry
|
LensReviewSummary |
clearPrioritizedRiskCountsEntries()
Removes all the entries added into PrioritizedRiskCounts.
|
LensReviewSummary |
clearRiskCountsEntries()
Removes all the entries added into RiskCounts.
|
LensReviewSummary |
clone() |
boolean |
equals(Object obj) |
String |
getLensAlias() |
String |
getLensArn()
The ARN for the lens.
|
String |
getLensName() |
String |
getLensStatus()
The status of the lens.
|
String |
getLensVersion()
The version of the lens.
|
Map<String,Integer> |
getPrioritizedRiskCounts() |
List<WorkloadProfile> |
getProfiles()
The profiles associated with the workload.
|
Map<String,Integer> |
getRiskCounts() |
Date |
getUpdatedAt() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLensAlias(String lensAlias) |
void |
setLensArn(String lensArn)
The ARN for the lens.
|
void |
setLensName(String lensName) |
void |
setLensStatus(String lensStatus)
The status of the lens.
|
void |
setLensVersion(String lensVersion)
The version of the lens.
|
void |
setPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts) |
void |
setProfiles(Collection<WorkloadProfile> profiles)
The profiles associated with the workload.
|
void |
setRiskCounts(Map<String,Integer> riskCounts) |
void |
setUpdatedAt(Date updatedAt) |
String |
toString()
Returns a string representation of this object.
|
LensReviewSummary |
withLensAlias(String lensAlias) |
LensReviewSummary |
withLensArn(String lensArn)
The ARN for the lens.
|
LensReviewSummary |
withLensName(String lensName) |
LensReviewSummary |
withLensStatus(LensStatus lensStatus)
The status of the lens.
|
LensReviewSummary |
withLensStatus(String lensStatus)
The status of the lens.
|
LensReviewSummary |
withLensVersion(String lensVersion)
The version of the lens.
|
LensReviewSummary |
withPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts) |
LensReviewSummary |
withProfiles(Collection<WorkloadProfile> profiles)
The profiles associated with the workload.
|
LensReviewSummary |
withProfiles(WorkloadProfile... profiles)
The profiles associated with the workload.
|
LensReviewSummary |
withRiskCounts(Map<String,Integer> riskCounts) |
LensReviewSummary |
withUpdatedAt(Date updatedAt) |
public void setLensAlias(String lensAlias)
lensAlias - public String getLensAlias()
public LensReviewSummary withLensAlias(String lensAlias)
lensAlias - public void setLensArn(String lensArn)
The ARN for the lens.
lensArn - The ARN for the lens.public String getLensArn()
The ARN for the lens.
public LensReviewSummary withLensArn(String lensArn)
The ARN for the lens.
lensArn - The ARN for the lens.public void setLensVersion(String lensVersion)
The version of the lens.
lensVersion - The version of the lens.public String getLensVersion()
The version of the lens.
public LensReviewSummary withLensVersion(String lensVersion)
The version of the lens.
lensVersion - The version of the lens.public void setLensName(String lensName)
lensName - public String getLensName()
public LensReviewSummary withLensName(String lensName)
lensName - public void setLensStatus(String lensStatus)
The status of the lens.
lensStatus - The status of the lens.LensStatuspublic String getLensStatus()
The status of the lens.
LensStatuspublic LensReviewSummary withLensStatus(String lensStatus)
The status of the lens.
lensStatus - The status of the lens.LensStatuspublic LensReviewSummary withLensStatus(LensStatus lensStatus)
The status of the lens.
lensStatus - The status of the lens.LensStatuspublic void setUpdatedAt(Date updatedAt)
updatedAt - public Date getUpdatedAt()
public LensReviewSummary withUpdatedAt(Date updatedAt)
updatedAt - public LensReviewSummary withRiskCounts(Map<String,Integer> riskCounts)
riskCounts - public LensReviewSummary addRiskCountsEntry(String key, Integer value)
public LensReviewSummary clearRiskCountsEntries()
public List<WorkloadProfile> getProfiles()
The profiles associated with the workload.
public void setProfiles(Collection<WorkloadProfile> profiles)
The profiles associated with the workload.
profiles - The profiles associated with the workload.public LensReviewSummary withProfiles(WorkloadProfile... profiles)
The profiles associated with the 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 - The profiles associated with the workload.public LensReviewSummary withProfiles(Collection<WorkloadProfile> profiles)
The profiles associated with the workload.
profiles - The profiles associated with the workload.public void setPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts - public LensReviewSummary withPrioritizedRiskCounts(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts - public LensReviewSummary addPrioritizedRiskCountsEntry(String key, Integer value)
public LensReviewSummary clearPrioritizedRiskCountsEntries()
public String toString()
toString in class ObjectObject.toString()public LensReviewSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.