Interface OntologyInductionDocument.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OntologyInductionDocument.Builder,,OntologyInductionDocument> SdkBuilder<OntologyInductionDocument.Builder,,OntologyInductionDocument> SdkPojo
- Enclosing class:
OntologyInductionDocument
@Mutable
@NotThreadSafe
public static interface OntologyInductionDocument.Builder
extends SdkPojo, CopyableBuilder<OntologyInductionDocument.Builder,OntologyInductionDocument>
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the document, of the type thatcontentTypespecifies.contentType(String contentType) The document's type.contentType(OntologyInductionDocumentContentType contentType) The document's type.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. Each document in the request needs its own name, and the name only labels the document, whose type
contentTypesets.- Parameters:
name- The name of the document. Each document in the request needs its own name, and the name only labels the document, whose typecontentTypesets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The document's type. Its bytes must be a real document of this type. Otherwise the request fails with ValidationException.
- Parameters:
contentType- The document's type. Its bytes must be a real document of this type. Otherwise the request fails with ValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The document's type. Its bytes must be a real document of this type. Otherwise the request fails with ValidationException.
- Parameters:
contentType- The document's type. Its bytes must be a real document of this type. 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, of the type that
contentTypespecifies. Each document can be up to 10,485,760 bytes (10 MiB), and all the documents in the request together up to 10 MiB.- Parameters:
content- The content of the document, of the type thatcontentTypespecifies. Each document can be up to 10,485,760 bytes (10 MiB), and all the documents in the request together up to 10 MiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-