CreateReplicationPolicyDetails¶
- class oci.object_storage.models.CreateReplicationPolicyDetails(**kwargs)¶
Bases:
objectThe details to create a replication policy.
Methods:
__init__(**kwargs)Initializes a new CreateReplicationPolicyDetails object with values from keyword arguments.
Attributes:
[Required] Gets the destination_bucket_name of this CreateReplicationPolicyDetails.
[Required] Gets the destination_region_name of this CreateReplicationPolicyDetails.
[Required] Gets the name of this CreateReplicationPolicyDetails.
- __init__(**kwargs)¶
Initializes a new CreateReplicationPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this CreateReplicationPolicyDetails.
destination_region_name (str) – The value to assign to the destination_region_name property of this CreateReplicationPolicyDetails.
destination_bucket_name (str) – The value to assign to the destination_bucket_name property of this CreateReplicationPolicyDetails.
- property destination_bucket_name¶
[Required] Gets the destination_bucket_name of this CreateReplicationPolicyDetails. The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
- Returns
The destination_bucket_name of this CreateReplicationPolicyDetails.
- Return type
str
- property destination_region_name¶
[Required] Gets the destination_region_name of this CreateReplicationPolicyDetails. The destination region to replicate to, for example “us-ashburn-1”.
- Returns
The destination_region_name of this CreateReplicationPolicyDetails.
- Return type
str
- property name¶
[Required] Gets the name of this CreateReplicationPolicyDetails. The name of the policy. Avoid entering confidential information.
- Returns
The name of this CreateReplicationPolicyDetails.
- Return type
str