Class AttachmentItem
- java.lang.Object
-
- software.amazon.awssdk.services.connectparticipant.model.AttachmentItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AttachmentItem.Builder,AttachmentItem>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttachmentItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattachmentId()A unique identifier for the attachment.StringattachmentName()A case-sensitive name of the attachment being uploaded.static AttachmentItem.Builderbuilder()StringcontentType()Describes the MIME file type of the attachment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AttachmentItem.Builder>serializableBuilderClass()ArtifactStatusstatus()Status of the attachment.StringstatusAsString()Status of the attachment.AttachmentItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
contentType
public 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.
- Returns:
- Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
-
attachmentId
public final String attachmentId()
A unique identifier for the attachment.
- Returns:
- A unique identifier for the attachment.
-
attachmentName
public final String attachmentName()
A case-sensitive name of the attachment being uploaded.
- Returns:
- A case-sensitive name of the attachment being uploaded.
-
status
public final ArtifactStatus status()
Status of the attachment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnArtifactStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the attachment.
- See Also:
ArtifactStatus
-
statusAsString
public final String statusAsString()
Status of the attachment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnArtifactStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the attachment.
- See Also:
ArtifactStatus
-
toBuilder
public AttachmentItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttachmentItem.Builder,AttachmentItem>
-
builder
public static AttachmentItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttachmentItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-