public class SetBucketNotificationConfigurationRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
SetBucketNotificationConfigurationRequest(BucketNotificationConfiguration bucketNotificationConfiguration,
String bucket)
Deprecated.
Use SetBucketNotificationConfigurationRequest(String, BucketNotificationConfiguration) instead.
|
SetBucketNotificationConfigurationRequest(String bucketName,
BucketNotificationConfiguration notificationConfiguration)
Constructs a new
SetBucketNotificationConfigurationRequest
to set the bucket notification configuration of
the specified bucket. |
Modifier and Type | Method and Description |
---|---|
String |
getBucket()
Deprecated.
Use getBucketName() instead.
|
String |
getBucketName()
Gets the name of the bucket whose notification configuration is being
set.
|
BucketNotificationConfiguration |
getBucketNotificationConfiguration()
Deprecated.
Use getNotificationConfiguration() instead.
|
BucketNotificationConfiguration |
getNotificationConfiguration()
Gets the new notification configuration for the specified bucket.
|
void |
setBucket(String bucket)
Deprecated.
Use setBucketName(String) instead.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket whose notification configuration is being
set.
|
void |
setBucketNotificationConfiguration(BucketNotificationConfiguration bucketNotificationConfiguration)
Deprecated.
Use setNotificationConfiguration(BucketNotificationConfiguration) instead.
|
void |
setNotificationConfiguration(BucketNotificationConfiguration notificationConfiguration)
Sets the new notification configuration for the specified bucket.
|
SetBucketNotificationConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket whose notification configuration is being
set, and returns this object so that additional method calls may be
chained together.
|
SetBucketNotificationConfigurationRequest |
withNotificationConfiguration(BucketNotificationConfiguration notificationConfiguration)
Sets the new notification configuration for the specified bucket and
returns this object, enabling additional method calls to be chained
together.
|
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
@Deprecated public SetBucketNotificationConfigurationRequest(BucketNotificationConfiguration bucketNotificationConfiguration, String bucket)
public SetBucketNotificationConfigurationRequest(String bucketName, BucketNotificationConfiguration notificationConfiguration)
SetBucketNotificationConfigurationRequest
to set the bucket notification configuration of
the specified bucket.bucketName
- The name of the bucket for which to set the notification
configuration.notificationConfiguration
- The new notification configuration for this bucket, which
completely replaces any existing configuration.@Deprecated public BucketNotificationConfiguration getBucketNotificationConfiguration()
public BucketNotificationConfiguration getNotificationConfiguration()
SetBucketNotificationConfigurationRequest.withNotificationConfiguration(BucketNotificationConfiguration)
@Deprecated public void setBucketNotificationConfiguration(BucketNotificationConfiguration bucketNotificationConfiguration)
public void setNotificationConfiguration(BucketNotificationConfiguration notificationConfiguration)
notificationConfiguration
- The new notification configuration for the specified bucket.SetBucketNotificationConfigurationRequest.withNotificationConfiguration(BucketNotificationConfiguration)
public SetBucketNotificationConfigurationRequest withNotificationConfiguration(BucketNotificationConfiguration notificationConfiguration)
notificationConfiguration
- The new notification configuration for the specified bucket.SetBucketNotificationConfigurationRequest
object,
enabling that additional method calls may be chained together.SetBucketNotificationConfigurationRequest.getNotificationConfiguration()
@Deprecated public String getBucket()
public String getBucketName()
SetBucketNotificationConfigurationRequest.setBucketName(String)
@Deprecated public void setBucket(String bucket)
public void setBucketName(String bucketName)
bucketName
- The name of the bucket whose notification configuration is
being set.SetBucketNotificationConfigurationRequest.getBucketName()
public SetBucketNotificationConfigurationRequest withBucketName(String bucketName)
bucketName
- The name of the bucket whose notification configuration is
being set.SetBucketNotificationConfigurationRequest
object so
that additional method calls may be chained together.SetBucketNotificationConfigurationRequest.setBucketName(String)
Copyright © 2024. All rights reserved.