ReplicationSource¶
- class oci.object_storage.models.ReplicationSource(**kwargs)¶
Bases:
objectThe details of a replication source bucket that replicates to a target destination bucket.
Methods:
__init__(**kwargs)Initializes a new ReplicationSource object with values from keyword arguments.
Attributes:
[Required] Gets the policy_name of this ReplicationSource.
[Required] Gets the source_bucket_name of this ReplicationSource.
[Required] Gets the source_region_name of this ReplicationSource.
- __init__(**kwargs)¶
Initializes a new ReplicationSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
policy_name (str) – The value to assign to the policy_name property of this ReplicationSource.
source_region_name (str) – The value to assign to the source_region_name property of this ReplicationSource.
source_bucket_name (str) – The value to assign to the source_bucket_name property of this ReplicationSource.
- property policy_name¶
[Required] Gets the policy_name of this ReplicationSource. The name of the policy.
- Returns
The policy_name of this ReplicationSource.
- Return type
str
- property source_bucket_name¶
[Required] Gets the source_bucket_name of this ReplicationSource. The source bucket replicating data from.
- Returns
The source_bucket_name of this ReplicationSource.
- Return type
str
- property source_region_name¶
[Required] Gets the source_region_name of this ReplicationSource. The source region replicating data from, for example “us-ashburn-1”.
- Returns
The source_region_name of this ReplicationSource.
- Return type
str