@Generated(value="software.amazon.awssdk:codegen") public final class VaultNotificationConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VaultNotificationConfig.Builder,VaultNotificationConfig>
Represents a vault's notification configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VaultNotificationConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VaultNotificationConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
events()
A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS
topic.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEvents()
Returns true if the Events property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VaultNotificationConfig.Builder> |
serializableBuilderClass() |
String |
snsTopic()
The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).
|
VaultNotificationConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String snsTopic()
The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).
public final boolean hasEvents()
public final List<String> events()
A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS topic.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEvents() to see if a value was sent in this field.
public VaultNotificationConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VaultNotificationConfig.Builder,VaultNotificationConfig>public static VaultNotificationConfig.Builder builder()
public static Class<? extends VaultNotificationConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.