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