@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotifyWorkersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
NotifyWorkersRequest() |
Modifier and Type | Method and Description |
---|---|
NotifyWorkersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMessageText()
The text of the email message to send.
|
String |
getSubject()
The subject line of the email message to send.
|
List<String> |
getWorkerIds()
A list of Worker IDs you wish to notify.
|
int |
hashCode() |
void |
setMessageText(String messageText)
The text of the email message to send.
|
void |
setSubject(String subject)
The subject line of the email message to send.
|
void |
setWorkerIds(Collection<String> workerIds)
A list of Worker IDs you wish to notify.
|
String |
toString()
Returns a string representation of this object.
|
NotifyWorkersRequest |
withMessageText(String messageText)
The text of the email message to send.
|
NotifyWorkersRequest |
withSubject(String subject)
The subject line of the email message to send.
|
NotifyWorkersRequest |
withWorkerIds(Collection<String> workerIds)
A list of Worker IDs you wish to notify.
|
NotifyWorkersRequest |
withWorkerIds(String... workerIds)
A list of Worker IDs you wish to notify.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSubject(String subject)
The subject line of the email message to send. Can include up to 200 characters.
subject
- The subject line of the email message to send. Can include up to 200 characters.public String getSubject()
The subject line of the email message to send. Can include up to 200 characters.
public NotifyWorkersRequest withSubject(String subject)
The subject line of the email message to send. Can include up to 200 characters.
subject
- The subject line of the email message to send. Can include up to 200 characters.public void setMessageText(String messageText)
The text of the email message to send. Can include up to 4,096 characters
messageText
- The text of the email message to send. Can include up to 4,096 characterspublic String getMessageText()
The text of the email message to send. Can include up to 4,096 characters
public NotifyWorkersRequest withMessageText(String messageText)
The text of the email message to send. Can include up to 4,096 characters
messageText
- The text of the email message to send. Can include up to 4,096 characterspublic List<String> getWorkerIds()
A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.
public void setWorkerIds(Collection<String> workerIds)
A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.
workerIds
- A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.public NotifyWorkersRequest withWorkerIds(String... workerIds)
A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.
NOTE: This method appends the values to the existing list (if any). Use
setWorkerIds(java.util.Collection)
or withWorkerIds(java.util.Collection)
if you want to
override the existing values.
workerIds
- A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.public NotifyWorkersRequest withWorkerIds(Collection<String> workerIds)
A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.
workerIds
- A list of Worker IDs you wish to notify. You can notify upto 100 Workers at a time.public String toString()
toString
in class Object
Object.toString()
public NotifyWorkersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()