ObjectReplicationPolicy Class
- java.
lang. Object - com.
azure. storage. blob. models. ObjectReplicationPolicy
- com.
public class ObjectReplicationPolicy
A type that contains information about an object replication policy on a source blob.
Constructor Summary
| Constructor | Description |
|---|---|
| ObjectReplicationPolicy(String policyId, List<ObjectReplicationRule> rules) |
Constructs a new Object |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getPolicyId()
Gets the policy id. |
|
List<Object |
getRules()
Gets the rules associated with this policy to the status of the replication associated with that rule. |
Methods inherited from java.lang.Object
Constructor Details
ObjectReplicationPolicy
public ObjectReplicationPolicy(String policyId, List<ObjectReplicationRule> rules)
Constructs a new ObjectReplicationPolicy object.
Parameters:
List of rules associated with this policy to the status of the replication associated
with that rule.
Method Details
getPolicyId
public String getPolicyId()
Gets the policy id.
Returns:
getRules
public List<ObjectReplicationRule> getRules()
Gets the rules associated with this policy to the status of the replication associated with that rule.
Returns: