Interface TaskDocument.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TaskDocument.Builder,,TaskDocument> SdkBuilder<TaskDocument.Builder,,TaskDocument> SdkPojo
- Enclosing class:
TaskDocument
@Mutable
@NotThreadSafe
public static interface TaskDocument.Builder
extends SdkPojo, CopyableBuilder<TaskDocument.Builder,TaskDocument>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) The content type of the document, as declared in the StartTask request.contentType(DocumentContentType contentType) The content type of the document, as declared in the StartTask request.The name of the document, as given in the StartTask request.The size of the document's content, in bytes.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, as given in the StartTask request.
- Parameters:
name- The name of the document, as given in the StartTask request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeBytes
The size of the document's content, in bytes.
- Parameters:
sizeBytes- The size of the document's content, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content type of the document, as declared in the StartTask request.
- Parameters:
contentType- The content type of the document, as declared in the StartTask request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The content type of the document, as declared in the StartTask request.
- Parameters:
contentType- The content type of the document, as declared in the StartTask request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-