public static class AddLockDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddLockDetails |
build() |
AddLockDetails.Builder |
compartmentId(String compartmentId)
The compartment ID of the lock.
|
AddLockDetails.Builder |
copy(AddLockDetails model) |
AddLockDetails.Builder |
message(String message)
A message added by the creator of the lock.
|
AddLockDetails.Builder |
relatedResourceId(String relatedResourceId)
The ID of the Target that is locking this Target.
|
AddLockDetails.Builder |
timeCreated(Date timeCreated)
When the lock was created.
|
AddLockDetails.Builder |
type(AddLockDetails.Type type)
Type of the lock.
|
public AddLockDetails.Builder type(AddLockDetails.Type type)
Type of the lock.
type
- the value to setpublic AddLockDetails.Builder compartmentId(String compartmentId)
The compartment ID of the lock.
compartmentId
- the value to setpublic AddLockDetails.Builder relatedResourceId(String relatedResourceId)
The ID of the Target that is locking this Target. Indicates that deleting this Target will remove the lock.
relatedResourceId
- the value to setpublic 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.
message
- the value to setpublic AddLockDetails.Builder timeCreated(Date timeCreated)
When the lock was created.
timeCreated
- the value to setpublic AddLockDetails build()
public AddLockDetails.Builder copy(AddLockDetails model)
Copyright © 2016–2024. All rights reserved.