Class SinkInfo.Destination.BucketDestination

java.lang.Object
com.google.cloud.logging.SinkInfo.Destination
com.google.cloud.logging.SinkInfo.Destination.BucketDestination
All Implemented Interfaces:
Serializable
Enclosing class:
SinkInfo.Destination

public static final class SinkInfo.Destination.BucketDestination extends SinkInfo.Destination
Class for specifying a Google Cloud Storage bucket as destination for the sink.
See Also:
  • Method Details

    • getBucket

      public String getBucket()
      Returns the name of the Google Cloud Storage bucket this destination represents.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • of

      Creates a BucketDestination object given the name of the bucket to be used as sink destination.