Class PermissionCreateResponse.Builder
-
- All Implemented Interfaces:
public final class PermissionCreateResponse.Builder
A builder for PermissionCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final PermissionCreateResponse.Builder id(String id)
The permission identifier, which can be referenced in the API endpoints.
-
id
final PermissionCreateResponse.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.
-
createdAt
final PermissionCreateResponse.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) for when the permission was created.
-
createdAt
final PermissionCreateResponse.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final PermissionCreateResponse.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("checkpoint.permission")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final PermissionCreateResponse.Builder projectId(String projectId)
The project identifier that the permission is for.
-
projectId
final PermissionCreateResponse.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.
-
additionalProperties
final PermissionCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PermissionCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PermissionCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PermissionCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PermissionCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PermissionCreateResponse build()
Returns an immutable instance of PermissionCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .projectId()
-
-
-
-