@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddAttachmentsToSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddAttachmentsToSetRequest() |
Modifier and Type | Method and Description |
---|---|
AddAttachmentsToSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Attachment> |
getAttachments()
One or more attachments to add to the set.
|
String |
getAttachmentSetId()
The ID of the attachment set.
|
int |
hashCode() |
void |
setAttachments(Collection<Attachment> attachments)
One or more attachments to add to the set.
|
void |
setAttachmentSetId(String attachmentSetId)
The ID of the attachment set.
|
String |
toString()
Returns a string representation of this object.
|
AddAttachmentsToSetRequest |
withAttachments(Attachment... attachments)
One or more attachments to add to the set.
|
AddAttachmentsToSetRequest |
withAttachments(Collection<Attachment> attachments)
One or more attachments to add to the set.
|
AddAttachmentsToSetRequest |
withAttachmentSetId(String attachmentSetId)
The ID of the attachment set.
|
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 setAttachmentSetId(String attachmentSetId)
The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is
created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the
attachments are added to the specified set, if it exists.
attachmentSetId
- The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is
created, and the ID of the set is returned in the response. If an attachmentSetId
is
specified, the attachments are added to the specified set, if it exists.public String getAttachmentSetId()
The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is
created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the
attachments are added to the specified set, if it exists.
attachmentSetId
is not specified, a new attachment set
is created, and the ID of the set is returned in the response. If an attachmentSetId
is
specified, the attachments are added to the specified set, if it exists.public AddAttachmentsToSetRequest withAttachmentSetId(String attachmentSetId)
The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is
created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the
attachments are added to the specified set, if it exists.
attachmentSetId
- The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is
created, and the ID of the set is returned in the response. If an attachmentSetId
is
specified, the attachments are added to the specified set, if it exists.public List<Attachment> getAttachments()
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as blob
,
which is represented as a base64-encoded string. The value for fileName
is the name of the
attachment, such as troubleshoot-screenshot.png
.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as
blob
, which is represented as a base64-encoded string. The value for fileName
is the name of the attachment, such as troubleshoot-screenshot.png
.
public void setAttachments(Collection<Attachment> attachments)
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as blob
,
which is represented as a base64-encoded string. The value for fileName
is the name of the
attachment, such as troubleshoot-screenshot.png
.
attachments
- One or more attachments to add to the set. You can add up to three attachments per set. The size limit is
5 MB per attachment.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as
blob
, which is represented as a base64-encoded string. The value for fileName
is
the name of the attachment, such as troubleshoot-screenshot.png
.
public AddAttachmentsToSetRequest withAttachments(Attachment... attachments)
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as blob
,
which is represented as a base64-encoded string. The value for fileName
is the name of the
attachment, such as troubleshoot-screenshot.png
.
NOTE: This method appends the values to the existing list (if any). Use
setAttachments(java.util.Collection)
or withAttachments(java.util.Collection)
if you want to
override the existing values.
attachments
- One or more attachments to add to the set. You can add up to three attachments per set. The size limit is
5 MB per attachment.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as
blob
, which is represented as a base64-encoded string. The value for fileName
is
the name of the attachment, such as troubleshoot-screenshot.png
.
public AddAttachmentsToSetRequest withAttachments(Collection<Attachment> attachments)
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as blob
,
which is represented as a base64-encoded string. The value for fileName
is the name of the
attachment, such as troubleshoot-screenshot.png
.
attachments
- One or more attachments to add to the set. You can add up to three attachments per set. The size limit is
5 MB per attachment.
In the Attachment
object, use the data
parameter to specify the contents of the
attachment file. In the previous request syntax, the value for data
appear as
blob
, which is represented as a base64-encoded string. The value for fileName
is
the name of the attachment, such as troubleshoot-screenshot.png
.
public String toString()
toString
in class Object
Object.toString()
public AddAttachmentsToSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()