@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationOptions extends Object implements Serializable, Cloneable, StructuredPojo
Set of options which defines notification preferences of given action.
Constructor and Description |
---|
NotificationOptions() |
Modifier and Type | Method and Description |
---|---|
NotificationOptions |
clone() |
boolean |
equals(Object obj) |
String |
getEmailMessage()
Text value to be included in the email body.
|
Boolean |
getSendEmail()
Boolean value to indicate an email notification should be sent to the recipients.
|
int |
hashCode() |
Boolean |
isSendEmail()
Boolean value to indicate an email notification should be sent to the recipients.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmailMessage(String emailMessage)
Text value to be included in the email body.
|
void |
setSendEmail(Boolean sendEmail)
Boolean value to indicate an email notification should be sent to the recipients.
|
String |
toString()
Returns a string representation of this object.
|
NotificationOptions |
withEmailMessage(String emailMessage)
Text value to be included in the email body.
|
NotificationOptions |
withSendEmail(Boolean sendEmail)
Boolean value to indicate an email notification should be sent to the recipients.
|
public void setSendEmail(Boolean sendEmail)
Boolean value to indicate an email notification should be sent to the recipients.
sendEmail
- Boolean value to indicate an email notification should be sent to the recipients.public Boolean getSendEmail()
Boolean value to indicate an email notification should be sent to the recipients.
public NotificationOptions withSendEmail(Boolean sendEmail)
Boolean value to indicate an email notification should be sent to the recipients.
sendEmail
- Boolean value to indicate an email notification should be sent to the recipients.public Boolean isSendEmail()
Boolean value to indicate an email notification should be sent to the recipients.
public void setEmailMessage(String emailMessage)
Text value to be included in the email body.
emailMessage
- Text value to be included in the email body.public String getEmailMessage()
Text value to be included in the email body.
public NotificationOptions withEmailMessage(String emailMessage)
Text value to be included in the email body.
emailMessage
- Text value to be included in the email body.public String toString()
toString
in class Object
Object.toString()
public NotificationOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.