@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BadRequestDetail extends Object implements Serializable, Cloneable, StructuredPojo
Provides further details for the reason behind the bad request. For reason type CODE_ERROR
, the detail
will contain a list of code errors.
Constructor and Description |
---|
BadRequestDetail() |
Modifier and Type | Method and Description |
---|---|
BadRequestDetail |
clone() |
boolean |
equals(Object obj) |
List<CodeError> |
getCodeErrors()
Contains the list of errors in the request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCodeErrors(Collection<CodeError> codeErrors)
Contains the list of errors in the request.
|
String |
toString()
Returns a string representation of this object.
|
BadRequestDetail |
withCodeErrors(CodeError... codeErrors)
Contains the list of errors in the request.
|
BadRequestDetail |
withCodeErrors(Collection<CodeError> codeErrors)
Contains the list of errors in the request.
|
public List<CodeError> getCodeErrors()
Contains the list of errors in the request.
public void setCodeErrors(Collection<CodeError> codeErrors)
Contains the list of errors in the request.
codeErrors
- Contains the list of errors in the request.public BadRequestDetail withCodeErrors(CodeError... codeErrors)
Contains the list of errors in the request.
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 errors in the request.public BadRequestDetail withCodeErrors(Collection<CodeError> codeErrors)
Contains the list of errors in the request.
codeErrors
- Contains the list of errors in the request.public String toString()
toString
in class Object
Object.toString()
public BadRequestDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.