|
|||||||
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,
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@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.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 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)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |