@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketNotificationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The notification configuration for the S3 bucket.
Constructor and Description |
---|
AwsS3BucketNotificationConfiguration() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketNotificationConfiguration |
clone() |
boolean |
equals(Object obj) |
List<AwsS3BucketNotificationConfigurationDetail> |
getConfigurations()
Configurations for S3 bucket notifications.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfigurations(Collection<AwsS3BucketNotificationConfigurationDetail> configurations)
Configurations for S3 bucket notifications.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketNotificationConfiguration |
withConfigurations(AwsS3BucketNotificationConfigurationDetail... configurations)
Configurations for S3 bucket notifications.
|
AwsS3BucketNotificationConfiguration |
withConfigurations(Collection<AwsS3BucketNotificationConfigurationDetail> configurations)
Configurations for S3 bucket notifications.
|
public AwsS3BucketNotificationConfiguration()
public List<AwsS3BucketNotificationConfigurationDetail> getConfigurations()
Configurations for S3 bucket notifications.
public void setConfigurations(Collection<AwsS3BucketNotificationConfigurationDetail> configurations)
Configurations for S3 bucket notifications.
configurations
- Configurations for S3 bucket notifications.public AwsS3BucketNotificationConfiguration withConfigurations(AwsS3BucketNotificationConfigurationDetail... configurations)
Configurations for S3 bucket notifications.
NOTE: This method appends the values to the existing list (if any). Use
setConfigurations(java.util.Collection)
or withConfigurations(java.util.Collection)
if you want
to override the existing values.
configurations
- Configurations for S3 bucket notifications.public AwsS3BucketNotificationConfiguration withConfigurations(Collection<AwsS3BucketNotificationConfigurationDetail> configurations)
Configurations for S3 bucket notifications.
configurations
- Configurations for S3 bucket notifications.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketNotificationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.