Class NamespaceMetadata.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.model.NamespaceMetadata.Builder
 
- 
- Enclosing class:
- NamespaceMetadata
 
 public static class NamespaceMetadata.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
namespacepublic NamespaceMetadata.Builder namespace(String namespace) The Object Storage namespace to which the metadata belongs.- Parameters:
- namespace- the value to set
- Returns:
- this builder
 
 - 
defaultS3CompartmentIdpublic 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
 
 - 
defaultSwiftCompartmentIdpublic 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
 
 - 
buildpublic NamespaceMetadata build() 
 - 
copypublic NamespaceMetadata.Builder copy(NamespaceMetadata model) 
 
- 
 
-