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 |
setDefaultCollation(String defaultCollation)
Optional.
|
abstract DatasetInfo.Builder |
setDefaultEncryptionConfiguration(EncryptionConfiguration defaultEncryptionConfiguration)
The default encryption key for all tables in the dataset.
|
abstract DatasetInfo.Builder |
setDefaultPartitionExpirationMs(Long defaultPartitionExpirationMs)
[Optional] The default partition expiration time for all partitioned tables in the dataset,
in milliseconds.
|
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.Builder setDefaultEncryptionConfiguration(EncryptionConfiguration defaultEncryptionConfiguration)
public abstract DatasetInfo.Builder setDefaultPartitionExpirationMs(Long defaultPartitionExpirationMs)
null
.public abstract DatasetInfo.Builder setDefaultCollation(String defaultCollation)
* 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior. (-- A wrapper is used here because it is possible to set the value to the empty string. --) (-- api-linter: standard-fields=disabled --)
public abstract DatasetInfo build()
DatasetInfo
object.Copyright © 2023 Google LLC. All rights reserved.