ObjectReplicationPolicyFilter Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ObjectReplicationPolicyFilter
- com.
public final class ObjectReplicationPolicyFilter
Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters.
Constructor Summary
Constructor | Description |
---|---|
ObjectReplicationPolicyFilter() |
Creates an instance of Object |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
minCreationTime()
Get the min |
List<String> |
prefixMatch()
Get the prefix |
void |
validate()
Validates the instance. |
Object |
withMinCreationTime(String minCreationTime)
Set the min |
Object |
withPrefixMatch(List<String> prefixMatch)
Set the prefix |
Methods inherited from java.lang.Object
Constructor Details
ObjectReplicationPolicyFilter
public ObjectReplicationPolicyFilter()
Creates an instance of ObjectReplicationPolicyFilter class.
Method Details
minCreationTime
public String minCreationTime()
Get the minCreationTime property: Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z.
Returns:
prefixMatch
public List
Get the prefixMatch property: Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
Returns:
validate
public void validate()
Validates the instance.
withMinCreationTime
public ObjectReplicationPolicyFilter withMinCreationTime(String minCreationTime)
Set the minCreationTime property: Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z.
Parameters:
Returns:
withPrefixMatch
public ObjectReplicationPolicyFilter withPrefixMatch(List
Set the prefixMatch property: Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for