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