@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPermissionsFailureEntry extends Object implements Serializable, Cloneable, StructuredPojo
A list of failures when performing a batch grant or batch revoke operation.
| Constructor and Description |
|---|
BatchPermissionsFailureEntry() |
| Modifier and Type | Method and Description |
|---|---|
BatchPermissionsFailureEntry |
clone() |
boolean |
equals(Object obj) |
ErrorDetail |
getError()
An error message that applies to the failure of the entry.
|
BatchPermissionsRequestEntry |
getRequestEntry()
An identifier for an entry of the batch request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setError(ErrorDetail error)
An error message that applies to the failure of the entry.
|
void |
setRequestEntry(BatchPermissionsRequestEntry requestEntry)
An identifier for an entry of the batch request.
|
String |
toString()
Returns a string representation of this object.
|
BatchPermissionsFailureEntry |
withError(ErrorDetail error)
An error message that applies to the failure of the entry.
|
BatchPermissionsFailureEntry |
withRequestEntry(BatchPermissionsRequestEntry requestEntry)
An identifier for an entry of the batch request.
|
public void setRequestEntry(BatchPermissionsRequestEntry requestEntry)
An identifier for an entry of the batch request.
requestEntry - An identifier for an entry of the batch request.public BatchPermissionsRequestEntry getRequestEntry()
An identifier for an entry of the batch request.
public BatchPermissionsFailureEntry withRequestEntry(BatchPermissionsRequestEntry requestEntry)
An identifier for an entry of the batch request.
requestEntry - An identifier for an entry of the batch request.public void setError(ErrorDetail error)
An error message that applies to the failure of the entry.
error - An error message that applies to the failure of the entry.public ErrorDetail getError()
An error message that applies to the failure of the entry.
public BatchPermissionsFailureEntry withError(ErrorDetail error)
An error message that applies to the failure of the entry.
error - An error message that applies to the failure of the entry.public String toString()
toString in class ObjectObject.toString()public BatchPermissionsFailureEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.