Package com.oracle.bmc.oda.model
Class StorageLocation.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.StorageLocation.Builder
-
- Enclosing class:
- StorageLocation
public static class StorageLocation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageLocation.BuilderbucketName(String bucketName)The name of the bucket.StorageLocationbuild()StorageLocation.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.StorageLocation.Buildercopy(StorageLocation model)StorageLocation.BuildernamespaceName(String namespaceName)The Object Storage namespace.StorageLocation.BuilderobjectName(String objectName)The name of the object.StorageLocation.BuilderregionId(String regionId)The region id.
-
-
-
Method Detail
-
regionId
public StorageLocation.Builder regionId(String regionId)
The region id.- Parameters:
regionId- the value to set- Returns:
- this builder
-
compartmentId
public StorageLocation.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
namespaceName
public StorageLocation.Builder namespaceName(String namespaceName)
The Object Storage namespace.- Parameters:
namespaceName- the value to set- Returns:
- this builder
-
bucketName
public StorageLocation.Builder bucketName(String bucketName)
The name of the bucket.- Parameters:
bucketName- the value to set- Returns:
- this builder
-
objectName
public StorageLocation.Builder objectName(String objectName)
The name of the object.- Parameters:
objectName- the value to set- Returns:
- this builder
-
build
public StorageLocation build()
-
copy
public StorageLocation.Builder copy(StorageLocation model)
-
-