Class GcsUtil.CreateOptions
java.lang.Object
org.apache.beam.sdk.extensions.gcp.util.GcsUtil.CreateOptions
- Enclosing class:
GcsUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The content type for the created file, eg "text/plain".abstract boolean
If true, the created file is expected to not exist.If non-null, the upload buffer size to be used.
-
Constructor Details
-
CreateOptions
public CreateOptions()
-
-
Method Details
-
getExpectFileToNotExist
public abstract boolean getExpectFileToNotExist()If true, the created file is expected to not exist. Instead of checking for file presence before writing a write exception may occur if the file does exist. -
getUploadBufferSizeBytes
If non-null, the upload buffer size to be used. If null, the buffer size corresponds to {code GCSUtil.getUploadBufferSizeBytes} -
getContentType
The content type for the created file, eg "text/plain". -
builder
-