@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBucketsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBucketsResult() |
Modifier and Type | Method and Description |
---|---|
GetBucketsResult |
clone() |
boolean |
equals(Object obj) |
List<Bucket> |
getBuckets()
An array of objects that describe buckets.
|
String |
getNextPageToken()
The token to advance to the next page of results from your request.
|
int |
hashCode() |
void |
setBuckets(Collection<Bucket> buckets)
An array of objects that describe buckets.
|
void |
setNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
|
String |
toString()
Returns a string representation of this object.
|
GetBucketsResult |
withBuckets(Bucket... buckets)
An array of objects that describe buckets.
|
GetBucketsResult |
withBuckets(Collection<Bucket> buckets)
An array of objects that describe buckets.
|
GetBucketsResult |
withNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Bucket> getBuckets()
An array of objects that describe buckets.
public void setBuckets(Collection<Bucket> buckets)
An array of objects that describe buckets.
buckets
- An array of objects that describe buckets.public GetBucketsResult withBuckets(Bucket... buckets)
An array of objects that describe buckets.
NOTE: This method appends the values to the existing list (if any). Use
setBuckets(java.util.Collection)
or withBuckets(java.util.Collection)
if you want to override
the existing values.
buckets
- An array of objects that describe buckets.public GetBucketsResult withBuckets(Collection<Bucket> buckets)
An array of objects that describe buckets.
buckets
- An array of objects that describe buckets.public void setNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token
using the pageToken
parameter.
nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page
token using the pageToken
parameter.
public String getNextPageToken()
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token
using the pageToken
parameter.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next
page token using the pageToken
parameter.
public GetBucketsResult withNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token
using the pageToken
parameter.
nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page
token using the pageToken
parameter.
public String toString()
toString
in class Object
Object.toString()
public GetBucketsResult clone()