@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 [email protected]
| 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)
Marshalls this structured data using the given
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.
AWS validates the address for a CreateSubscriber request with the .* regex.
address - The address that AWS sends budget notifications to, either an SNS topic or an email.
AWS validates the address for a CreateSubscriber request with the .* regex.
public String getAddress()
The address that AWS sends budget notifications to, either an SNS topic or an email.
AWS validates the address for a CreateSubscriber request with the .* regex.
AWS validates the address for a CreateSubscriber request with the .* regex.
public Subscriber withAddress(String address)
The address that AWS sends budget notifications to, either an SNS topic or an email.
AWS validates the address for a CreateSubscriber request with the .* regex.
address - The address that AWS sends budget notifications to, either an SNS topic or an email.
AWS validates the address for a CreateSubscriber request with the .* regex.
public String toString()
toString in class ObjectObject.toString()public Subscriber clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.