Class View.Builder
-
- All Implemented Interfaces:
public final class View.BuilderA builder for View.
-
-
Method Summary
Modifier and Type Method Description final View.Builderid(String id)Unique identifier for the view final View.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final View.Buildername(String name)Name of the view final View.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final View.BuilderobjectId(String objectId)The id of the object the view applies to final View.BuilderobjectId(JsonField<String> objectId)Sets Builder.objectId to an arbitrary JSON value. final View.BuilderobjectType(AclObjectType objectType)The object type that the ACL applies to final View.BuilderobjectType(JsonField<AclObjectType> objectType)Sets Builder.objectType to an arbitrary JSON value. final View.BuilderviewType(View.ViewType viewType)Type of table that the view corresponds to. final View.BuilderviewType(Optional<View.ViewType> viewType)Alias for calling Builder.viewType with viewType.orElse(null).final View.BuilderviewType(JsonField<View.ViewType> viewType)Sets Builder.viewType to an arbitrary JSON value. final View.Buildercreated(OffsetDateTime created)Date of view creation final View.Buildercreated(Optional<OffsetDateTime> created)Alias for calling Builder.created with created.orElse(null).final View.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final View.BuilderdeletedAt(OffsetDateTime deletedAt)Date of role deletion, or null if the role is still active final View.BuilderdeletedAt(Optional<OffsetDateTime> deletedAt)Alias for calling Builder.deletedAt with deletedAt.orElse(null).final View.BuilderdeletedAt(JsonField<OffsetDateTime> deletedAt)Sets Builder.deletedAt to an arbitrary JSON value. final View.Builderoptions(ViewOptions options)Options for the view in the app final View.Builderoptions(Optional<ViewOptions> options)Alias for calling Builder.options with options.orElse(null).final View.Builderoptions(JsonField<ViewOptions> options)Sets Builder.options to an arbitrary JSON value. final View.BuilderuserId(String userId)Identifies the user who created the view final View.BuilderuserId(Optional<String> userId)Alias for calling Builder.userId with userId.orElse(null).final View.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final View.BuilderviewData(ViewData viewData)The view definition final View.BuilderviewData(Optional<ViewData> viewData)Alias for calling Builder.viewData with viewData.orElse(null).final View.BuilderviewData(JsonField<ViewData> viewData)Sets Builder.viewData to an arbitrary JSON value. final View.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final View.BuilderputAdditionalProperty(String key, JsonValue value)final View.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final View.BuilderremoveAdditionalProperty(String key)final View.BuilderremoveAllAdditionalProperties(Set<String> keys)final Viewbuild()Returns an immutable instance of View. -
-
Method Detail
-
id
final View.Builder id(String id)
Unique identifier for the view
-
id
final View.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 View.Builder name(String name)
Name of the view
-
name
final View.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.
-
objectId
final View.Builder objectId(String objectId)
The id of the object the view applies to
-
objectId
final View.Builder objectId(JsonField<String> objectId)
Sets Builder.objectId to an arbitrary JSON value.
You should usually call Builder.objectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
objectType
final View.Builder objectType(AclObjectType objectType)
The object type that the ACL applies to
-
objectType
final View.Builder objectType(JsonField<AclObjectType> objectType)
Sets Builder.objectType to an arbitrary JSON value.
You should usually call Builder.objectType with a well-typed AclObjectType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
viewType
final View.Builder viewType(View.ViewType viewType)
Type of table that the view corresponds to.
-
viewType
final View.Builder viewType(Optional<View.ViewType> viewType)
Alias for calling Builder.viewType with
viewType.orElse(null).
-
viewType
final View.Builder viewType(JsonField<View.ViewType> viewType)
Sets Builder.viewType to an arbitrary JSON value.
You should usually call Builder.viewType with a well-typed ViewType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final View.Builder created(OffsetDateTime created)
Date of view creation
-
created
final View.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final View.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 View.Builder deletedAt(OffsetDateTime deletedAt)
Date of role deletion, or null if the role is still active
-
deletedAt
final View.Builder deletedAt(Optional<OffsetDateTime> deletedAt)
Alias for calling Builder.deletedAt with
deletedAt.orElse(null).
-
deletedAt
final View.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.
-
options
final View.Builder options(ViewOptions options)
Options for the view in the app
-
options
final View.Builder options(Optional<ViewOptions> options)
Alias for calling Builder.options with
options.orElse(null).
-
options
final View.Builder options(JsonField<ViewOptions> options)
Sets Builder.options to an arbitrary JSON value.
You should usually call Builder.options with a well-typed ViewOptions value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final View.Builder userId(String userId)
Identifies the user who created the view
-
userId
final View.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final View.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.
-
viewData
final View.Builder viewData(ViewData viewData)
The view definition
-
viewData
final View.Builder viewData(Optional<ViewData> viewData)
Alias for calling Builder.viewData with
viewData.orElse(null).
-
viewData
final View.Builder viewData(JsonField<ViewData> viewData)
Sets Builder.viewData to an arbitrary JSON value.
You should usually call Builder.viewData with a well-typed ViewData value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final View.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final View.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final View.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final View.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final View.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-