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 lock creator.
|
AddLockDetails.Builder |
relatedResourceId(String relatedResourceId)
The resource ID that is locking this resource.
|
AddLockDetails.Builder |
type(AddLockDetails.Type type)
Lock type.
|
public AddLockDetails.Builder type(AddLockDetails.Type type)
Lock type.
type
- the value to setpublic AddLockDetails.Builder relatedResourceId(String relatedResourceId)
The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
relatedResourceId
- the value to setpublic AddLockDetails.Builder message(String message)
A message added by the lock creator. The message typically gives 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.