@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final String address()
The address that AWS sends budget notifications to, either an SNS topic or an email.
When you create a subscriber, the value of Address can't contain line breaks.
When you create a subscriber, the value of Address can't contain line breaks.
public Subscriber.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Subscriber.Builder,Subscriber>public static Subscriber.Builder builder()
public static Class<? extends Subscriber.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.