public static class AddLockDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddLockDetails |
build() |
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 resource that is locking this resource.
|
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 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 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 build()
public AddLockDetails.Builder copy(AddLockDetails model)
Copyright © 2016–2024. All rights reserved.