@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFoldersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFoldersResult() |
Modifier and Type | Method and Description |
---|---|
ListFoldersResult |
clone() |
boolean |
equals(Object obj) |
List<FolderSummary> |
getFolderSummaryList()
A structure that contains all of the folders in the Amazon Web Services account.
|
String |
getNextToken()
The token for the next set of results, or null if there are no more results.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in the Amazon Web Services account.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
ListFoldersResult |
withFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in the Amazon Web Services account.
|
ListFoldersResult |
withFolderSummaryList(FolderSummary... folderSummaryList)
A structure that contains all of the folders in the Amazon Web Services account.
|
ListFoldersResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListFoldersResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
ListFoldersResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public ListFoldersResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public List<FolderSummary> getFolderSummaryList()
A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.
public void setFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.
folderSummaryList
- A structure that contains all of the folders in the Amazon Web Services account. This structure provides
basic information about the folders.public ListFoldersResult withFolderSummaryList(FolderSummary... folderSummaryList)
A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.
NOTE: This method appends the values to the existing list (if any). Use
setFolderSummaryList(java.util.Collection)
or withFolderSummaryList(java.util.Collection)
if
you want to override the existing values.
folderSummaryList
- A structure that contains all of the folders in the Amazon Web Services account. This structure provides
basic information about the folders.public ListFoldersResult withFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.
folderSummaryList
- A structure that contains all of the folders in the Amazon Web Services account. This structure provides
basic information about the folders.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public String getNextToken()
The token for the next set of results, or null if there are no more results.
public ListFoldersResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public ListFoldersResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String toString()
toString
in class Object
Object.toString()
public ListFoldersResult clone()