Class AddLockDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mediaservices.model.AddLockDetails.Builder
-
- Enclosing class:
- AddLockDetails
public static class AddLockDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
type
public AddLockDetails.Builder type(AddLockDetails.Type type)
Type of the lock.- Parameters:
type- the value to set- Returns:
- this builder
-
compartmentId
public AddLockDetails.Builder compartmentId(String compartmentId)
The compartment ID of the lock.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
relatedResourceId
public 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
-
message
public 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
-
timeCreated
public AddLockDetails.Builder timeCreated(Date timeCreated)
When the lock was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
build
public AddLockDetails build()
-
copy
public AddLockDetails.Builder copy(AddLockDetails model)
-
-