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() |
List<Object |
getRules() |
Methods inherited from java.lang.Object
Constructor Details
ObjectReplicationPolicy
public ObjectReplicationPolicy(String policyId, List
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 Details
getPolicyId
public String getPolicyId()
Returns:
The policy id.
getRules
public List
Returns:
A
List
of rules associated with this policy to the status of the replication associated with that
rule.Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java