Class AttachmentOutput
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.AttachmentOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AttachmentOutput.Builder,AttachmentOutput>
@Generated("software.amazon.awssdk:codegen") public final class AttachmentOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttachmentOutput.Builder,AttachmentOutput>
The details of a file uploaded during chat.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttachmentOutput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachmentOutput.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorDetailerror()An error associated with a file uploaded during chat.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of a file uploaded during chat.List<SdkField<?>>sdkFields()static Class<? extends AttachmentOutput.Builder>serializableBuilderClass()AttachmentStatusstatus()The status of a file uploaded during chat.StringstatusAsString()The status of a file uploaded during chat.AttachmentOutput.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
-
error
public final ErrorDetail error()
An error associated with a file uploaded during chat.
- Returns:
- An error associated with a file uploaded during chat.
-
name
public final String name()
The name of a file uploaded during chat.
- Returns:
- The name of a file uploaded during chat.
-
status
public final AttachmentStatus status()
The status of a file uploaded during chat.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAttachmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a file uploaded during chat.
- See Also:
AttachmentStatus
-
statusAsString
public final String statusAsString()
The status of a file uploaded during chat.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAttachmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a file uploaded during chat.
- See Also:
AttachmentStatus
-
toBuilder
public AttachmentOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttachmentOutput.Builder,AttachmentOutput>
-
builder
public static AttachmentOutput.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttachmentOutput.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.
-
-