ManagementPolicyFilter Class

  • java.lang.Object
    • com.microsoft.azure.management.storage.ManagementPolicyFilter

public class ManagementPolicyFilter

Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters.

Constructor Summary

Constructor Description
ManagementPolicyFilter()

Method Summary

Modifier and Type Method and Description
java.util.List<TagFilter> blobIndexMatch()

Get an array of blob index tag based filters, there can be at most 10 tag filters.

java.util.List<java.lang.String> blobTypes()

Get an array of predefined enum values.

java.util.List<java.lang.String> prefixMatch()

Get an array of strings for prefixes to be match.

ManagementPolicyFilter withBlobIndexMatch(List<TagFilter> blobIndexMatch)

Set an array of blob index tag based filters, there can be at most 10 tag filters.

ManagementPolicyFilter withBlobTypes(List<String> blobTypes)

Set an array of predefined enum values.

ManagementPolicyFilter withPrefixMatch(List<String> prefixMatch)

Set an array of strings for prefixes to be match.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ManagementPolicyFilter

public ManagementPolicyFilter()

Method Details

blobIndexMatch

public List blobIndexMatch()

Get an array of blob index tag based filters, there can be at most 10 tag filters.

Returns:

the blobIndexMatch value

blobTypes

public List blobTypes()

Get an array of predefined enum values. Only blockBlob is supported.

Returns:

the blobTypes value

prefixMatch

public List prefixMatch()

Get an array of strings for prefixes to be match.

Returns:

the prefixMatch value

withBlobIndexMatch

public ManagementPolicyFilter withBlobIndexMatch(List blobIndexMatch)

Set an array of blob index tag based filters, there can be at most 10 tag filters.

Parameters:

blobIndexMatch - the blobIndexMatch value to set

Returns:

the ManagementPolicyFilter object itself.

withBlobTypes

public ManagementPolicyFilter withBlobTypes(List blobTypes)

Set an array of predefined enum values. Only blockBlob is supported.

Parameters:

blobTypes - the blobTypes value to set

Returns:

the ManagementPolicyFilter object itself.

withPrefixMatch

public ManagementPolicyFilter withPrefixMatch(List prefixMatch)

Set an array of strings for prefixes to be match.

Parameters:

prefixMatch - the prefixMatch value to set

Returns:

the ManagementPolicyFilter object itself.

Applies to