@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttachmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAttachmentsResult() |
Modifier and Type | Method and Description |
---|---|
ListAttachmentsResult |
clone() |
boolean |
equals(Object obj) |
List<Attachment> |
getAttachments()
Describes the list of attachments.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setAttachments(Collection<Attachment> attachments)
Describes the list of attachments.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAttachmentsResult |
withAttachments(Attachment... attachments)
Describes the list of attachments.
|
ListAttachmentsResult |
withAttachments(Collection<Attachment> attachments)
Describes the list of attachments.
|
ListAttachmentsResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Attachment> getAttachments()
Describes the list of attachments.
public void setAttachments(Collection<Attachment> attachments)
Describes the list of attachments.
attachments
- Describes the list of attachments.public ListAttachmentsResult withAttachments(Attachment... attachments)
Describes the list of attachments.
NOTE: This method appends the values to the existing list (if any). Use
setAttachments(java.util.Collection)
or withAttachments(java.util.Collection)
if you want to
override the existing values.
attachments
- Describes the list of attachments.public ListAttachmentsResult withAttachments(Collection<Attachment> attachments)
Describes the list of attachments.
attachments
- Describes the list of attachments.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListAttachmentsResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListAttachmentsResult clone()