@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateError extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing information about one error encountered while performing an UpdatePermissions operation.
Constructor and Description |
---|
UpdateError() |
Modifier and Type | Method and Description |
---|---|
UpdateError |
clone() |
boolean |
equals(Object obj) |
UpdateInstruction |
getCausedBy()
Specifies which permission update caused the error.
|
Integer |
getCode()
The error code.
|
String |
getMessage()
The message for this error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCausedBy(UpdateInstruction causedBy)
Specifies which permission update caused the error.
|
void |
setCode(Integer code)
The error code.
|
void |
setMessage(String message)
The message for this error.
|
String |
toString()
Returns a string representation of this object.
|
UpdateError |
withCausedBy(UpdateInstruction causedBy)
Specifies which permission update caused the error.
|
UpdateError |
withCode(Integer code)
The error code.
|
UpdateError |
withMessage(String message)
The message for this error.
|
public void setCausedBy(UpdateInstruction causedBy)
Specifies which permission update caused the error.
causedBy
- Specifies which permission update caused the error.public UpdateInstruction getCausedBy()
Specifies which permission update caused the error.
public UpdateError withCausedBy(UpdateInstruction causedBy)
Specifies which permission update caused the error.
causedBy
- Specifies which permission update caused the error.public void setCode(Integer code)
The error code.
code
- The error code.public Integer getCode()
The error code.
public UpdateError withCode(Integer code)
The error code.
code
- The error code.public void setMessage(String message)
The message for this error.
message
- The message for this error.public String getMessage()
The message for this error.
public UpdateError withMessage(String message)
The message for this error.
message
- The message for this error.public String toString()
toString
in class Object
Object.toString()
public UpdateError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.