public class PolicyUtils extends Object
Constructor and Description |
---|
PolicyUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
validateResourceList(List<com.ibm.cloud.objectstorage.auth.policy.Resource> resourceList)
Determines if a list of Resource objects is valid, containing either all NotResource elements or all Resource
elements
|
public static void validateResourceList(List<com.ibm.cloud.objectstorage.auth.policy.Resource> resourceList)
resourceList
- the list of Resource objectsIllegalArgumentException
- if the resource list is invalidCopyright © 2024. All rights reserved.