Class GcsUtil.CreateOptions

java.lang.Object
org.apache.beam.sdk.extensions.gcp.util.GcsUtil.CreateOptions
Enclosing class:
GcsUtil

public abstract static class GcsUtil.CreateOptions extends Object
  • 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

      public abstract @Nullable Integer getUploadBufferSizeBytes()
      If non-null, the upload buffer size to be used. If null, the buffer size corresponds to {code GCSUtil.getUploadBufferSizeBytes}
    • getContentType

      public abstract @Nullable String getContentType()
      The content type for the created file, eg "text/plain".
    • builder

      public static GcsUtil.CreateOptions.Builder builder()