Class ViewCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class ViewCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final ViewCreateParams.Body.Builder name(String name)
Name of the view
-
name
final ViewCreateParams.Body.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 ViewCreateParams.Body.Builder objectId(String objectId)
The id of the object the view applies to
-
objectId
final ViewCreateParams.Body.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 ViewCreateParams.Body.Builder objectType(AclObjectType objectType)
The object type that the ACL applies to
-
objectType
final ViewCreateParams.Body.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 ViewCreateParams.Body.Builder viewType(ViewCreateParams.ViewType viewType)
Type of table that the view corresponds to.
-
viewType
final ViewCreateParams.Body.Builder viewType(Optional<ViewCreateParams.ViewType> viewType)
Alias for calling Builder.viewType with
viewType.orElse(null).
-
viewType
final ViewCreateParams.Body.Builder viewType(JsonField<ViewCreateParams.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.
-
deletedAt
final ViewCreateParams.Body.Builder deletedAt(OffsetDateTime deletedAt)
Date of role deletion, or null if the role is still active
-
deletedAt
final ViewCreateParams.Body.Builder deletedAt(Optional<OffsetDateTime> deletedAt)
Alias for calling Builder.deletedAt with
deletedAt.orElse(null).
-
deletedAt
final ViewCreateParams.Body.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 ViewCreateParams.Body.Builder options(ViewOptions options)
Options for the view in the app
-
options
final ViewCreateParams.Body.Builder options(Optional<ViewOptions> options)
Alias for calling Builder.options with
options.orElse(null).
-
options
final ViewCreateParams.Body.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 ViewCreateParams.Body.Builder userId(String userId)
Identifies the user who created the view
-
userId
final ViewCreateParams.Body.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final ViewCreateParams.Body.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 ViewCreateParams.Body.Builder viewData(ViewData viewData)
The view definition
-
viewData
final ViewCreateParams.Body.Builder viewData(Optional<ViewData> viewData)
Alias for calling Builder.viewData with
viewData.orElse(null).
-
viewData
final ViewCreateParams.Body.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 ViewCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ViewCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ViewCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ViewCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ViewCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ViewCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .objectId() .objectType() .viewType()
-
-
-
-