@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAssociateProjectAssetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchAssociateProjectAssetsResult() |
Modifier and Type | Method and Description |
---|---|
BatchAssociateProjectAssetsResult |
clone() |
boolean |
equals(Object obj) |
List<AssetErrorDetails> |
getErrors()
A list of associated error information, if any.
|
int |
hashCode() |
void |
setErrors(Collection<AssetErrorDetails> errors)
A list of associated error information, if any.
|
String |
toString()
Returns a string representation of this object.
|
BatchAssociateProjectAssetsResult |
withErrors(AssetErrorDetails... errors)
A list of associated error information, if any.
|
BatchAssociateProjectAssetsResult |
withErrors(Collection<AssetErrorDetails> errors)
A list of associated error information, if any.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssetErrorDetails> getErrors()
A list of associated error information, if any.
public void setErrors(Collection<AssetErrorDetails> errors)
A list of associated error information, if any.
errors
- A list of associated error information, if any.public BatchAssociateProjectAssetsResult withErrors(AssetErrorDetails... errors)
A list of associated error information, if any.
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 associated error information, if any.public BatchAssociateProjectAssetsResult withErrors(Collection<AssetErrorDetails> errors)
A list of associated error information, if any.
errors
- A list of associated error information, if any.public String toString()
toString
in class Object
Object.toString()
public BatchAssociateProjectAssetsResult clone()