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