@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.
|
int |
hashCode() |
void |
setContentType(String contentType)
The type of content to upload.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
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.
|
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. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getKnowledgeBaseId()
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
public StartContentUploadRequest withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.public String toString()
toString
in class Object
Object.toString()
public StartContentUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()