Class AuditLogListResponse.RoleUnboundFromResource.Builder
-
- All Implemented Interfaces:
public final class AuditLogListResponse.RoleUnboundFromResource.BuilderA builder for RoleUnboundFromResource.
-
-
Method Summary
-
-
Method Detail
-
id
final AuditLogListResponse.RoleUnboundFromResource.Builder id(String id)
The ID of the resource the role was unbound from. ChatGPT workspace connector resources use
<workspace_id>__<connector_id>.
-
id
final AuditLogListResponse.RoleUnboundFromResource.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.
-
connectorId
final AuditLogListResponse.RoleUnboundFromResource.Builder connectorId(String connectorId)
The connector ID for a ChatGPT workspace connector resource.
-
connectorId
final AuditLogListResponse.RoleUnboundFromResource.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.
-
connectorName
final AuditLogListResponse.RoleUnboundFromResource.Builder connectorName(String connectorName)
The connector display name for a ChatGPT workspace connector resource, or the connector ID when the display name could not be resolved.
-
connectorName
final AuditLogListResponse.RoleUnboundFromResource.Builder connectorName(JsonField<String> connectorName)
Sets Builder.connectorName to an arbitrary JSON value.
You should usually call Builder.connectorName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
enabled
final AuditLogListResponse.RoleUnboundFromResource.Builder enabled(Boolean enabled)
Whether the connector is enabled for the role.
-
enabled
final AuditLogListResponse.RoleUnboundFromResource.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
permissions
final AuditLogListResponse.RoleUnboundFromResource.Builder permissions(List<String> permissions)
The permissions remaining for the role after the change.
-
permissions
final AuditLogListResponse.RoleUnboundFromResource.Builder permissions(JsonField<List<String>> permissions)
Sets Builder.permissions to an arbitrary JSON value.
You should usually call Builder.permissions with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addPermission
final AuditLogListResponse.RoleUnboundFromResource.Builder addPermission(String permission)
Adds a single String to permissions.
-
resourceId
final AuditLogListResponse.RoleUnboundFromResource.Builder resourceId(String resourceId)
The ID of the resource the role was unbound from.
-
resourceId
final AuditLogListResponse.RoleUnboundFromResource.Builder resourceId(JsonField<String> resourceId)
Sets Builder.resourceId to an arbitrary JSON value.
You should usually call Builder.resourceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
resourceType
final AuditLogListResponse.RoleUnboundFromResource.Builder resourceType(String resourceType)
The type of resource the role was unbound from.
-
resourceType
final AuditLogListResponse.RoleUnboundFromResource.Builder resourceType(JsonField<String> resourceType)
Sets Builder.resourceType to an arbitrary JSON value.
You should usually call Builder.resourceType with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
roleId
final AuditLogListResponse.RoleUnboundFromResource.Builder roleId(String roleId)
The ID of the role that was unbound from the resource.
-
roleId
final AuditLogListResponse.RoleUnboundFromResource.Builder roleId(JsonField<String> roleId)
Sets Builder.roleId to an arbitrary JSON value.
You should usually call Builder.roleId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final AuditLogListResponse.RoleUnboundFromResource.Builder source(AuditLogListResponse.RoleUnboundFromResource.Source source)
The connector role mutation path that produced the event.
-
source
final AuditLogListResponse.RoleUnboundFromResource.Builder source(JsonField<AuditLogListResponse.RoleUnboundFromResource.Source> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed Source value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceId
final AuditLogListResponse.RoleUnboundFromResource.Builder workspaceId(String workspaceId)
The workspace ID for a ChatGPT workspace connector resource.
-
workspaceId
final AuditLogListResponse.RoleUnboundFromResource.Builder workspaceId(JsonField<String> workspaceId)
Sets Builder.workspaceId to an arbitrary JSON value.
You should usually call Builder.workspaceId 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 AuditLogListResponse.RoleUnboundFromResource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuditLogListResponse.RoleUnboundFromResource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuditLogListResponse.RoleUnboundFromResource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuditLogListResponse.RoleUnboundFromResource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuditLogListResponse.RoleUnboundFromResource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuditLogListResponse.RoleUnboundFromResource build()
Returns an immutable instance of RoleUnboundFromResource.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-