Class RbacConnectorScopePermissionResource.Builder
-
- All Implemented Interfaces:
public final class RbacConnectorScopePermissionResource.BuilderA builder for RbacConnectorScopePermissionResource.
-
-
Method Summary
-
-
Method Detail
-
connectorId
final RbacConnectorScopePermissionResource.Builder connectorId(String connectorId)
ID of the connector the permission applies to.
-
connectorId
final RbacConnectorScopePermissionResource.Builder connectorId(JsonField<String> connectorId)
Sets Builder.connectorId to an arbitrary JSON value.
You should usually call Builder.connectorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scope
final RbacConnectorScopePermissionResource.Builder scope(String scope)
OAuth scope the permission names — the role may receive this scope when tokens are minted for the connector.
Subject to the same encoding rule as
tool_name: a scope containing characters outside[a-zA-Z0-9_-](or colliding with a reserved form) appears server-encoded in a stable{prefix}_{32-hex}form. OAuth scopes routinely contain:and/, so most appear encoded.
-
scope
final RbacConnectorScopePermissionResource.Builder scope(JsonField<String> scope)
Sets Builder.scope to an arbitrary JSON value.
You should usually call Builder.scope with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final RbacConnectorScopePermissionResource.Builder type(JsonValue type)
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("connector_scope")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RbacConnectorScopePermissionResource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RbacConnectorScopePermissionResource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RbacConnectorScopePermissionResource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RbacConnectorScopePermissionResource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RbacConnectorScopePermissionResource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RbacConnectorScopePermissionResource build()
Returns an immutable instance of RbacConnectorScopePermissionResource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.connectorId() .scope()
-
-
-
-