Class ObjectStorageLink.Builder
- java.lang.Object
-
- com.oracle.bmc.lustrefilestorage.model.ObjectStorageLink.Builder
-
- Enclosing class:
- ObjectStorageLink
public static class ObjectStorageLink.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectStorageLink.BuilderavailabilityDomain(String availabilityDomain)The availability domain the file system is in.ObjectStorageLinkbuild()ObjectStorageLink.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Lustre file system.ObjectStorageLink.Buildercopy(ObjectStorageLink model)ObjectStorageLink.BuildercurrentJobId(String currentJobId)The OCID of currently running sync job.ObjectStorageLink.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ObjectStorageLink.BuilderdisplayName(String displayName)A user-friendly name.ObjectStorageLink.BuilderfileSystemPath(String fileSystemPath)The path in the Lustre file system used for this Object Storage link.ObjectStorageLink.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ObjectStorageLink.Builderid(String id)The OCID of the ObjectStorageLink.ObjectStorageLink.BuilderisOverwrite(Boolean isOverwrite)The flag is an identifier to tell whether the job run has overwrite enabled.ObjectStorageLink.BuilderlastJobId(String lastJobId)The OCID of last succeeded sync job.ObjectStorageLink.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the Object Storage link in more detail.ObjectStorageLink.BuilderlifecycleState(ObjectStorageLink.LifecycleState lifecycleState)The current state of the Object Storage link.ObjectStorageLink.BuilderlustreFileSystemId(String lustreFileSystemId)The OCID of the associated Lustre file system.ObjectStorageLink.BuilderobjectStoragePrefix(String objectStoragePrefix)The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.ObjectStorageLink.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ObjectStorageLink.BuildertimeCreated(Date timeCreated)The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.ObjectStorageLink.BuildertimeUpdated(Date timeUpdated)The date and time the Object Storage link was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public ObjectStorageLink.Builder id(String id)
The OCID of the ObjectStorageLink.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ObjectStorageLink.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Lustre file system.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
availabilityDomain
public ObjectStorageLink.Builder availabilityDomain(String availabilityDomain)
The availability domain the file system is in.May be unset as a blank or NULL value.
Example: Uocm:PHX-AD-1
- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
displayName
public ObjectStorageLink.Builder displayName(String displayName)
A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: My Object Storage Link
- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public ObjectStorageLink.Builder timeCreated(Date timeCreated)
The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.Example: 2024-04-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ObjectStorageLink.Builder timeUpdated(Date timeUpdated)
The date and time the Object Storage link was updated, in the format defined by RFC 3339.Example: 2024-04-25T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public ObjectStorageLink.Builder lifecycleState(ObjectStorageLink.LifecycleState lifecycleState)
The current state of the Object Storage link.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ObjectStorageLink.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the Object Storage link in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public ObjectStorageLink.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ObjectStorageLink.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ObjectStorageLink.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
lustreFileSystemId
public ObjectStorageLink.Builder lustreFileSystemId(String lustreFileSystemId)
The OCID of the associated Lustre file system.- Parameters:
lustreFileSystemId- the value to set- Returns:
- this builder
-
fileSystemPath
public ObjectStorageLink.Builder fileSystemPath(String fileSystemPath)
The path in the Lustre file system used for this Object Storage link.Example: myFileSystem/mount/myDirectory
- Parameters:
fileSystemPath- the value to set- Returns:
- this builder
-
objectStoragePrefix
public ObjectStorageLink.Builder objectStoragePrefix(String objectStoragePrefix)
The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.Example: objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix
- Parameters:
objectStoragePrefix- the value to set- Returns:
- this builder
-
currentJobId
public ObjectStorageLink.Builder currentJobId(String currentJobId)
The OCID of currently running sync job.If no sync job is running, then this will be empty.
- Parameters:
currentJobId- the value to set- Returns:
- this builder
-
lastJobId
public ObjectStorageLink.Builder lastJobId(String lastJobId)
The OCID of last succeeded sync job.If no sync job has previously run, then this will be empty.
- Parameters:
lastJobId- the value to set- Returns:
- this builder
-
isOverwrite
public ObjectStorageLink.Builder isOverwrite(Boolean isOverwrite)
The flag is an identifier to tell whether the job run has overwrite enabled.If isOverwrite is false, the file to be imported or exported will be skipped if it already exists. If isOverwrite is true, the file to be imported or exported will be overwritten if it already exists.
- Parameters:
isOverwrite- the value to set- Returns:
- this builder
-
build
public ObjectStorageLink build()
-
copy
public ObjectStorageLink.Builder copy(ObjectStorageLink model)
-
-