Class AuditLogListResponse.RoleCreated.Builder
-
- All Implemented Interfaces:
public final class AuditLogListResponse.RoleCreated.BuilderA builder for RoleCreated.
-
-
Method Summary
-
-
Method Detail
-
id
final AuditLogListResponse.RoleCreated.Builder id(String id)
The role ID.
-
id
final AuditLogListResponse.RoleCreated.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.
-
permissions
final AuditLogListResponse.RoleCreated.Builder permissions(List<String> permissions)
The permissions granted by the role.
-
permissions
final AuditLogListResponse.RoleCreated.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.RoleCreated.Builder addPermission(String permission)
Adds a single String to permissions.
-
resourceId
final AuditLogListResponse.RoleCreated.Builder resourceId(String resourceId)
The resource the role is scoped to.
-
resourceId
final AuditLogListResponse.RoleCreated.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.RoleCreated.Builder resourceType(String resourceType)
The type of resource the role belongs to.
-
resourceType
final AuditLogListResponse.RoleCreated.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.
-
roleName
final AuditLogListResponse.RoleCreated.Builder roleName(String roleName)
The name of the role.
-
roleName
final AuditLogListResponse.RoleCreated.Builder roleName(JsonField<String> roleName)
Sets Builder.roleName to an arbitrary JSON value.
You should usually call Builder.roleName 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.RoleCreated.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuditLogListResponse.RoleCreated.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuditLogListResponse.RoleCreated.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuditLogListResponse.RoleCreated.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuditLogListResponse.RoleCreated.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuditLogListResponse.RoleCreated build()
Returns an immutable instance of RoleCreated.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-