@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentsSource extends Object implements Serializable, Cloneable, StructuredPojo
A key and value pair that identifies the location of an attachment to a document.
| Constructor and Description |
|---|
AttachmentsSource() |
| Modifier and Type | Method and Description |
|---|---|
AttachmentsSource |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key of a key and value pair that identifies the location of an attachment to a document.
|
List<String> |
getValues()
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The key of a key and value pair that identifies the location of an attachment to a document.
|
void |
setValues(Collection<String> values)
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
AttachmentsSource |
withKey(AttachmentsSourceKey key)
The key of a key and value pair that identifies the location of an attachment to a document.
|
AttachmentsSource |
withKey(String key)
The key of a key and value pair that identifies the location of an attachment to a document.
|
AttachmentsSource |
withValues(Collection<String> values)
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
|
AttachmentsSource |
withValues(String... values)
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
|
public void setKey(String key)
The key of a key and value pair that identifies the location of an attachment to a document.
key - The key of a key and value pair that identifies the location of an attachment to a document.AttachmentsSourceKeypublic String getKey()
The key of a key and value pair that identifies the location of an attachment to a document.
AttachmentsSourceKeypublic AttachmentsSource withKey(String key)
The key of a key and value pair that identifies the location of an attachment to a document.
key - The key of a key and value pair that identifies the location of an attachment to a document.AttachmentsSourceKeypublic AttachmentsSource withKey(AttachmentsSourceKey key)
The key of a key and value pair that identifies the location of an attachment to a document.
key - The key of a key and value pair that identifies the location of an attachment to a document.AttachmentsSourceKeypublic List<String> getValues()
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
public void setValues(Collection<String> values)
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
values - The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.public AttachmentsSource withValues(String... values)
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.public AttachmentsSource withValues(Collection<String> values)
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
values - The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.public String toString()
toString in class ObjectObject.toString()public AttachmentsSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.