Class SinkInfo.Destination.BucketDestination (3.10.5)

public static final class SinkInfo.Destination.BucketDestination extends SinkInfo.Destination

Class for specifying a Google Cloud Storage bucket as destination for the sink.

Inheritance

Object > SinkInfo.Destination > SinkInfo.Destination.BucketDestination

Static Methods

of(String bucket)

public static SinkInfo.Destination.BucketDestination of(String bucket)

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

Parameter
NameDescription
bucketString
Returns
TypeDescription
SinkInfo.Destination.BucketDestination

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucket()

public String getBucket()

Returns the name of the Google Cloud Storage bucket this destination represents.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides