@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 your AWS account.
|
String |
getNextToken()
The token for the next set of results, or null if there are no more results.
|
String |
getRequestId()
The request ID.
|
Integer |
getStatus()
The status.
|
int |
hashCode() |
void |
setFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in your AWS 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 request ID.
|
void |
setStatus(Integer status)
The status.
|
String |
toString()
Returns a string representation of this object.
|
ListFoldersResult |
withFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in your AWS account.
|
ListFoldersResult |
withFolderSummaryList(FolderSummary... folderSummaryList)
A structure that contains all of the folders in your AWS 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 request ID.
|
ListFoldersResult |
withStatus(Integer status)
The status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatus(Integer status)
The status. If succeeded, the status is SC_OK
status
- The status. If succeeded, the status is SC_OK
public Integer getStatus()
The status. If succeeded, the status is SC_OK
SC_OK
public ListFoldersResult withStatus(Integer status)
The status. If succeeded, the status is SC_OK
status
- The status. If succeeded, the status is SC_OK
public List<FolderSummary> getFolderSummaryList()
A structure that contains all of the folders in your AWS account. This structure provides basic information about the folders.
public void setFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in your AWS account. This structure provides basic information about the folders.
folderSummaryList
- A structure that contains all of the folders in your AWS account. This structure provides basic
information about the folders.public ListFoldersResult withFolderSummaryList(FolderSummary... folderSummaryList)
A structure that contains all of the folders in your AWS 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 your AWS account. This structure provides basic
information about the folders.public ListFoldersResult withFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in your AWS account. This structure provides basic information about the folders.
folderSummaryList
- A structure that contains all of the folders in your AWS 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 request ID.
requestId
- The request ID.public String getRequestId()
The request ID.
public ListFoldersResult withRequestId(String requestId)
The request ID.
requestId
- The request ID.public String toString()
toString
in class Object
Object.toString()
public ListFoldersResult clone()