@Generated(value="software.amazon.awssdk:codegen") public final class Subscriber extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Subscriber.Builder,Subscriber>
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
| Modifier and Type | Class and Description |
|---|---|
static interface |
Subscriber.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
The address that AWS sends budget notifications to, either an SNS topic or an email.
|
static Subscriber.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Subscriber.Builder> |
serializableBuilderClass() |
SubscriptionType |
subscriptionType()
The type of notification that AWS sends to a subscriber.
|
String |
subscriptionTypeAsString()
The type of notification that AWS sends to a subscriber.
|
Subscriber.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic SubscriptionType subscriptionType()
The type of notification that AWS sends to a subscriber.
If the service returns an enum value that is not available in the current SDK version, subscriptionType
will return SubscriptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from subscriptionTypeAsString().
SubscriptionTypepublic String subscriptionTypeAsString()
The type of notification that AWS sends to a subscriber.
If the service returns an enum value that is not available in the current SDK version, subscriptionType
will return SubscriptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from subscriptionTypeAsString().
SubscriptionTypepublic String address()
The address that AWS sends budget notifications to, either an SNS topic or an email.
public Subscriber.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Subscriber.Builder,Subscriber>public static Subscriber.Builder builder()
public static Class<? extends Subscriber.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.