public class SetBucketAnalyticsConfigurationRequest extends AmazonWebServiceRequest implements Serializable, ExpectedBucketOwnerRequest
NOOP| Constructor and Description |
|---|
SetBucketAnalyticsConfigurationRequest() |
SetBucketAnalyticsConfigurationRequest(String bucketName,
AnalyticsConfiguration analyticsConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsConfiguration |
getAnalyticsConfiguration()
Returns the
AnalyticsConfiguration object. |
String |
getBucketName()
Returns the name of the bucket to which an analytics configuration is stored.
|
String |
getExpectedBucketOwner()
Returns he account id of the expected bucket owner.
|
void |
setAnalyticsConfiguration(AnalyticsConfiguration analyticsConfiguration)
Sets the
AnalyticsConfiguration object. |
void |
setBucketName(String bucketName)
Sets the name of the bucket to which an analytics configuration is stored.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
SetBucketAnalyticsConfigurationRequest |
withAnalyticsConfiguration(AnalyticsConfiguration analyticsConfiguration)
Sets the
AnalyticsConfiguration object and
returns this object for method chaining. |
SetBucketAnalyticsConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket to which an analytics configuration is stored
and returns this object for method chaining.
|
SetBucketAnalyticsConfigurationRequest |
withExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
addHandlerContext, clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic SetBucketAnalyticsConfigurationRequest()
public SetBucketAnalyticsConfigurationRequest(String bucketName, AnalyticsConfiguration analyticsConfiguration)
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest403 (Access Denied) error.getExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic SetBucketAnalyticsConfigurationRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest403 (Access Denied) error.withExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest403 (Access Denied) error.setExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic String getBucketName()
public void setBucketName(String bucketName)
public SetBucketAnalyticsConfigurationRequest withBucketName(String bucketName)
public AnalyticsConfiguration getAnalyticsConfiguration()
AnalyticsConfiguration object.public void setAnalyticsConfiguration(AnalyticsConfiguration analyticsConfiguration)
AnalyticsConfiguration object.public SetBucketAnalyticsConfigurationRequest withAnalyticsConfiguration(AnalyticsConfiguration analyticsConfiguration)
AnalyticsConfiguration object and
returns this object for method chaining.