public class ListBucketsPaginatedResult extends Object
Constructor and Description |
---|
ListBucketsPaginatedResult() |
Modifier and Type | Method and Description |
---|---|
List<Bucket> |
getBuckets()
Returns the list of buckets owned by the requester.
|
String |
getContinuationToken()
Returns the continuationToken.
|
Owner |
getOwner()
Returns the owner of the buckets listed.
|
String |
getPrefix()
Returns the prefix used to filter bucket names in the response.
|
void |
setBuckets(List<Bucket> buckets)
Sets the buckets
|
void |
setContinuationToken(String continuationToken)
Sets the continuationToken.
|
void |
setOwner(Owner bucketsOwner)
Sets the owner of the buckets listed.
|
void |
setPrefix(String prefix)
Sets the prefix used to filter bucket names in the response.
|
ListBucketsPaginatedResult |
withBuckets(List<Bucket> buckets)
Sets the buckets
|
ListBucketsPaginatedResult |
withContinuationToken(String continuationToken)
Sets the continuationToken.
|
ListBucketsPaginatedResult |
withOwner(Owner owner)
Sets the owner
|
ListBucketsPaginatedResult |
withPrefix(String prefix)
Sets the prefix used to filter bucket names in the response.
|
public void setBuckets(List<Bucket> buckets)
buckets
- The new buckets value.public ListBucketsPaginatedResult withBuckets(List<Bucket> buckets)
buckets
- The new buckets value.public Owner getOwner()
public void setOwner(Owner bucketsOwner)
public ListBucketsPaginatedResult withOwner(Owner owner)
owner
- The new owner value.public String getContinuationToken()
public void setContinuationToken(String continuationToken)
public ListBucketsPaginatedResult withContinuationToken(String continuationToken)
continuationToken
- The new continuationToken value.public String getPrefix()
public void setPrefix(String prefix)
prefix
- The new prefix value.public ListBucketsPaginatedResult withPrefix(String prefix)
prefix
- The new prefix value.