NamespaceMetadata¶
-
class
oci.object_storage.models.
NamespaceMetadata
(**kwargs)¶ Bases:
object
NamespaceMetadata maps a namespace string to defaultS3CompartmentId and defaultSwiftCompartmentId values.
Methods
__init__
(**kwargs)Initializes a new NamespaceMetadata object with values from keyword arguments. Attributes
default_s3_compartment_id
[Required] Gets the default_s3_compartment_id of this NamespaceMetadata. default_swift_compartment_id
[Required] Gets the default_swift_compartment_id of this NamespaceMetadata. namespace
[Required] Gets the namespace of this NamespaceMetadata. -
__init__
(**kwargs)¶ Initializes a new NamespaceMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - namespace (str) – The value to assign to the namespace property of this NamespaceMetadata.
- default_s3_compartment_id (str) – The value to assign to the default_s3_compartment_id property of this NamespaceMetadata.
- default_swift_compartment_id (str) – The value to assign to the default_swift_compartment_id property of this NamespaceMetadata.
-
default_s3_compartment_id
¶ [Required] Gets the default_s3_compartment_id of this NamespaceMetadata. If the field is set, specifies the default compartment assignment for the Amazon S3 Compatibility API.
Returns: The default_s3_compartment_id of this NamespaceMetadata. Return type: str
-
default_swift_compartment_id
¶ [Required] Gets the default_swift_compartment_id of this NamespaceMetadata. If the field is set, specifies the default compartment assignment for the Swift API.
Returns: The default_swift_compartment_id of this NamespaceMetadata. Return type: str
-
namespace
¶ [Required] Gets the namespace of this NamespaceMetadata. The Object Storage namespace to which the metadata belongs.
Returns: The namespace of this NamespaceMetadata. Return type: str
-