@Generated(value="software.amazon.awssdk:codegen") public final class Subscriber extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Subscriber.Builder,Subscriber>
The recipient of AnomalySubscription notifications.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Subscriber.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
The email address or SNS Amazon Resource Name (ARN), depending on the
Type. |
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() |
SubscriberStatus |
status()
Indicates if the subscriber accepts the notifications.
|
String |
statusAsString()
Indicates if the subscriber accepts the notifications.
|
Subscriber.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SubscriberType |
type()
The notification delivery channel.
|
String |
typeAsString()
The notification delivery channel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String address()
The email address or SNS Amazon Resource Name (ARN), depending on the Type.
Type.public final SubscriberType type()
The notification delivery channel.
If the service returns an enum value that is not available in the current SDK version, type will return
SubscriberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SubscriberTypepublic final String typeAsString()
The notification delivery channel.
If the service returns an enum value that is not available in the current SDK version, type will return
SubscriberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SubscriberTypepublic final SubscriberStatus status()
Indicates if the subscriber accepts the notifications.
If the service returns an enum value that is not available in the current SDK version, status will
return SubscriberStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SubscriberStatuspublic final String statusAsString()
Indicates if the subscriber accepts the notifications.
If the service returns an enum value that is not available in the current SDK version, status will
return SubscriberStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SubscriberStatuspublic 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.