public class VaultNotificationConfig
extends java.lang.Object
implements java.io.Serializable
Represents a vault's notification configuration.
| コンストラクタと説明 |
|---|
VaultNotificationConfig()
Default constructor for a new VaultNotificationConfig object.
|
VaultNotificationConfig(java.lang.String sNSTopic,
java.util.List<java.lang.String> events)
Constructs a new VaultNotificationConfig object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getEvents()
A list of one or more events for which Amazon Glacier will send a
notification to the specified Amazon SNS topic.
|
java.lang.String |
getSNSTopic()
The Amazon Simple Notification Service (Amazon SNS) topic Amazon
Resource Name (ARN).
|
int |
hashCode() |
void |
setEvents(java.util.Collection<java.lang.String> events)
A list of one or more events for which Amazon Glacier will send a
notification to the specified Amazon SNS topic.
|
void |
setSNSTopic(java.lang.String sNSTopic)
The Amazon Simple Notification Service (Amazon SNS) topic Amazon
Resource Name (ARN).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VaultNotificationConfig |
withEvents(java.util.Collection<java.lang.String> events)
A list of one or more events for which Amazon Glacier will send a
notification to the specified Amazon SNS topic.
|
VaultNotificationConfig |
withEvents(java.lang.String... events)
A list of one or more events for which Amazon Glacier will send a
notification to the specified Amazon SNS topic.
|
VaultNotificationConfig |
withSNSTopic(java.lang.String sNSTopic)
The Amazon Simple Notification Service (Amazon SNS) topic Amazon
Resource Name (ARN).
|
public VaultNotificationConfig()
public VaultNotificationConfig(java.lang.String sNSTopic,
java.util.List<java.lang.String> events)
sNSTopic - The Amazon Simple Notification Service (Amazon SNS)
topic Amazon Resource Name (ARN).events - A list of one or more events for which Amazon Glacier
will send a notification to the specified Amazon SNS topic.public java.lang.String getSNSTopic()
public void setSNSTopic(java.lang.String sNSTopic)
sNSTopic - The Amazon Simple Notification Service (Amazon SNS) topic Amazon
Resource Name (ARN).public VaultNotificationConfig withSNSTopic(java.lang.String sNSTopic)
Returns a reference to this object so that method calls can be chained together.
sNSTopic - The Amazon Simple Notification Service (Amazon SNS) topic Amazon
Resource Name (ARN).public java.util.List<java.lang.String> getEvents()
public void setEvents(java.util.Collection<java.lang.String> events)
events - A list of one or more events for which Amazon Glacier will send a
notification to the specified Amazon SNS topic.public VaultNotificationConfig withEvents(java.lang.String... events)
Returns a reference to this object so that method calls can be chained together.
events - A list of one or more events for which Amazon Glacier will send a
notification to the specified Amazon SNS topic.public VaultNotificationConfig withEvents(java.util.Collection<java.lang.String> events)
Returns a reference to this object so that method calls can be chained together.
events - A list of one or more events for which Amazon Glacier will send a
notification to the specified Amazon SNS topic.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object