Interface InputDocument.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InputDocument.Builder,,InputDocument> SdkBuilder<InputDocument.Builder,,InputDocument> SdkPojo
- Enclosing class:
InputDocument
@Mutable
@NotThreadSafe
public static interface InputDocument.Builder
extends SdkPojo, CopyableBuilder<InputDocument.Builder,InputDocument>
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the document.contentType(String contentType) You must specify a content type that the task configuration accepts.contentType(DocumentContentType contentType) You must specify a content type that the task configuration accepts.The name of the document.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the document. The name must be unique within the request.
- Parameters:
name- The name of the document. The name must be unique within the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
You must specify a content type that the task configuration accepts. Otherwise, the request fails with ValidationException.
- Parameters:
contentType- You must specify a content type that the task configuration accepts. Otherwise, the request fails with ValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
You must specify a content type that the task configuration accepts. Otherwise, the request fails with ValidationException.
- Parameters:
contentType- You must specify a content type that the task configuration accepts. Otherwise, the request fails with ValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
The content of the document. All the documents in one request can total at most 10,485,760 bytes (10 MiB).
- Parameters:
content- The content of the document. All the documents in one request can total at most 10,485,760 bytes (10 MiB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-