Class StartContentUploadRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.qconnect.model.QConnectRequest
-
- software.amazon.awssdk.services.qconnect.model.StartContentUploadRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartContentUploadRequest.Builder,StartContentUploadRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartContentUploadRequest extends QConnectRequest implements ToCopyableBuilder<StartContentUploadRequest.Builder,StartContentUploadRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartContentUploadRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartContentUploadRequest.Builderbuilder()StringcontentType()The type of content to upload.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringknowledgeBaseId()The identifier of the knowledge base.IntegerpresignedUrlTimeToLive()The expected expiration time of the generated presigned URL, specified in minutes.List<SdkField<?>>sdkFields()static Class<? extends StartContentUploadRequest.Builder>serializableBuilderClass()StartContentUploadRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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()
The type of content to upload.
- Returns:
- The type of content to upload.
-
knowledgeBaseId
public final String knowledgeBaseId()
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Returns:
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
presignedUrlTimeToLive
public final Integer presignedUrlTimeToLive()
The expected expiration time of the generated presigned URL, specified in minutes.
- Returns:
- The expected expiration time of the generated presigned URL, specified in minutes.
-
toBuilder
public StartContentUploadRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartContentUploadRequest.Builder,StartContentUploadRequest>- Specified by:
toBuilderin classQConnectRequest
-
builder
public static StartContentUploadRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartContentUploadRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-