public interface PolicyApi
Modifier and Type | Method and Description |
---|---|
void |
create(String name,
String document)
Adds (or updates) a policy document.
|
void |
delete(String name)
Deletes the specified policy.
|
Policy |
get(String name)
Retrieves the specified policy document.
|
PagedIterable<String> |
list()
returns all policy names in order.
|
IterableWithMarker<String> |
listAt(String marker)
retrieves up to 100 policy names in order, starting at
marker |
IterableWithMarker<String> |
listFirstPage()
retrieves up to 100 policy names in order.
|
void create(String name, String document)
name
- Name of the policy document.document
- The policy document.PagedIterable<String> list()
IterableWithMarker<String> listFirstPage()
IterableWithMarker<String> listAt(String marker)
marker
marker
- starting point to resume the list@Nullable Policy get(String name)
name
- Name of the policy to get information about.void delete(String name)
name
- Name of the policy to deleteCopyright © 2009-2013 jclouds. All Rights Reserved.