Class UploadDocumentsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudsearchdomain.model.UploadDocumentsRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
public class UploadDocumentsRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Container for the parameters to the UploadDocuments request.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe format of the batch you are uploading.A batch of documents formatted in JSON or HTML.inthashCode()voidsetContentLength(Long contentLength) voidsetContentType(ContentType contentType) The format of the batch you are uploading.voidsetContentType(String contentType) The format of the batch you are uploading.voidsetDocuments(InputStream documents) A batch of documents formatted in JSON or HTML.toString()Returns a string representation of this object; useful for testing and debugging.withContentLength(Long contentLength) withContentType(ContentType contentType) The format of the batch you are uploading.withContentType(String contentType) The format of the batch you are uploading.withDocuments(InputStream documents) A batch of documents formatted in JSON or HTML.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
UploadDocumentsRequest
public UploadDocumentsRequest()
-
-
Method Details
-
setDocuments
A batch of documents formatted in JSON or HTML.
- Parameters:
documents- A batch of documents formatted in JSON or HTML.
-
getDocuments
A batch of documents formatted in JSON or HTML.
- Returns:
- A batch of documents formatted in JSON or HTML.
-
withDocuments
A batch of documents formatted in JSON or HTML.
- Parameters:
documents- A batch of documents formatted in JSON or HTML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setContentType
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
- application/json
- application/xml
- Parameters:
contentType- The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:- application/json
- application/xml
- See Also:
-
getContentType
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
- application/json
- application/xml
- Returns:
- The format of the batch you are uploading. Amazon CloudSearch
supports two document batch formats:
- application/json
- application/xml
- See Also:
-
withContentType
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
- application/json
- application/xml
- Parameters:
contentType- The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:- application/json
- application/xml
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setContentType
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
- application/json
- application/xml
- Parameters:
contentType- The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:- application/json
- application/xml
- See Also:
-
withContentType
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
- application/json
- application/xml
- Parameters:
contentType- The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:- application/json
- application/xml
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setContentLength
- Parameters:
contentLength-
-
getContentLength
- Returns:
-
withContentLength
- Parameters:
contentLength-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-