@Generated(value="software.amazon.awssdk:codegen") public final class AttachmentsSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttachmentsSource.Builder,AttachmentsSource>
A key and value pair that identifies the location of an attachment to a document.
Modifier and Type | Class and Description |
---|---|
static interface |
AttachmentsSource.Builder |
Modifier and Type | Method and Description |
---|---|
static AttachmentsSource.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AttachmentsSourceKey |
key()
The key of a key and value pair that identifies the location of an attachment to a document.
|
String |
keyAsString()
The key of a key and value pair that identifies the location of an attachment to a document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttachmentsSource.Builder> |
serializableBuilderClass() |
AttachmentsSource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<String> |
values()
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
|
copy
public AttachmentsSourceKey key()
The key of a key and value pair that identifies the location of an attachment to a document.
If the service returns an enum value that is not available in the current SDK version, key
will return
AttachmentsSourceKey.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
keyAsString()
.
AttachmentsSourceKey
public String keyAsString()
The key of a key and value pair that identifies the location of an attachment to a document.
If the service returns an enum value that is not available in the current SDK version, key
will return
AttachmentsSourceKey.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
keyAsString()
.
AttachmentsSourceKey
public List<String> values()
The URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AttachmentsSource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttachmentsSource.Builder,AttachmentsSource>
public static AttachmentsSource.Builder builder()
public static Class<? extends AttachmentsSource.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.