|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.glacier.model.VaultNotificationConfig
public class VaultNotificationConfig
Represents a vault's notification configuration.
Constructor Summary | |
---|---|
VaultNotificationConfig()
Default constructor for a new VaultNotificationConfig object. |
|
VaultNotificationConfig(String sNSTopic,
List<String> events)
Constructs a new VaultNotificationConfig object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getEvents()
A list of one or more events for which Amazon Glacier will send a notification to the specified Amazon SNS topic. |
String |
getSNSTopic()
The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN). |
int |
hashCode()
|
void |
setEvents(Collection<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(String sNSTopic)
The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
VaultNotificationConfig |
withEvents(Collection<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(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(String sNSTopic)
The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN). |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VaultNotificationConfig()
public VaultNotificationConfig(String sNSTopic, List<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.Method Detail |
---|
public String getSNSTopic()
public void setSNSTopic(String sNSTopic)
sNSTopic
- The Amazon Simple Notification Service (Amazon SNS) topic Amazon
Resource Name (ARN).public VaultNotificationConfig withSNSTopic(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 List<String> getEvents()
public void setEvents(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |