public static class UserGroupMembership.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UserGroupMembership |
build() |
UserGroupMembership.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy containing the user, group, and membership object.
|
UserGroupMembership.Builder |
copy(UserGroupMembership model) |
UserGroupMembership.Builder |
groupId(String groupId)
The OCID of the group.
|
UserGroupMembership.Builder |
id(String id)
The OCID of the membership.
|
UserGroupMembership.Builder |
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
|
UserGroupMembership.Builder |
lifecycleState(UserGroupMembership.LifecycleState lifecycleState)
The membership’s current state.
|
UserGroupMembership.Builder |
timeCreated(Date timeCreated)
Date and time the membership was created, in the format defined by RFC3339.
|
UserGroupMembership.Builder |
userId(String userId)
The OCID of the user.
|
public UserGroupMembership.Builder id(String id)
The OCID of the membership.
id
- the value to setpublic UserGroupMembership.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the user, group, and membership object.
compartmentId
- the value to setpublic UserGroupMembership.Builder groupId(String groupId)
The OCID of the group.
groupId
- the value to setpublic UserGroupMembership.Builder userId(String userId)
The OCID of the user.
userId
- the value to setpublic UserGroupMembership.Builder timeCreated(Date timeCreated)
Date and time the membership was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic UserGroupMembership.Builder lifecycleState(UserGroupMembership.LifecycleState lifecycleState)
The membership’s current state. After creating a membership object, make sure its lifecycleState
changes from CREATING to ACTIVE before using it.
lifecycleState
- the value to setpublic UserGroupMembership.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
inactiveStatus
- the value to setpublic UserGroupMembership build()
public UserGroupMembership.Builder copy(UserGroupMembership model)
Copyright © 2016–2024. All rights reserved.