public class SetBucketNotificationConfigurationRequest extends AmazonWebServiceRequest
Constructor and Description |
---|
SetBucketNotificationConfigurationRequest(BucketNotificationConfiguration bucketNotificationConfiguration,
java.lang.String bucket)
Deprecated.
Use SetBucketNotificationConfigurationRequest(String,
BucketNotificationConfiguration) instead.
|
SetBucketNotificationConfigurationRequest(java.lang.String bucketName,
BucketNotificationConfiguration notificationConfiguration)
Constructs a new
SetBucketNotificationConfigurationRequest to set
the bucket notification configuration of the specified bucket. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucket()
Deprecated.
Use getBucketName() instead.
|
java.lang.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(java.lang.String bucket)
Deprecated.
Use setBucketName(String) instead.
|
void |
setBucketName(java.lang.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(java.lang.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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
@Deprecated public SetBucketNotificationConfigurationRequest(BucketNotificationConfiguration bucketNotificationConfiguration, java.lang.String bucket)
public SetBucketNotificationConfigurationRequest(java.lang.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()
withNotificationConfiguration(BucketNotificationConfiguration)
@Deprecated public void setBucketNotificationConfiguration(BucketNotificationConfiguration bucketNotificationConfiguration)
public void setNotificationConfiguration(BucketNotificationConfiguration notificationConfiguration)
notificationConfiguration
- The new notification configuration for
the specified bucket.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.getNotificationConfiguration()
@Deprecated public java.lang.String getBucket()
public java.lang.String getBucketName()
setBucketName(String)
@Deprecated public void setBucket(java.lang.String bucket)
public void setBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket whose notification configuration
is being set.getBucketName()
public SetBucketNotificationConfigurationRequest withBucketName(java.lang.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.setBucketName(String)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.