@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGrantPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGrantPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
BatchGrantPermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<BatchPermissionsFailureEntry> |
getFailures()
A list of failures to grant permissions to the resources.
|
int |
hashCode() |
void |
setFailures(Collection<BatchPermissionsFailureEntry> failures)
A list of failures to grant permissions to the resources.
|
String |
toString()
Returns a string representation of this object.
|
BatchGrantPermissionsResult |
withFailures(BatchPermissionsFailureEntry... failures)
A list of failures to grant permissions to the resources.
|
BatchGrantPermissionsResult |
withFailures(Collection<BatchPermissionsFailureEntry> failures)
A list of failures to grant permissions to the resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchPermissionsFailureEntry> getFailures()
A list of failures to grant permissions to the resources.
public void setFailures(Collection<BatchPermissionsFailureEntry> failures)
A list of failures to grant permissions to the resources.
failures
- A list of failures to grant permissions to the resources.public BatchGrantPermissionsResult withFailures(BatchPermissionsFailureEntry... failures)
A list of failures to grant permissions to the resources.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
or withFailures(java.util.Collection)
if you want to override
the existing values.
failures
- A list of failures to grant permissions to the resources.public BatchGrantPermissionsResult withFailures(Collection<BatchPermissionsFailureEntry> failures)
A list of failures to grant permissions to the resources.
failures
- A list of failures to grant permissions to the resources.public String toString()
toString
in class Object
Object.toString()
public BatchGrantPermissionsResult clone()