@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subscriber extends Object implements Serializable, Cloneable, StructuredPojo
The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.
For example, an email subscriber would have the following parameters:
A subscriptionType of EMAIL
An address of example@example.com
| Constructor and Description |
|---|
Subscriber() |
| Modifier and Type | Method and Description |
|---|---|
Subscriber |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The address that AWS sends budget notifications to, either an SNS topic or an email.
|
String |
getSubscriptionType()
The type of notification that AWS sends to a subscriber.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddress(String address)
The address that AWS sends budget notifications to, either an SNS topic or an email.
|
void |
setSubscriptionType(String subscriptionType)
The type of notification that AWS sends to a subscriber.
|
void |
setSubscriptionType(SubscriptionType subscriptionType)
The type of notification that AWS sends to a subscriber.
|
String |
toString()
Returns a string representation of this object.
|
Subscriber |
withAddress(String address)
The address that AWS sends budget notifications to, either an SNS topic or an email.
|
Subscriber |
withSubscriptionType(String subscriptionType)
The type of notification that AWS sends to a subscriber.
|
Subscriber |
withSubscriptionType(SubscriptionType subscriptionType)
The type of notification that AWS sends to a subscriber.
|
public void setSubscriptionType(String subscriptionType)
The type of notification that AWS sends to a subscriber.
subscriptionType - The type of notification that AWS sends to a subscriber.SubscriptionTypepublic String getSubscriptionType()
The type of notification that AWS sends to a subscriber.
SubscriptionTypepublic Subscriber withSubscriptionType(String subscriptionType)
The type of notification that AWS sends to a subscriber.
subscriptionType - The type of notification that AWS sends to a subscriber.SubscriptionTypepublic void setSubscriptionType(SubscriptionType subscriptionType)
The type of notification that AWS sends to a subscriber.
subscriptionType - The type of notification that AWS sends to a subscriber.SubscriptionTypepublic Subscriber withSubscriptionType(SubscriptionType subscriptionType)
The type of notification that AWS sends to a subscriber.
subscriptionType - The type of notification that AWS sends to a subscriber.SubscriptionTypepublic void setAddress(String address)
The address that AWS sends budget notifications to, either an SNS topic or an email.
address - The address that AWS sends budget notifications to, either an SNS topic or an email.public String getAddress()
The address that AWS sends budget notifications to, either an SNS topic or an email.
public Subscriber withAddress(String address)
The address that AWS sends budget notifications to, either an SNS topic or an email.
address - The address that AWS sends budget notifications to, either an SNS topic or an email.public String toString()
toString in class ObjectObject.toString()public Subscriber clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.