Class ObjectReplicationPolicy


  • public class ObjectReplicationPolicy
    extends Object
    A type that contains information about an object replication policy on a source blob.
    • Constructor Detail

      • ObjectReplicationPolicy

        public ObjectReplicationPolicy​(String policyId,
                                       List<ObjectReplicationRule> rules)
        Constructs a new ObjectReplicationPolicy object.
        Parameters:
        policyId - The policy id
        rules - A List of rules associated with this policy to the status of the replication associated with that rule.
    • Method Detail

      • getPolicyId

        public String getPolicyId()
        Returns:
        The policy id.
      • getRules

        public List<ObjectReplicationRule> getRules()
        Returns:
        A List of rules associated with this policy to the status of the replication associated with that rule.