@Generated(value="software.amazon.awssdk:codegen") public final class NotificationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
Modifier and Type | Class and Description |
---|---|
static interface |
NotificationConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static NotificationConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLambdaFunctionConfigurations()
Returns true if the LambdaFunctionConfigurations property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
boolean |
hasQueueConfigurations()
Returns true if the QueueConfigurations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTopicConfigurations()
Returns true if the TopicConfigurations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<LambdaFunctionConfiguration> |
lambdaFunctionConfigurations()
Describes the AWS Lambda functions to invoke and the events for which to invoke them.
|
List<QueueConfiguration> |
queueConfigurations()
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotificationConfiguration.Builder> |
serializableBuilderClass() |
NotificationConfiguration.Builder |
toBuilder() |
List<TopicConfiguration> |
topicConfigurations()
The topic to which notifications are sent and the events for which notifications are generated.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasTopicConfigurations()
public List<TopicConfiguration> topicConfigurations()
The topic to which notifications are sent and the events for which notifications are generated.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTopicConfigurations()
to see if a value was sent in this field.
public boolean hasQueueConfigurations()
public List<QueueConfiguration> queueConfigurations()
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasQueueConfigurations()
to see if a value was sent in this field.
public boolean hasLambdaFunctionConfigurations()
public List<LambdaFunctionConfiguration> lambdaFunctionConfigurations()
Describes the AWS Lambda functions to invoke and the events for which to invoke them.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLambdaFunctionConfigurations()
to see if a value was sent in this field.
public NotificationConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
public static NotificationConfiguration.Builder builder()
public static Class<? extends NotificationConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.