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