@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachedFileError extends Object implements Serializable, Cloneable, StructuredPojo
Error describing a failure to retrieve attached file metadata through BatchGetAttachedFileMetadata action.
Constructor and Description |
---|
AttachedFileError() |
Modifier and Type | Method and Description |
---|---|
AttachedFileError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
Status code describing the failure.
|
String |
getErrorMessage()
Why the attached file couldn't be retrieved.
|
String |
getFileId()
The unique identifier of the attached file resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
Status code describing the failure.
|
void |
setErrorMessage(String errorMessage)
Why the attached file couldn't be retrieved.
|
void |
setFileId(String fileId)
The unique identifier of the attached file resource.
|
String |
toString()
Returns a string representation of this object.
|
AttachedFileError |
withErrorCode(String errorCode)
Status code describing the failure.
|
AttachedFileError |
withErrorMessage(String errorMessage)
Why the attached file couldn't be retrieved.
|
AttachedFileError |
withFileId(String fileId)
The unique identifier of the attached file resource.
|
public void setErrorCode(String errorCode)
Status code describing the failure.
errorCode
- Status code describing the failure.public String getErrorCode()
Status code describing the failure.
public AttachedFileError withErrorCode(String errorCode)
Status code describing the failure.
errorCode
- Status code describing the failure.public void setErrorMessage(String errorMessage)
Why the attached file couldn't be retrieved.
errorMessage
- Why the attached file couldn't be retrieved.public String getErrorMessage()
Why the attached file couldn't be retrieved.
public AttachedFileError withErrorMessage(String errorMessage)
Why the attached file couldn't be retrieved.
errorMessage
- Why the attached file couldn't be retrieved.public void setFileId(String fileId)
The unique identifier of the attached file resource.
fileId
- The unique identifier of the attached file resource.public String getFileId()
The unique identifier of the attached file resource.
public AttachedFileError withFileId(String fileId)
The unique identifier of the attached file resource.
fileId
- The unique identifier of the attached file resource.public String toString()
toString
in class Object
Object.toString()
public AttachedFileError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.