public abstract static class DatasetInfo.Builder extends Object
DatasetInfo
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract DatasetInfo |
build()
Creates a
DatasetInfo object. |
abstract DatasetInfo.Builder |
setAcl(List<Acl> acl)
Sets the dataset's access control configuration.
|
abstract DatasetInfo.Builder |
setDatasetId(DatasetId datasetId)
Sets the dataset identity.
|
abstract DatasetInfo.Builder |
setDefaultTableLifetime(Long defaultTableLifetime)
Sets the default lifetime of all tables in the dataset, in milliseconds.
|
abstract DatasetInfo.Builder |
setDescription(String description)
Sets a user-friendly description for the dataset.
|
abstract DatasetInfo.Builder |
setFriendlyName(String friendlyName)
Sets a user-friendly name for the dataset.
|
abstract DatasetInfo.Builder |
setLabels(Map<String,String> labels) |
abstract DatasetInfo.Builder |
setLocation(String location)
Sets the geographic location where the dataset should reside.
|
public abstract DatasetInfo.Builder setDatasetId(DatasetId datasetId)
public abstract DatasetInfo.Builder setAcl(List<Acl> acl)
public abstract DatasetInfo.Builder setDefaultTableLifetime(Long defaultTableLifetime)
public abstract DatasetInfo.Builder setDescription(String description)
public abstract DatasetInfo.Builder setFriendlyName(String friendlyName)
public abstract DatasetInfo.Builder setLocation(String location)
public abstract DatasetInfo.Builder setLabels(Map<String,String> labels)
public abstract DatasetInfo build()
DatasetInfo
object.Copyright © 2019 Google LLC. All rights reserved.