Class Dataset.Builder
-
- All Implemented Interfaces:
public final class Dataset.BuilderA builder for Dataset.
-
-
Method Summary
Modifier and Type Method Description final Dataset.Builderid(String id)Unique identifier for the dataset final Dataset.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Dataset.Buildername(String name)Name of the dataset. final Dataset.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Dataset.BuilderprojectId(String projectId)Unique identifier for the project that the dataset belongs under final Dataset.BuilderprojectId(JsonField<String> projectId)Sets Builder.projectId to an arbitrary JSON value. final Dataset.Buildercreated(OffsetDateTime created)Date of dataset creation final Dataset.Buildercreated(Optional<OffsetDateTime> created)Alias for calling Builder.created with created.orElse(null).final Dataset.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final Dataset.BuilderdeletedAt(OffsetDateTime deletedAt)Date of dataset deletion, or null if the dataset is still active final Dataset.BuilderdeletedAt(Optional<OffsetDateTime> deletedAt)Alias for calling Builder.deletedAt with deletedAt.orElse(null).final Dataset.BuilderdeletedAt(JsonField<OffsetDateTime> deletedAt)Sets Builder.deletedAt to an arbitrary JSON value. final Dataset.Builderdescription(String description)Textual description of the dataset final Dataset.Builderdescription(Optional<String> description)Alias for calling Builder.description with description.orElse(null).final Dataset.Builderdescription(JsonField<String> description)Sets Builder.description to an arbitrary JSON value. final Dataset.Buildermetadata(Dataset.Metadata metadata)User-controlled metadata about the dataset final Dataset.Buildermetadata(Optional<Dataset.Metadata> metadata)Alias for calling Builder.metadata with metadata.orElse(null).final Dataset.Buildermetadata(JsonField<Dataset.Metadata> metadata)Sets Builder.metadata to an arbitrary JSON value. final Dataset.BuilderuserId(String userId)Identifies the user who created the dataset final Dataset.BuilderuserId(Optional<String> userId)Alias for calling Builder.userId with userId.orElse(null).final Dataset.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final Dataset.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Dataset.BuilderputAdditionalProperty(String key, JsonValue value)final Dataset.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Dataset.BuilderremoveAdditionalProperty(String key)final Dataset.BuilderremoveAllAdditionalProperties(Set<String> keys)final Datasetbuild()Returns an immutable instance of Dataset. -
-
Method Detail
-
id
final Dataset.Builder id(String id)
Unique identifier for the dataset
-
id
final Dataset.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final Dataset.Builder name(String name)
Name of the dataset. Within a project, dataset names are unique
-
name
final Dataset.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final Dataset.Builder projectId(String projectId)
Unique identifier for the project that the dataset belongs under
-
projectId
final Dataset.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final Dataset.Builder created(OffsetDateTime created)
Date of dataset creation
-
created
final Dataset.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final Dataset.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deletedAt
final Dataset.Builder deletedAt(OffsetDateTime deletedAt)
Date of dataset deletion, or null if the dataset is still active
-
deletedAt
final Dataset.Builder deletedAt(Optional<OffsetDateTime> deletedAt)
Alias for calling Builder.deletedAt with
deletedAt.orElse(null).
-
deletedAt
final Dataset.Builder deletedAt(JsonField<OffsetDateTime> deletedAt)
Sets Builder.deletedAt to an arbitrary JSON value.
You should usually call Builder.deletedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final Dataset.Builder description(String description)
Textual description of the dataset
-
description
final Dataset.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final Dataset.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final Dataset.Builder metadata(Dataset.Metadata metadata)
User-controlled metadata about the dataset
-
metadata
final Dataset.Builder metadata(Optional<Dataset.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final Dataset.Builder metadata(JsonField<Dataset.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final Dataset.Builder userId(String userId)
Identifies the user who created the dataset
-
userId
final Dataset.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final Dataset.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Dataset.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Dataset.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Dataset.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Dataset.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Dataset.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-