@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishBatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PublishBatchRequest() |
Modifier and Type | Method and Description |
---|---|
PublishBatchRequest |
clone() |
boolean |
equals(Object obj) |
List<PublishBatchRequestEntry> |
getPublishBatchRequestEntries()
A list of
PublishBatch request entries to be sent to the SNS topic. |
String |
getTopicArn()
The Amazon resource name (ARN) of the topic you want to batch publish to.
|
int |
hashCode() |
void |
setPublishBatchRequestEntries(Collection<PublishBatchRequestEntry> publishBatchRequestEntries)
A list of
PublishBatch request entries to be sent to the SNS topic. |
void |
setTopicArn(String topicArn)
The Amazon resource name (ARN) of the topic you want to batch publish to.
|
String |
toString()
Returns a string representation of this object.
|
PublishBatchRequest |
withPublishBatchRequestEntries(Collection<PublishBatchRequestEntry> publishBatchRequestEntries)
A list of
PublishBatch request entries to be sent to the SNS topic. |
PublishBatchRequest |
withPublishBatchRequestEntries(PublishBatchRequestEntry... publishBatchRequestEntries)
A list of
PublishBatch request entries to be sent to the SNS topic. |
PublishBatchRequest |
withTopicArn(String topicArn)
The Amazon resource name (ARN) of the topic you want to batch publish to.
|
addHandlerContext, copyBaseTo, 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 setTopicArn(String topicArn)
The Amazon resource name (ARN) of the topic you want to batch publish to.
topicArn
- The Amazon resource name (ARN) of the topic you want to batch publish to.public String getTopicArn()
The Amazon resource name (ARN) of the topic you want to batch publish to.
public PublishBatchRequest withTopicArn(String topicArn)
The Amazon resource name (ARN) of the topic you want to batch publish to.
topicArn
- The Amazon resource name (ARN) of the topic you want to batch publish to.public List<PublishBatchRequestEntry> getPublishBatchRequestEntries()
A list of PublishBatch
request entries to be sent to the SNS topic.
PublishBatch
request entries to be sent to the SNS topic.public void setPublishBatchRequestEntries(Collection<PublishBatchRequestEntry> publishBatchRequestEntries)
A list of PublishBatch
request entries to be sent to the SNS topic.
publishBatchRequestEntries
- A list of PublishBatch
request entries to be sent to the SNS topic.public PublishBatchRequest withPublishBatchRequestEntries(PublishBatchRequestEntry... publishBatchRequestEntries)
A list of PublishBatch
request entries to be sent to the SNS topic.
NOTE: This method appends the values to the existing list (if any). Use
setPublishBatchRequestEntries(java.util.Collection)
or
withPublishBatchRequestEntries(java.util.Collection)
if you want to override the existing values.
publishBatchRequestEntries
- A list of PublishBatch
request entries to be sent to the SNS topic.public PublishBatchRequest withPublishBatchRequestEntries(Collection<PublishBatchRequestEntry> publishBatchRequestEntries)
A list of PublishBatch
request entries to be sent to the SNS topic.
publishBatchRequestEntries
- A list of PublishBatch
request entries to be sent to the SNS topic.public String toString()
toString
in class Object
Object.toString()
public PublishBatchRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.