@Generated(value="software.amazon.awssdk:codegen") public final class UploadDocumentsRequest extends CloudSearchDomainRequest implements ToCopyableBuilder<UploadDocumentsRequest.Builder,UploadDocumentsRequest>
Container for the parameters to the UploadDocuments request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UploadDocumentsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UploadDocumentsRequest.Builder |
builder() |
Long |
contentLength()
Returns the value of the ContentLength property for this object.
|
ContentType |
contentType()
The format of the batch you are uploading.
|
String |
contentTypeAsString()
The format of the batch you are uploading.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UploadDocumentsRequest.Builder> |
serializableBuilderClass() |
UploadDocumentsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ContentType contentType()
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
If the service returns an enum value that is not available in the current SDK version, contentType will
return ContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contentTypeAsString().
ContentTypepublic final String contentTypeAsString()
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
If the service returns an enum value that is not available in the current SDK version, contentType will
return ContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contentTypeAsString().
ContentTypepublic final Long contentLength()
public UploadDocumentsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UploadDocumentsRequest.Builder,UploadDocumentsRequest>toBuilder in class CloudSearchDomainRequestpublic static UploadDocumentsRequest.Builder builder()
public static Class<? extends UploadDocumentsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.