@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentInformation extends Object implements Serializable, Cloneable, StructuredPojo
An attribute of an attachment, such as the attachment name.
Constructor and Description |
---|
AttachmentInformation() |
Modifier and Type | Method and Description |
---|---|
AttachmentInformation |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the attachment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the attachment.
|
String |
toString()
Returns a string representation of this object.
|
AttachmentInformation |
withName(String name)
The name of the attachment.
|
public void setName(String name)
The name of the attachment.
name
- The name of the attachment.public String getName()
The name of the attachment.
public AttachmentInformation withName(String name)
The name of the attachment.
name
- The name of the attachment.public String toString()
toString
in class Object
Object.toString()
public AttachmentInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.