Class ProjectDataRetention.Builder
-
- All Implemented Interfaces:
public final class ProjectDataRetention.BuilderA builder for ProjectDataRetention.
-
-
Method Summary
Modifier and Type Method Description final ProjectDataRetention.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final ProjectDataRetention.Buildertype(ProjectDataRetention.Type type)The configured project data retention type. final ProjectDataRetention.Buildertype(JsonField<ProjectDataRetention.Type> type)Sets Builder.type to an arbitrary JSON value. final ProjectDataRetention.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ProjectDataRetention.BuilderputAdditionalProperty(String key, JsonValue value)final ProjectDataRetention.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ProjectDataRetention.BuilderremoveAdditionalProperty(String key)final ProjectDataRetention.BuilderremoveAllAdditionalProperties(Set<String> keys)final ProjectDataRetentionbuild()Returns an immutable instance of ProjectDataRetention. -
-
Method Detail
-
object_
final ProjectDataRetention.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("project.data_retention")This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ProjectDataRetention.Builder type(ProjectDataRetention.Type type)
The configured project data retention type.
-
type
final ProjectDataRetention.Builder type(JsonField<ProjectDataRetention.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ProjectDataRetention.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectDataRetention.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectDataRetention.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectDataRetention.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectDataRetention.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectDataRetention build()
Returns an immutable instance of ProjectDataRetention.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-