@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetFieldResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetFieldResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetFieldResult |
clone() |
boolean |
equals(Object obj) |
List<FieldError> |
getErrors()
A list of field errors.
|
List<GetFieldResponse> |
getFields()
A list of detailed field information.
|
int |
hashCode() |
void |
setErrors(Collection<FieldError> errors)
A list of field errors.
|
void |
setFields(Collection<GetFieldResponse> fields)
A list of detailed field information.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetFieldResult |
withErrors(Collection<FieldError> errors)
A list of field errors.
|
BatchGetFieldResult |
withErrors(FieldError... errors)
A list of field errors.
|
BatchGetFieldResult |
withFields(Collection<GetFieldResponse> fields)
A list of detailed field information.
|
BatchGetFieldResult |
withFields(GetFieldResponse... fields)
A list of detailed field information.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FieldError> getErrors()
A list of field errors.
public void setErrors(Collection<FieldError> errors)
A list of field errors.
errors
- A list of field errors.public BatchGetFieldResult withErrors(FieldError... errors)
A list of field errors.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of field errors.public BatchGetFieldResult withErrors(Collection<FieldError> errors)
A list of field errors.
errors
- A list of field errors.public List<GetFieldResponse> getFields()
A list of detailed field information.
public void setFields(Collection<GetFieldResponse> fields)
A list of detailed field information.
fields
- A list of detailed field information.public BatchGetFieldResult withFields(GetFieldResponse... fields)
A list of detailed field information.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
or withFields(java.util.Collection)
if you want to override the
existing values.
fields
- A list of detailed field information.public BatchGetFieldResult withFields(Collection<GetFieldResponse> fields)
A list of detailed field information.
fields
- A list of detailed field information.public String toString()
toString
in class Object
Object.toString()
public BatchGetFieldResult clone()