@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluateCodeErrorDetail extends Object implements Serializable, Cloneable, StructuredPojo
Contains the list of errors from a code evaluation response.
Constructor and Description |
---|
EvaluateCodeErrorDetail() |
Modifier and Type | Method and Description |
---|---|
EvaluateCodeErrorDetail |
clone() |
boolean |
equals(Object obj) |
List<CodeError> |
getCodeErrors()
Contains the list of
CodeError objects. |
String |
getMessage()
The error payload.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodeErrors(Collection<CodeError> codeErrors)
Contains the list of
CodeError objects. |
void |
setMessage(String message)
The error payload.
|
String |
toString()
Returns a string representation of this object.
|
EvaluateCodeErrorDetail |
withCodeErrors(CodeError... codeErrors)
Contains the list of
CodeError objects. |
EvaluateCodeErrorDetail |
withCodeErrors(Collection<CodeError> codeErrors)
Contains the list of
CodeError objects. |
EvaluateCodeErrorDetail |
withMessage(String message)
The error payload.
|
public void setMessage(String message)
The error payload.
message
- The error payload.public String getMessage()
The error payload.
public EvaluateCodeErrorDetail withMessage(String message)
The error payload.
message
- The error payload.public List<CodeError> getCodeErrors()
Contains the list of CodeError
objects.
CodeError
objects.public void setCodeErrors(Collection<CodeError> codeErrors)
Contains the list of CodeError
objects.
codeErrors
- Contains the list of CodeError
objects.public EvaluateCodeErrorDetail withCodeErrors(CodeError... codeErrors)
Contains the list of CodeError
objects.
NOTE: This method appends the values to the existing list (if any). Use
setCodeErrors(java.util.Collection)
or withCodeErrors(java.util.Collection)
if you want to
override the existing values.
codeErrors
- Contains the list of CodeError
objects.public EvaluateCodeErrorDetail withCodeErrors(Collection<CodeError> codeErrors)
Contains the list of CodeError
objects.
codeErrors
- Contains the list of CodeError
objects.public String toString()
toString
in class Object
Object.toString()
public EvaluateCodeErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.