Class SinkInfo.Destination.BucketDestination (3.21.0)

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
Name Description
bucket String
Returns
Type Description
SinkInfo.Destination.BucketDestination

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBucket()

public String getBucket()

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

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides