@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 fix.
|
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 fix.
|
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 fix.
|
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 fix. If applicable, includes code patch to replace your source code.
code
- The suggested code fix. If applicable, includes code patch to replace your source code.public String getCode()
The suggested code fix. If applicable, includes code patch to replace your source code.
public SuggestedFix withCode(String code)
The suggested code fix. If applicable, includes code patch to replace your source code.
code
- The suggested code fix. If applicable, includes code patch to replace your source code.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.