@Generated(value="software.amazon.awssdk:codegen") public final class AttachmentItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttachmentItem.Builder,AttachmentItem>
The case-insensitive input to indicate standard MIME type that describes the format of the file that will be uploaded.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AttachmentItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attachmentId()
A unique identifier for the attachment.
|
String |
attachmentName()
A case-sensitive name of the attachment being uploaded.
|
static AttachmentItem.Builder |
builder() |
String |
contentType()
Describes the MIME file type of the attachment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttachmentItem.Builder> |
serializableBuilderClass() |
ArtifactStatus |
status()
Status of the attachment.
|
String |
statusAsString()
Status of the attachment.
|
AttachmentItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contentType()
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
public final String attachmentId()
A unique identifier for the attachment.
public final String attachmentName()
A case-sensitive name of the attachment being uploaded.
public final ArtifactStatus status()
Status of the attachment.
If the service returns an enum value that is not available in the current SDK version, status will
return ArtifactStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ArtifactStatuspublic final String statusAsString()
Status of the attachment.
If the service returns an enum value that is not available in the current SDK version, status will
return ArtifactStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ArtifactStatuspublic AttachmentItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AttachmentItem.Builder,AttachmentItem>public static AttachmentItem.Builder builder()
public static Class<? extends AttachmentItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.