public class ListBucketMetricsConfigurationsResult extends Object implements Serializable
AmazonS3Client.listBucketMetricsConfigurations(ListBucketMetricsConfigurationsRequest)
operation.Constructor and Description |
---|
ListBucketMetricsConfigurationsResult() |
Modifier and Type | Method and Description |
---|---|
String |
getContinuationToken()
Gets the optional continuation token.
|
List<MetricsConfiguration> |
getMetricsConfigurationList()
Returns the list of metrics configurations for a bucket.
|
String |
getNextContinuationToken()
Gets the optional NextContinuationToken.
|
boolean |
isTruncated()
Gets whether or not this metrics configuration listing is complete.
|
void |
setContinuationToken(String continuationToken)
Sets the optional continuation token.
|
void |
setMetricsConfigurationList(List<MetricsConfiguration> metricsConfigurationList)
Sets the list of metrics configurations.
|
void |
setNextContinuationToken(String nextContinuationToken)
Sets the optional NextContinuationToken.
|
void |
setTruncated(boolean isTruncated)
For internal use only.
|
ListBucketMetricsConfigurationsResult |
withContinuationToken(String continuationToken)
Sets the optional continuation token.
|
ListBucketMetricsConfigurationsResult |
withMetricsConfigurationList(List<MetricsConfiguration> metricsConfigurationList)
Sets the list of metrics configurations and returns the
ListBucketMetricsConfigurationsResult object for method chaining. |
ListBucketMetricsConfigurationsResult |
withNextContinuationToken(String nextContinuationToken)
Sets the optional NextContinuationToken.
|
ListBucketMetricsConfigurationsResult |
withTruncated(boolean isTruncated)
For internal use only.
|
public ListBucketMetricsConfigurationsResult()
public List<MetricsConfiguration> getMetricsConfigurationList()
public void setMetricsConfigurationList(List<MetricsConfiguration> metricsConfigurationList)
public ListBucketMetricsConfigurationsResult withMetricsConfigurationList(List<MetricsConfiguration> metricsConfigurationList)
ListBucketMetricsConfigurationsResult
object for method chaining.public boolean isTruncated()
true
if the metrics configuration listing is not complete.
Returns the value false
if otherwise.
When returning true
,
additional calls to Amazon S3 may be needed in order to
obtain more results.public void setTruncated(boolean isTruncated)
isTruncated
- The value true
if the metrics configuration listing is not complete.
The value false
if otherwise.public ListBucketMetricsConfigurationsResult withTruncated(boolean isTruncated)
isTruncated
- The value true
if the metrics configuration listing is not complete.
The value false
if otherwise.public String getContinuationToken()
ListBucketMetricsConfigurationsRequest
.public void setContinuationToken(String continuationToken)
ListBucketMetricsConfigurationsRequest
.continuationToken
- The optional continuation token to associate with this request.public ListBucketMetricsConfigurationsResult withContinuationToken(String continuationToken)
ListBucketMetricsConfigurationsRequest
.continuationToken
- The optional continuation token to associate with this request.public String getNextContinuationToken()
public void setNextContinuationToken(String nextContinuationToken)
nextContinuationToken
- The optional NextContinuationToken parameter to associate with this request.public ListBucketMetricsConfigurationsResult withNextContinuationToken(String nextContinuationToken)
nextContinuationToken
- The optional NextContinuationToken parameter to associate with this request.Copyright © 2022. All rights reserved.