@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subscriber extends Object implements Serializable, Cloneable, StructuredPojo
The recipient of AnomalySubscription notifications.
| Constructor and Description |
|---|
Subscriber() |
| Modifier and Type | Method and Description |
|---|---|
Subscriber |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The email address or SNS Amazon Resource Name (ARN), depending on the
Type. |
String |
getStatus()
Indicates if the subscriber accepts the notifications.
|
String |
getType()
The notification delivery channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddress(String address)
The email address or SNS Amazon Resource Name (ARN), depending on the
Type. |
void |
setStatus(String status)
Indicates if the subscriber accepts the notifications.
|
void |
setType(String type)
The notification delivery channel.
|
String |
toString()
Returns a string representation of this object.
|
Subscriber |
withAddress(String address)
The email address or SNS Amazon Resource Name (ARN), depending on the
Type. |
Subscriber |
withStatus(String status)
Indicates if the subscriber accepts the notifications.
|
Subscriber |
withStatus(SubscriberStatus status)
Indicates if the subscriber accepts the notifications.
|
Subscriber |
withType(String type)
The notification delivery channel.
|
Subscriber |
withType(SubscriberType type)
The notification delivery channel.
|
public void setAddress(String address)
The email address or SNS Amazon Resource Name (ARN), depending on the Type.
address - The email address or SNS Amazon Resource Name (ARN), depending on the Type.public String getAddress()
The email address or SNS Amazon Resource Name (ARN), depending on the Type.
Type.public Subscriber withAddress(String address)
The email address or SNS Amazon Resource Name (ARN), depending on the Type.
address - The email address or SNS Amazon Resource Name (ARN), depending on the Type.public void setType(String type)
The notification delivery channel.
type - The notification delivery channel.SubscriberTypepublic String getType()
The notification delivery channel.
SubscriberTypepublic Subscriber withType(String type)
The notification delivery channel.
type - The notification delivery channel.SubscriberTypepublic Subscriber withType(SubscriberType type)
The notification delivery channel.
type - The notification delivery channel.SubscriberTypepublic void setStatus(String status)
Indicates if the subscriber accepts the notifications.
status - Indicates if the subscriber accepts the notifications.SubscriberStatuspublic String getStatus()
Indicates if the subscriber accepts the notifications.
SubscriberStatuspublic Subscriber withStatus(String status)
Indicates if the subscriber accepts the notifications.
status - Indicates if the subscriber accepts the notifications.SubscriberStatuspublic Subscriber withStatus(SubscriberStatus status)
Indicates if the subscriber accepts the notifications.
status - Indicates if the subscriber accepts the notifications.SubscriberStatuspublic String toString()
toString in class ObjectObject.toString()public Subscriber clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.