Class ObjectReplicationPolicyFilter
java.lang.Object
com.azure.resourcemanager.storage.models.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the minCreationTime property: Blobs created after the time will be replicated to the destination.Get the prefixMatch property: Optional.voidvalidate()Validates the instance.withMinCreationTime(String minCreationTime) Set the minCreationTime property: Blobs created after the time will be replicated to the destination.withPrefixMatch(List<String> prefixMatch) Set the prefixMatch property: Optional.
-
Constructor Details
-
ObjectReplicationPolicyFilter
public ObjectReplicationPolicyFilter()
-
-
Method Details
-
prefixMatch
Get the prefixMatch property: Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.- Returns:
- the prefixMatch value.
-
withPrefixMatch
Set the prefixMatch property: Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.- Parameters:
prefixMatch- the prefixMatch value to set.- Returns:
- the ObjectReplicationPolicyFilter object itself.
-
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:
- the minCreationTime value.
-
withMinCreationTime
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:
minCreationTime- the minCreationTime value to set.- Returns:
- the ObjectReplicationPolicyFilter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-