public static final class RoleBinding.Builder
extends java.lang.Object
RoleBinding
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
RoleBinding . |
Modifier and Type | Method and Description |
---|---|
RoleBinding |
build() |
RoleBinding.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setDescription(java.lang.String description)
Description of this resource
|
RoleBinding.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
RoleBinding.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
RoleBinding.Builder |
setIdentitySourceId(java.lang.String identitySourceId)
The ID of the external identity source that holds the referenced external
entity.
|
RoleBinding.Builder |
setIdentitySourceType(java.lang.String identitySourceType)
Possible values are:
RoleBinding.IDENTITY_SOURCE_TYPE_VIDM RoleBinding.IDENTITY_SOURCE_TYPE_LDAP RoleBinding.IDENTITY_SOURCE_TYPE_OIDC RoleBinding.IDENTITY_SOURCE_TYPE_CSP Identity
source type |
RoleBinding.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
RoleBinding.Builder |
setName(java.lang.String name)
User/Group's name
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
RoleBinding.Builder |
setReadRolesForPaths(java.lang.Boolean readRolesForPaths)
Set this property to true to cause the user's role definition to be read from
the roles_for_paths property.
|
RoleBinding.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
RoleBinding.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
RoleBinding.Builder |
setRoles(java.util.List<Role> roles)
Roles
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setRolesForPaths(java.util.List<RolesForPath> rolesForPaths)
The roles that are associated with the user, limiting them to a path.
|
RoleBinding.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setSelf(SelfResourceLink self) |
RoleBinding.Builder |
setStale(java.lang.String stale)
Possible values are:
RoleBinding.STALE_TRUE RoleBinding.STALE_FALSE RoleBinding.STALE_UNKNOWN Property 'stale' can
be considered to have these values - absent - This type of rolebinding does not
support stale property TRUE - Rolebinding is stale in vIDM meaning the user is
no longer present in vIDM FALSE - Rolebinding is available in vIDM UNKNOWN -
Rolebinding's state of staleness in unknown Once rolebindings become stale, they
can be deleted using the API POST
/aaa/role-bindings?action=delete_stale_bindings
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
RoleBinding.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RoleBinding.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
RoleBinding.Builder |
setType(java.lang.String type)
Possible values are:
RoleBinding.TYPE_REMOTE_USER RoleBinding.TYPE_REMOTE_GROUP RoleBinding.TYPE_LOCAL_USER RoleBinding.TYPE_PRINCIPAL_IDENTITY RoleBinding.TYPE_REMOTE Indicates the type of
the user. |
RoleBinding.Builder |
setUserId(java.lang.String userId)
Local user's numeric id on the system.
|
public Builder()
RoleBinding
.public RoleBinding.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public RoleBinding.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public RoleBinding.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public RoleBinding.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public RoleBinding.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public RoleBinding.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public RoleBinding.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public RoleBinding.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public RoleBinding.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public RoleBinding.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public RoleBinding.Builder setDescription(java.lang.String description)
description
- New value for the property.public RoleBinding.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public RoleBinding.Builder setId(java.lang.String id)
id
- New value for the property.public RoleBinding.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public RoleBinding.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public RoleBinding.Builder setIdentitySourceId(java.lang.String identitySourceId)
identitySourceId
- New value for the property.public RoleBinding.Builder setIdentitySourceType(java.lang.String identitySourceType)
identitySourceType
- New value for the property.public RoleBinding.Builder setName(java.lang.String name)
name
- New value for the property.public RoleBinding.Builder setReadRolesForPaths(java.lang.Boolean readRolesForPaths)
readRolesForPaths
- New value for the property.public RoleBinding.Builder setRoles(java.util.List<Role> roles)
roles
- New value for the property.public RoleBinding.Builder setRolesForPaths(java.util.List<RolesForPath> rolesForPaths)
rolesForPaths
- New value for the property.public RoleBinding.Builder setStale(java.lang.String stale)
stale
- New value for the property.public RoleBinding.Builder setType(java.lang.String type)
type
- New value for the property.public RoleBinding.Builder setUserId(java.lang.String userId)
userId
- New value for the property.public RoleBinding build()