Class ObjectStorageScriptLocation.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.ObjectStorageScriptLocation.Builder
-
- Enclosing class:
- ObjectStorageScriptLocation
public static class ObjectStorageScriptLocation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectStorageScriptLocation.Builderbucket(String bucket)The bucket name inside the object storage namespace.ObjectStorageScriptLocationbuild()ObjectStorageScriptLocation.Buildercopy(ObjectStorageScriptLocation model)ObjectStorageScriptLocation.Buildernamespace(String namespace)The namespace in object storage (Note - this is usually the tenancy name).ObjectStorageScriptLocation.Builderobject(String object)The object name inside the object storage bucket.
-
-
-
Method Detail
-
namespace
public ObjectStorageScriptLocation.Builder namespace(String namespace)
The namespace in object storage (Note - this is usually the tenancy name).Example: myocitenancy
- Parameters:
namespace- the value to set- Returns:
- this builder
-
bucket
public ObjectStorageScriptLocation.Builder bucket(String bucket)
The bucket name inside the object storage namespace.Example: custom_dr_scripts
- Parameters:
bucket- the value to set- Returns:
- this builder
-
object
public ObjectStorageScriptLocation.Builder object(String object)
The object name inside the object storage bucket.Example: validate_app_start.sh
- Parameters:
object- the value to set- Returns:
- this builder
-
build
public ObjectStorageScriptLocation build()
-
copy
public ObjectStorageScriptLocation.Builder copy(ObjectStorageScriptLocation model)
-
-