@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchFoldersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchFoldersResult() |
Modifier and Type | Method and Description |
---|---|
SearchFoldersResult |
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.
|
SearchFoldersResult |
withFolderSummaryList(Collection<FolderSummary> folderSummaryList)
A structure that contains all of the folders in your AWS account.
|
SearchFoldersResult |
withFolderSummaryList(FolderSummary... folderSummaryList)
A structure that contains all of the folders in your AWS account.
|
SearchFoldersResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
SearchFoldersResult |
withRequestId(String requestId)
The request ID.
|
SearchFoldersResult |
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 SearchFoldersResult 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 SearchFoldersResult 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 SearchFoldersResult 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 SearchFoldersResult 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 SearchFoldersResult withRequestId(String requestId)
The request ID.
requestId
- The request ID.public String toString()
toString
in class Object
Object.toString()
public SearchFoldersResult clone()