Class ObjectReplicationPolicyFilter

java.lang.Object
com.azure.resourcemanager.storage.models.ObjectReplicationPolicyFilter

public final class ObjectReplicationPolicyFilter extends Object
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 Details

    • ObjectReplicationPolicyFilter

      public ObjectReplicationPolicyFilter()
      Creates an instance of ObjectReplicationPolicyFilter class.
  • Method Details

    • prefixMatch

      public List<String> 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

      public ObjectReplicationPolicyFilter withPrefixMatch(List<String> prefixMatch)
      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

      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:
      the minCreationTime value.
    • 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:
      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.