Package com.azure.storage.blob.models
Class ObjectReplicationPolicy
java.lang.Object
com.azure.storage.blob.models.ObjectReplicationPolicy
A type that contains information about an object replication policy on a source blob.
-
Constructor Summary
ConstructorDescriptionObjectReplicationPolicy
(String policyId, List<ObjectReplicationRule> rules) Constructs a new ObjectReplicationPolicy object. -
Method Summary
-
Constructor Details
-
ObjectReplicationPolicy
Constructs a new ObjectReplicationPolicy object.- Parameters:
policyId
- The policy idrules
- AList
of rules associated with this policy to the status of the replication associated with that rule.
-
-
Method Details
-
getPolicyId
- Returns:
- The policy id.
-
getRules
- Returns:
- A
List
of rules associated with this policy to the status of the replication associated with that rule.
-