@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchSuspendUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchSuspendUserResult() |
Modifier and Type | Method and Description |
---|---|
BatchSuspendUserResult |
clone() |
boolean |
equals(Object obj) |
List<UserError> |
getUserErrors()
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user
IDs is returned, along with error codes and error messages.
|
int |
hashCode() |
void |
setUserErrors(Collection<UserError> userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user
IDs is returned, along with error codes and error messages.
|
String |
toString()
Returns a string representation of this object.
|
BatchSuspendUserResult |
withUserErrors(Collection<UserError> userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user
IDs is returned, along with error codes and error messages.
|
BatchSuspendUserResult |
withUserErrors(UserError... userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user
IDs is returned, along with error codes and error messages.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UserError> getUserErrors()
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
public void setUserErrors(Collection<UserError> userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
userErrors
- If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the
user IDs is returned, along with error codes and error messages.public BatchSuspendUserResult withUserErrors(UserError... userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
NOTE: This method appends the values to the existing list (if any). Use
setUserErrors(java.util.Collection)
or withUserErrors(java.util.Collection)
if you want to
override the existing values.
userErrors
- If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the
user IDs is returned, along with error codes and error messages.public BatchSuspendUserResult withUserErrors(Collection<UserError> userErrors)
If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
userErrors
- If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the
user IDs is returned, along with error codes and error messages.public String toString()
toString
in class Object
Object.toString()
public BatchSuspendUserResult clone()
Copyright © 2022. All rights reserved.