@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Remediation extends Object implements Serializable, Cloneable, StructuredPojo
Information about how to remediate a finding.
Constructor and Description |
---|
Remediation() |
Modifier and Type | Method and Description |
---|---|
Remediation |
clone() |
boolean |
equals(Object obj) |
Recommendation |
getRecommendation()
An object that contains information about the recommended course of action to remediate a finding.
|
List<SuggestedFix> |
getSuggestedFixes()
A list of
SuggestedFix objects. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecommendation(Recommendation recommendation)
An object that contains information about the recommended course of action to remediate a finding.
|
void |
setSuggestedFixes(Collection<SuggestedFix> suggestedFixes)
A list of
SuggestedFix objects. |
String |
toString()
Returns a string representation of this object.
|
Remediation |
withRecommendation(Recommendation recommendation)
An object that contains information about the recommended course of action to remediate a finding.
|
Remediation |
withSuggestedFixes(Collection<SuggestedFix> suggestedFixes)
A list of
SuggestedFix objects. |
Remediation |
withSuggestedFixes(SuggestedFix... suggestedFixes)
A list of
SuggestedFix objects. |
public void setRecommendation(Recommendation recommendation)
An object that contains information about the recommended course of action to remediate a finding.
recommendation
- An object that contains information about the recommended course of action to remediate a finding.public Recommendation getRecommendation()
An object that contains information about the recommended course of action to remediate a finding.
public Remediation withRecommendation(Recommendation recommendation)
An object that contains information about the recommended course of action to remediate a finding.
recommendation
- An object that contains information about the recommended course of action to remediate a finding.public List<SuggestedFix> getSuggestedFixes()
A list of SuggestedFix
objects. Each object contains information about a suggested code fix to
remediate the finding.
SuggestedFix
objects. Each object contains information about a suggested code fix
to remediate the finding.public void setSuggestedFixes(Collection<SuggestedFix> suggestedFixes)
A list of SuggestedFix
objects. Each object contains information about a suggested code fix to
remediate the finding.
suggestedFixes
- A list of SuggestedFix
objects. Each object contains information about a suggested code fix
to remediate the finding.public Remediation withSuggestedFixes(SuggestedFix... suggestedFixes)
A list of SuggestedFix
objects. Each object contains information about a suggested code fix to
remediate the finding.
NOTE: This method appends the values to the existing list (if any). Use
setSuggestedFixes(java.util.Collection)
or withSuggestedFixes(java.util.Collection)
if you want
to override the existing values.
suggestedFixes
- A list of SuggestedFix
objects. Each object contains information about a suggested code fix
to remediate the finding.public Remediation withSuggestedFixes(Collection<SuggestedFix> suggestedFixes)
A list of SuggestedFix
objects. Each object contains information about a suggested code fix to
remediate the finding.
suggestedFixes
- A list of SuggestedFix
objects. Each object contains information about a suggested code fix
to remediate the finding.public String toString()
toString
in class Object
Object.toString()
public Remediation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.