Class CreateObjectStorageLinkDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.lustrefilestorage.model.CreateObjectStorageLinkDetails.Builder
-
- Enclosing class:
- CreateObjectStorageLinkDetails
public static class CreateObjectStorageLinkDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateObjectStorageLinkDetails.BuilderavailabilityDomain(String availabilityDomain)The availability domain that the Lustre file system is in.CreateObjectStorageLinkDetailsbuild()CreateObjectStorageLinkDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Object Storage link.CreateObjectStorageLinkDetails.Buildercopy(CreateObjectStorageLinkDetails model)CreateObjectStorageLinkDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateObjectStorageLinkDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateObjectStorageLinkDetails.BuilderfileSystemPath(String fileSystemPath)The path in the Lustre file system used for this Object Storage link.CreateObjectStorageLinkDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateObjectStorageLinkDetails.BuilderisOverwrite(Boolean isOverwrite)The flag is an identifier to tell whether the job run has overwrite enabled.CreateObjectStorageLinkDetails.BuilderlustreFileSystemId(String lustreFileSystemId)The OCID of the associated Lustre file system.CreateObjectStorageLinkDetails.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.
-
-
-
Method Detail
-
compartmentId
public CreateObjectStorageLinkDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Object Storage link.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
availabilityDomain
public CreateObjectStorageLinkDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain that the Lustre 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 CreateObjectStorageLinkDetails.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
-
freeformTags
public CreateObjectStorageLinkDetails.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 CreateObjectStorageLinkDetails.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
-
lustreFileSystemId
public CreateObjectStorageLinkDetails.Builder lustreFileSystemId(String lustreFileSystemId)
The OCID of the associated Lustre file system.- Parameters:
lustreFileSystemId- the value to set- Returns:
- this builder
-
fileSystemPath
public CreateObjectStorageLinkDetails.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 CreateObjectStorageLinkDetails.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
-
isOverwrite
public CreateObjectStorageLinkDetails.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 CreateObjectStorageLinkDetails build()
-
copy
public CreateObjectStorageLinkDetails.Builder copy(CreateObjectStorageLinkDetails model)
-
-