Package com.oracle.bmc.usageapi.model
Class ObjectStorageLocation.Builder
- java.lang.Object
-
- com.oracle.bmc.usageapi.model.ObjectStorageLocation.Builder
-
- Enclosing class:
- ObjectStorageLocation
public static class ObjectStorageLocation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectStorageLocation.BuilderbucketName(String bucketName)The bucket name where usage or cost CSVs will be uploaded.ObjectStorageLocationbuild()ObjectStorageLocation.Buildercopy(ObjectStorageLocation model)ObjectStorageLocation.Buildernamespace(String namespace)The namespace needed to determine the object storage bucket.ObjectStorageLocation.Builderregion(String region)The destination Object Store Region specified by the customer.
-
-
-
Method Detail
-
region
public ObjectStorageLocation.Builder region(String region)
The destination Object Store Region specified by the customer.- Parameters:
region- the value to set- Returns:
- this builder
-
namespace
public ObjectStorageLocation.Builder namespace(String namespace)
The namespace needed to determine the object storage bucket.- Parameters:
namespace- the value to set- Returns:
- this builder
-
bucketName
public ObjectStorageLocation.Builder bucketName(String bucketName)
The bucket name where usage or cost CSVs will be uploaded.- Parameters:
bucketName- the value to set- Returns:
- this builder
-
build
public ObjectStorageLocation build()
-
copy
public ObjectStorageLocation.Builder copy(ObjectStorageLocation model)
-
-