Class ExternalRead.Configuration

java.lang.Object
org.apache.beam.sdk.io.gcp.pubsub.ExternalRead.Configuration
Enclosing class:
ExternalRead

public static class ExternalRead.Configuration extends Object
Parameters class to expose the transform to an external SDK.
  • Constructor Details

    • Configuration

      public Configuration()
  • Method Details

    • setTopic

      public void setTopic(@Nullable String topic)
    • setSubscription

      public void setSubscription(@Nullable String subscription)
    • setIdLabel

      public void setIdLabel(@Nullable String idAttribute)
    • setTimestampAttribute

      public void setTimestampAttribute(@Nullable String timestampAttribute)
    • setWithAttributes

      public void setWithAttributes(Boolean needsAttributes)