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
ConstructorsConstructorDescriptionObjectReplicationPolicy
(String policyId, List<ObjectReplicationRule> rules) Constructs a new ObjectReplicationPolicy object. -
Method Summary
Modifier and TypeMethodDescriptionGets the policy id.getRules()
Gets the rules associated with this policy to the status of the replication associated with that rule.
-
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
Gets the policy id.- Returns:
- The policy id.
-
getRules
Gets the rules associated with this policy to the status of the replication associated with that rule.- Returns:
- The rules associated with this policy to the status of the replication associated with that rule.
-