@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentOutput extends Object implements Serializable, Cloneable, StructuredPojo
The details of a file uploaded during chat.
Constructor and Description |
---|
AttachmentOutput() |
Modifier and Type | Method and Description |
---|---|
AttachmentOutput |
clone() |
boolean |
equals(Object obj) |
ErrorDetail |
getError()
An error associated with a file uploaded during chat.
|
String |
getName()
The name of a file uploaded during chat.
|
String |
getStatus()
The status of a file uploaded during chat.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setError(ErrorDetail error)
An error associated with a file uploaded during chat.
|
void |
setName(String name)
The name of a file uploaded during chat.
|
void |
setStatus(String status)
The status of a file uploaded during chat.
|
String |
toString()
Returns a string representation of this object.
|
AttachmentOutput |
withError(ErrorDetail error)
An error associated with a file uploaded during chat.
|
AttachmentOutput |
withName(String name)
The name of a file uploaded during chat.
|
AttachmentOutput |
withStatus(AttachmentStatus status)
The status of a file uploaded during chat.
|
AttachmentOutput |
withStatus(String status)
The status of a file uploaded during chat.
|
public void setName(String name)
The name of a file uploaded during chat.
name
- The name of a file uploaded during chat.public String getName()
The name of a file uploaded during chat.
public AttachmentOutput withName(String name)
The name of a file uploaded during chat.
name
- The name of a file uploaded during chat.public void setStatus(String status)
The status of a file uploaded during chat.
status
- The status of a file uploaded during chat.AttachmentStatus
public String getStatus()
The status of a file uploaded during chat.
AttachmentStatus
public AttachmentOutput withStatus(String status)
The status of a file uploaded during chat.
status
- The status of a file uploaded during chat.AttachmentStatus
public AttachmentOutput withStatus(AttachmentStatus status)
The status of a file uploaded during chat.
status
- The status of a file uploaded during chat.AttachmentStatus
public void setError(ErrorDetail error)
An error associated with a file uploaded during chat.
error
- An error associated with a file uploaded during chat.public ErrorDetail getError()
An error associated with a file uploaded during chat.
public AttachmentOutput withError(ErrorDetail error)
An error associated with a file uploaded during chat.
error
- An error associated with a file uploaded during chat.public String toString()
toString
in class Object
Object.toString()
public AttachmentOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.