@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuggestedFix extends Object implements Serializable, Cloneable, StructuredPojo
Information about the suggested code fix to remediate a finding.
Constructor and Description |
---|
SuggestedFix() |
Modifier and Type | Method and Description |
---|---|
SuggestedFix |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The suggested code to add to your file.
|
String |
getDescription()
A description of the suggested code fix and why it is being suggested.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The suggested code to add to your file.
|
void |
setDescription(String description)
A description of the suggested code fix and why it is being suggested.
|
String |
toString()
Returns a string representation of this object.
|
SuggestedFix |
withCode(String code)
The suggested code to add to your file.
|
SuggestedFix |
withDescription(String description)
A description of the suggested code fix and why it is being suggested.
|
public void setCode(String code)
The suggested code to add to your file.
code
- The suggested code to add to your file.public String getCode()
The suggested code to add to your file.
public SuggestedFix withCode(String code)
The suggested code to add to your file.
code
- The suggested code to add to your file.public void setDescription(String description)
A description of the suggested code fix and why it is being suggested.
description
- A description of the suggested code fix and why it is being suggested.public String getDescription()
A description of the suggested code fix and why it is being suggested.
public SuggestedFix withDescription(String description)
A description of the suggested code fix and why it is being suggested.
description
- A description of the suggested code fix and why it is being suggested.public String toString()
toString
in class Object
Object.toString()
public SuggestedFix clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.