Class ObjectStorageLinkSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.lustrefilestorage.model.ObjectStorageLinkSummary.Builder
-
- Enclosing class:
- ObjectStorageLinkSummary
public static class ObjectStorageLinkSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectStorageLinkSummary.BuilderavailabilityDomain(String availabilityDomain)The availability domain the file system is in.ObjectStorageLinkSummarybuild()ObjectStorageLinkSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Lustre file system.ObjectStorageLinkSummary.Buildercopy(ObjectStorageLinkSummary model)ObjectStorageLinkSummary.BuildercurrentJobId(String currentJobId)The OCID of currently running sync job.ObjectStorageLinkSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ObjectStorageLinkSummary.BuilderdisplayName(String displayName)A user-friendly name.ObjectStorageLinkSummary.BuilderfileSystemPath(String fileSystemPath)The path in the Lustre file system used for this Object Storage link.ObjectStorageLinkSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ObjectStorageLinkSummary.Builderid(String id)The OCID of the Object Storage link.ObjectStorageLinkSummary.BuilderisOverwrite(Boolean isOverwrite)The flag is an identifier to tell whether the job run has overwrite enabled.ObjectStorageLinkSummary.BuilderlastJobId(String lastJobId)The OCID of last succeeded sync job.ObjectStorageLinkSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the Object Storage link in more detail.ObjectStorageLinkSummary.BuilderlifecycleState(ObjectStorageLink.LifecycleState lifecycleState)The current state of the ObjectStorageLink.ObjectStorageLinkSummary.BuilderlustreFileSystemId(String lustreFileSystemId)The OCID of the associated lustre file system.ObjectStorageLinkSummary.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.ObjectStorageLinkSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ObjectStorageLinkSummary.BuildertimeCreated(Date timeCreated)The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.ObjectStorageLinkSummary.BuildertimeUpdated(Date timeUpdated)The date and time the ObjectStorageLink was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public ObjectStorageLinkSummary.Builder id(String id)
The OCID of the Object Storage link.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.Builder timeUpdated(Date timeUpdated)
The date and time the ObjectStorageLink 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 ObjectStorageLinkSummary.Builder lifecycleState(ObjectStorageLink.LifecycleState lifecycleState)
The current state of the ObjectStorageLink.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.Builder lustreFileSystemId(String lustreFileSystemId)
The OCID of the associated lustre file system.- Parameters:
lustreFileSystemId- the value to set- Returns:
- this builder
-
fileSystemPath
public ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary.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 ObjectStorageLinkSummary build()
-
copy
public ObjectStorageLinkSummary.Builder copy(ObjectStorageLinkSummary model)
-
-