|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.SetBucketNotificationConfigurationRequest
public class SetBucketNotificationConfigurationRequest
Contains options for setting the notification configuration for a bucket.
SetBucketNotificationConfigurationRequest(String, BucketNotificationConfiguration)
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@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.Method Detail |
---|
@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 String getBucket()
public String getBucketName()
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.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.setBucketName(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |