Package com.google.cloud.logging
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.cloud.logging.SinkInfo.Destination
SinkInfo.Destination.BucketDestination, SinkInfo.Destination.DatasetDestination, SinkInfo.Destination.LoggingBucketDestination, SinkInfo.Destination.TopicDestination, SinkInfo.Destination.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBucket()Returns the name of the Google Cloud Storage bucket this destination represents.inthashCode()static SinkInfo.Destination.BucketDestinationof(String bucket)Creates aBucketDestinationobject given the name of the bucket to be used as sink destination.StringtoString()-
Methods inherited from class com.google.cloud.logging.SinkInfo.Destination
getType
-
-
-
-
Method Detail
-
getBucket
public String getBucket()
Returns the name of the Google Cloud Storage bucket this destination represents.
-
of
public static SinkInfo.Destination.BucketDestination of(String bucket)
Creates aBucketDestinationobject given the name of the bucket to be used as sink destination.
-
-