Package com.oracle.bmc.identity.model
Class AddLockDetails.Builder
- java.lang.Object
 - 
- com.oracle.bmc.identity.model.AddLockDetails.Builder
 
 
- 
- Enclosing class:
 - AddLockDetails
 
public static class AddLockDetails.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddLockDetailsbuild()AddLockDetails.Buildercopy(AddLockDetails model)AddLockDetails.Buildermessage(String message)A message added by the creator of the lock.AddLockDetails.BuilderrelatedResourceId(String relatedResourceId)The ID of the resource that is locking this resource.AddLockDetails.Buildertype(AddLockDetails.Type type)Type of the lock. 
 - 
 
- 
- 
Method Detail
- 
type
public AddLockDetails.Builder type(AddLockDetails.Type type)
Type of the lock.- Parameters:
 type- the value to set- Returns:
 - this builder
 
 
- 
relatedResourceId
public AddLockDetails.Builder relatedResourceId(String relatedResourceId)
The ID of the resource that is locking this resource.Indicates that deleting this resource will remove the lock.
- Parameters:
 relatedResourceId- the value to set- Returns:
 - this builder
 
 
- 
message
public AddLockDetails.Builder message(String message)
A message added by the creator of the lock.This is typically used to give an indication of why the resource is locked.
- Parameters:
 message- the value to set- Returns:
 - this builder
 
 
- 
build
public AddLockDetails build()
 
- 
copy
public AddLockDetails.Builder copy(AddLockDetails model)
 
 - 
 
 -