Class ActionControlAssignmentsPager
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_policy_management.v1.model.ActionControlAssignmentsPager
-
public class ActionControlAssignmentsPager extends java.lang.ObjectActionControlAssignmentsPager can be used to simplify the use of the "listActionControlAssignments" method.
-
-
Constructor Summary
Constructors Constructor Description ActionControlAssignmentsPager(IamPolicyManagement client, ListActionControlAssignmentsOptions options)Constructs a new ActionControlAssignmentsPager instance with the specified client and options model instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ActionControlAssignment>getAll()Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.java.util.List<ActionControlAssignment>getNext()Returns the next page of results.booleanhasNext()Returns true if there are more results to be retrieved.
-
-
-
Constructor Detail
-
ActionControlAssignmentsPager
public ActionControlAssignmentsPager(IamPolicyManagement client, ListActionControlAssignmentsOptions options)
Constructs a new ActionControlAssignmentsPager instance with the specified client and options model instance.- Parameters:
client- the IamPolicyManagement instance to be used to invoke the "listActionControlAssignments" methodoptions- the ListActionControlAssignmentsOptions instance to be used to invoke the "listActionControlAssignments" method
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns true if there are more results to be retrieved.- Returns:
- boolean
-
getNext
public java.util.List<ActionControlAssignment> getNext()
Returns the next page of results.- Returns:
- a List<ActionControlAssignment> that contains the next page of results
-
getAll
public java.util.List<ActionControlAssignment> getAll()
Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.- Returns:
- a List<ActionControlAssignment> containing all results returned by the "listActionControlAssignments" method
-
-