Class AddLockDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.mediaservices.model.AddLockDetails.Builder
 
- 
- Enclosing class:
- AddLockDetails
 
 public static class AddLockDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AddLockDetailsbuild()AddLockDetails.BuildercompartmentId(String compartmentId)The compartment ID of the lock.AddLockDetails.Buildercopy(AddLockDetails model)AddLockDetails.Buildermessage(String message)A message added by the creator of the lock.AddLockDetails.BuilderrelatedResourceId(String relatedResourceId)The ID of the Target that is locking this Target.AddLockDetails.BuildertimeCreated(Date timeCreated)When the lock was created.AddLockDetails.Buildertype(AddLockDetails.Type type)Type of the lock.
 
- 
- 
- 
Method Detail- 
typepublic AddLockDetails.Builder type(AddLockDetails.Type type) Type of the lock.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AddLockDetails.Builder compartmentId(String compartmentId) The compartment ID of the lock.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
relatedResourceIdpublic AddLockDetails.Builder relatedResourceId(String relatedResourceId) The ID of the Target that is locking this Target.Indicates that deleting this Target will remove the lock. - Parameters:
- relatedResourceId- the value to set
- Returns:
- this builder
 
 - 
messagepublic 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. - Parameters:
- message- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AddLockDetails.Builder timeCreated(Date timeCreated) When the lock was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
buildpublic AddLockDetails build() 
 - 
copypublic AddLockDetails.Builder copy(AddLockDetails model) 
 
- 
 
-