@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadDocumentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to an UploadDocuments
request.
Constructor and Description |
---|
UploadDocumentsResult() |
Modifier and Type | Method and Description |
---|---|
UploadDocumentsResult |
clone() |
boolean |
equals(Object obj) |
Long |
getAdds()
The number of documents that were added to the search domain.
|
Long |
getDeletes()
The number of documents that were deleted from the search domain.
|
String |
getStatus()
The status of an
UploadDocumentsRequest . |
List<DocumentServiceWarning> |
getWarnings()
Any warnings returned by the document service about the documents being uploaded.
|
int |
hashCode() |
void |
setAdds(Long adds)
The number of documents that were added to the search domain.
|
void |
setDeletes(Long deletes)
The number of documents that were deleted from the search domain.
|
void |
setStatus(String status)
The status of an
UploadDocumentsRequest . |
void |
setWarnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents being uploaded.
|
String |
toString()
Returns a string representation of this object.
|
UploadDocumentsResult |
withAdds(Long adds)
The number of documents that were added to the search domain.
|
UploadDocumentsResult |
withDeletes(Long deletes)
The number of documents that were deleted from the search domain.
|
UploadDocumentsResult |
withStatus(String status)
The status of an
UploadDocumentsRequest . |
UploadDocumentsResult |
withWarnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents being uploaded.
|
UploadDocumentsResult |
withWarnings(DocumentServiceWarning... warnings)
Any warnings returned by the document service about the documents being uploaded.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStatus(String status)
The status of an UploadDocumentsRequest
.
status
- The status of an UploadDocumentsRequest
.public String getStatus()
The status of an UploadDocumentsRequest
.
UploadDocumentsRequest
.public UploadDocumentsResult withStatus(String status)
The status of an UploadDocumentsRequest
.
status
- The status of an UploadDocumentsRequest
.public void setAdds(Long adds)
The number of documents that were added to the search domain.
adds
- The number of documents that were added to the search domain.public Long getAdds()
The number of documents that were added to the search domain.
public UploadDocumentsResult withAdds(Long adds)
The number of documents that were added to the search domain.
adds
- The number of documents that were added to the search domain.public void setDeletes(Long deletes)
The number of documents that were deleted from the search domain.
deletes
- The number of documents that were deleted from the search domain.public Long getDeletes()
The number of documents that were deleted from the search domain.
public UploadDocumentsResult withDeletes(Long deletes)
The number of documents that were deleted from the search domain.
deletes
- The number of documents that were deleted from the search domain.public List<DocumentServiceWarning> getWarnings()
Any warnings returned by the document service about the documents being uploaded.
public void setWarnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents being uploaded.
warnings
- Any warnings returned by the document service about the documents being uploaded.public UploadDocumentsResult withWarnings(DocumentServiceWarning... warnings)
Any warnings returned by the document service about the documents being uploaded.
NOTE: This method appends the values to the existing list (if any). Use
setWarnings(java.util.Collection)
or withWarnings(java.util.Collection)
if you want to override
the existing values.
warnings
- Any warnings returned by the document service about the documents being uploaded.public UploadDocumentsResult withWarnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents being uploaded.
warnings
- Any warnings returned by the document service about the documents being uploaded.public String toString()
toString
in class Object
Object.toString()
public UploadDocumentsResult clone()