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, copyBaseTo, 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, withSdkRequestTimeout
public SetBucketAnalyticsConfigurationRequest()
public SetBucketAnalyticsConfigurationRequest(String bucketName, AnalyticsConfiguration analyticsConfiguration)
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public SetBucketAnalyticsConfigurationRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
403 (Access Denied)
error.withExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
403 (Access Denied)
error.setExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public 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.Copyright © 2023. All rights reserved.