Class NamespaceMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.model.NamespaceMetadata.Builder
-
- Enclosing class:
- NamespaceMetadata
public static class NamespaceMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceMetadatabuild()NamespaceMetadata.Buildercopy(NamespaceMetadata model)NamespaceMetadata.BuilderdefaultS3CompartmentId(String defaultS3CompartmentId)If the field is set, specifies the default compartment assignment for the Amazon S3 Compatibility API.NamespaceMetadata.BuilderdefaultSwiftCompartmentId(String defaultSwiftCompartmentId)If the field is set, specifies the default compartment assignment for the Swift API.NamespaceMetadata.Buildernamespace(String namespace)The Object Storage namespace to which the metadata belongs.
-
-
-
Method Detail
-
namespace
public NamespaceMetadata.Builder namespace(String namespace)
The Object Storage namespace to which the metadata belongs.- Parameters:
namespace- the value to set- Returns:
- this builder
-
defaultS3CompartmentId
public NamespaceMetadata.Builder defaultS3CompartmentId(String defaultS3CompartmentId)
If the field is set, specifies the default compartment assignment for the Amazon S3 Compatibility API.- Parameters:
defaultS3CompartmentId- the value to set- Returns:
- this builder
-
defaultSwiftCompartmentId
public NamespaceMetadata.Builder defaultSwiftCompartmentId(String defaultSwiftCompartmentId)
If the field is set, specifies the default compartment assignment for the Swift API.- Parameters:
defaultSwiftCompartmentId- the value to set- Returns:
- this builder
-
build
public NamespaceMetadata build()
-
copy
public NamespaceMetadata.Builder copy(NamespaceMetadata model)
-
-