@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartContentUploadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartContentUploadRequest() |
Modifier and Type | Method and Description |
---|---|
StartContentUploadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContentType()
The type of content to upload.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
Integer |
getPresignedUrlTimeToLive()
The expected expiration time of the generated presigned URL, specified in minutes.
|
int |
hashCode() |
void |
setContentType(String contentType)
The type of content to upload.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
void |
setPresignedUrlTimeToLive(Integer presignedUrlTimeToLive)
The expected expiration time of the generated presigned URL, specified in minutes.
|
String |
toString()
Returns a string representation of this object.
|
StartContentUploadRequest |
withContentType(String contentType)
The type of content to upload.
|
StartContentUploadRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
StartContentUploadRequest |
withPresignedUrlTimeToLive(Integer presignedUrlTimeToLive)
The expected expiration time of the generated presigned URL, specified in minutes.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setContentType(String contentType)
The type of content to upload.
contentType
- The type of content to upload.public String getContentType()
The type of content to upload.
public StartContentUploadRequest withContentType(String contentType)
The type of content to upload.
contentType
- The type of content to upload.public void setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're
storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getKnowledgeBaseId()
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
public StartContentUploadRequest withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're
storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.public void setPresignedUrlTimeToLive(Integer presignedUrlTimeToLive)
The expected expiration time of the generated presigned URL, specified in minutes.
presignedUrlTimeToLive
- The expected expiration time of the generated presigned URL, specified in minutes.public Integer getPresignedUrlTimeToLive()
The expected expiration time of the generated presigned URL, specified in minutes.
public StartContentUploadRequest withPresignedUrlTimeToLive(Integer presignedUrlTimeToLive)
The expected expiration time of the generated presigned URL, specified in minutes.
presignedUrlTimeToLive
- The expected expiration time of the generated presigned URL, specified in minutes.public String toString()
toString
in class Object
Object.toString()
public StartContentUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()