@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDocumentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDocumentsResult() |
Modifier and Type | Method and Description |
---|---|
ListDocumentsResult |
clone() |
boolean |
equals(Object obj) |
List<DocumentIdentifier> |
getDocumentIdentifiers()
The names of the SSM documents.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setDocumentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)
The names of the SSM documents.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object.
|
ListDocumentsResult |
withDocumentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)
The names of the SSM documents.
|
ListDocumentsResult |
withDocumentIdentifiers(DocumentIdentifier... documentIdentifiers)
The names of the SSM documents.
|
ListDocumentsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DocumentIdentifier> getDocumentIdentifiers()
The names of the SSM documents.
public void setDocumentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)
The names of the SSM documents.
documentIdentifiers
- The names of the SSM documents.public ListDocumentsResult withDocumentIdentifiers(DocumentIdentifier... documentIdentifiers)
The names of the SSM documents.
NOTE: This method appends the values to the existing list (if any). Use
setDocumentIdentifiers(java.util.Collection)
or withDocumentIdentifiers(java.util.Collection)
if you want to override the existing values.
documentIdentifiers
- The names of the SSM documents.public ListDocumentsResult withDocumentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)
The names of the SSM documents.
documentIdentifiers
- The names of the SSM documents.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public ListDocumentsResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String toString()
toString
in class Object
Object.toString()
public ListDocumentsResult clone()