@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public class WaasPaginators extends Object
Collection of helper methods that can be used to provide an Iterable
interface to any list operations of Waas where multiple pages of data may be fetched. Two styles of iteration are supported:
These iterables abstract away the need to write code to manually handle pagination via looping and using the page tokens. They will automatically fetch more data from the service when required.
As an example, if we were using the ListUsers operation in IdentityService, then the Iterable
returned by calling a ResponseIterator method would iterate over the ListUsersResponse objects returned by each ListUsers call, whereas the Iterable
returned by calling a RecordIterator method would iterate over the User records and we don’t have to deal with ListUsersResponse objects at all. In either case, pagination will be automatically handled so we can iterate until there are no more responses or no more resources/records available.
Constructor and Description |
---|
WaasPaginators(Waas client) |
Modifier and Type | Method and Description |
---|---|
Iterable<AccessRule> |
listAccessRulesRecordIterator(ListAccessRulesRequest request)
Creates a new iterable which will iterate over the
AccessRule objects contained in responses from the listAccessRules operation. |
Iterable<ListAccessRulesResponse> |
listAccessRulesResponseIterator(ListAccessRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listAccessRules operation.
|
Iterable<Captcha> |
listCaptchasRecordIterator(ListCaptchasRequest request)
Creates a new iterable which will iterate over the
Captcha objects contained in responses from the listCaptchas operation. |
Iterable<ListCaptchasResponse> |
listCaptchasResponseIterator(ListCaptchasRequest request)
Creates a new iterable which will iterate over the responses received from the listCaptchas operation.
|
Iterable<CertificateSummary> |
listCertificatesRecordIterator(ListCertificatesRequest request)
Creates a new iterable which will iterate over the
CertificateSummary objects contained in responses from the listCertificates operation. |
Iterable<ListCertificatesResponse> |
listCertificatesResponseIterator(ListCertificatesRequest request)
Creates a new iterable which will iterate over the responses received from the listCertificates operation.
|
Iterable<EdgeSubnet> |
listEdgeSubnetsRecordIterator(ListEdgeSubnetsRequest request)
Creates a new iterable which will iterate over the
EdgeSubnet objects contained in responses from the listEdgeSubnets operation. |
Iterable<ListEdgeSubnetsResponse> |
listEdgeSubnetsResponseIterator(ListEdgeSubnetsRequest request)
Creates a new iterable which will iterate over the responses received from the listEdgeSubnets operation.
|
Iterable<GoodBot> |
listGoodBotsRecordIterator(ListGoodBotsRequest request)
Creates a new iterable which will iterate over the
GoodBot objects contained in responses from the listGoodBots operation. |
Iterable<ListGoodBotsResponse> |
listGoodBotsResponseIterator(ListGoodBotsRequest request)
Creates a new iterable which will iterate over the responses received from the listGoodBots operation.
|
Iterable<ProtectionRule> |
listProtectionRulesRecordIterator(ListProtectionRulesRequest request)
Creates a new iterable which will iterate over the
ProtectionRule objects contained in responses from the listProtectionRules operation. |
Iterable<ListProtectionRulesResponse> |
listProtectionRulesResponseIterator(ListProtectionRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listProtectionRules operation.
|
Iterable<Recommendation> |
listRecommendationsRecordIterator(ListRecommendationsRequest request)
Creates a new iterable which will iterate over the
Recommendation objects contained in responses from the listRecommendations operation. |
Iterable<ListRecommendationsResponse> |
listRecommendationsResponseIterator(ListRecommendationsRequest request)
Creates a new iterable which will iterate over the responses received from the listRecommendations operation.
|
Iterable<ThreatFeed> |
listThreatFeedsRecordIterator(ListThreatFeedsRequest request)
Creates a new iterable which will iterate over the
ThreatFeed objects contained in responses from the listThreatFeeds operation. |
Iterable<ListThreatFeedsResponse> |
listThreatFeedsResponseIterator(ListThreatFeedsRequest request)
Creates a new iterable which will iterate over the responses received from the listThreatFeeds operation.
|
Iterable<WaasPolicySummary> |
listWaasPoliciesRecordIterator(ListWaasPoliciesRequest request)
Creates a new iterable which will iterate over the
WaasPolicySummary objects contained in responses from the listWaasPolicies operation. |
Iterable<ListWaasPoliciesResponse> |
listWaasPoliciesResponseIterator(ListWaasPoliciesRequest request)
Creates a new iterable which will iterate over the responses received from the listWaasPolicies operation.
|
Iterable<WafBlockedRequest> |
listWafBlockedRequestsRecordIterator(ListWafBlockedRequestsRequest request)
Creates a new iterable which will iterate over the
WafBlockedRequest objects contained in responses from the listWafBlockedRequests operation. |
Iterable<ListWafBlockedRequestsResponse> |
listWafBlockedRequestsResponseIterator(ListWafBlockedRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the listWafBlockedRequests operation.
|
Iterable<WafLog> |
listWafLogsRecordIterator(ListWafLogsRequest request)
Creates a new iterable which will iterate over the
WafLog objects contained in responses from the listWafLogs operation. |
Iterable<ListWafLogsResponse> |
listWafLogsResponseIterator(ListWafLogsRequest request)
Creates a new iterable which will iterate over the responses received from the listWafLogs operation.
|
Iterable<WafTrafficDatum> |
listWafTrafficRecordIterator(ListWafTrafficRequest request)
Creates a new iterable which will iterate over the
WafTrafficDatum objects contained in responses from the listWafTraffic operation. |
Iterable<ListWafTrafficResponse> |
listWafTrafficResponseIterator(ListWafTrafficRequest request)
Creates a new iterable which will iterate over the responses received from the listWafTraffic operation.
|
Iterable<Whitelist> |
listWhitelistsRecordIterator(ListWhitelistsRequest request)
Creates a new iterable which will iterate over the
Whitelist objects contained in responses from the listWhitelists operation. |
Iterable<ListWhitelistsResponse> |
listWhitelistsResponseIterator(ListWhitelistsRequest request)
Creates a new iterable which will iterate over the responses received from the listWhitelists operation.
|
Iterable<WorkRequestSummary> |
listWorkRequestsRecordIterator(ListWorkRequestsRequest request)
Creates a new iterable which will iterate over the
WorkRequestSummary objects contained in responses from the listWorkRequests operation. |
Iterable<ListWorkRequestsResponse> |
listWorkRequestsResponseIterator(ListWorkRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the listWorkRequests operation.
|
@ConstructorProperties(value="client") public WaasPaginators(Waas client)
public Iterable<ListAccessRulesResponse> listAccessRulesResponseIterator(ListAccessRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listAccessRules operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<AccessRule> listAccessRulesRecordIterator(ListAccessRulesRequest request)
Creates a new iterable which will iterate over the AccessRule
objects contained in responses from the listAccessRules operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the AccessRule
objects contained in responses received from the service.public Iterable<ListCaptchasResponse> listCaptchasResponseIterator(ListCaptchasRequest request)
Creates a new iterable which will iterate over the responses received from the listCaptchas operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<Captcha> listCaptchasRecordIterator(ListCaptchasRequest request)
Creates a new iterable which will iterate over the Captcha
objects contained in responses from the listCaptchas operation. This iterable will fetch more data from the server as needed.
public Iterable<ListCertificatesResponse> listCertificatesResponseIterator(ListCertificatesRequest request)
Creates a new iterable which will iterate over the responses received from the listCertificates operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<CertificateSummary> listCertificatesRecordIterator(ListCertificatesRequest request)
Creates a new iterable which will iterate over the CertificateSummary
objects contained in responses from the listCertificates operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the CertificateSummary
objects contained in responses received from the service.public Iterable<ListEdgeSubnetsResponse> listEdgeSubnetsResponseIterator(ListEdgeSubnetsRequest request)
Creates a new iterable which will iterate over the responses received from the listEdgeSubnets operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<EdgeSubnet> listEdgeSubnetsRecordIterator(ListEdgeSubnetsRequest request)
Creates a new iterable which will iterate over the EdgeSubnet
objects contained in responses from the listEdgeSubnets operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the EdgeSubnet
objects contained in responses received from the service.public Iterable<ListGoodBotsResponse> listGoodBotsResponseIterator(ListGoodBotsRequest request)
Creates a new iterable which will iterate over the responses received from the listGoodBots operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<GoodBot> listGoodBotsRecordIterator(ListGoodBotsRequest request)
Creates a new iterable which will iterate over the GoodBot
objects contained in responses from the listGoodBots operation. This iterable will fetch more data from the server as needed.
public Iterable<ListProtectionRulesResponse> listProtectionRulesResponseIterator(ListProtectionRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listProtectionRules operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<ProtectionRule> listProtectionRulesRecordIterator(ListProtectionRulesRequest request)
Creates a new iterable which will iterate over the ProtectionRule
objects contained in responses from the listProtectionRules operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the ProtectionRule
objects contained in responses received from the service.public Iterable<ListRecommendationsResponse> listRecommendationsResponseIterator(ListRecommendationsRequest request)
Creates a new iterable which will iterate over the responses received from the listRecommendations operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<Recommendation> listRecommendationsRecordIterator(ListRecommendationsRequest request)
Creates a new iterable which will iterate over the Recommendation
objects contained in responses from the listRecommendations operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the Recommendation
objects contained in responses received from the service.public Iterable<ListThreatFeedsResponse> listThreatFeedsResponseIterator(ListThreatFeedsRequest request)
Creates a new iterable which will iterate over the responses received from the listThreatFeeds operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<ThreatFeed> listThreatFeedsRecordIterator(ListThreatFeedsRequest request)
Creates a new iterable which will iterate over the ThreatFeed
objects contained in responses from the listThreatFeeds operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the ThreatFeed
objects contained in responses received from the service.public Iterable<ListWaasPoliciesResponse> listWaasPoliciesResponseIterator(ListWaasPoliciesRequest request)
Creates a new iterable which will iterate over the responses received from the listWaasPolicies operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<WaasPolicySummary> listWaasPoliciesRecordIterator(ListWaasPoliciesRequest request)
Creates a new iterable which will iterate over the WaasPolicySummary
objects contained in responses from the listWaasPolicies operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the WaasPolicySummary
objects contained in responses received from the service.public Iterable<ListWafBlockedRequestsResponse> listWafBlockedRequestsResponseIterator(ListWafBlockedRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the listWafBlockedRequests operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<WafBlockedRequest> listWafBlockedRequestsRecordIterator(ListWafBlockedRequestsRequest request)
Creates a new iterable which will iterate over the WafBlockedRequest
objects contained in responses from the listWafBlockedRequests operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the WafBlockedRequest
objects contained in responses received from the service.public Iterable<ListWafLogsResponse> listWafLogsResponseIterator(ListWafLogsRequest request)
Creates a new iterable which will iterate over the responses received from the listWafLogs operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<WafLog> listWafLogsRecordIterator(ListWafLogsRequest request)
Creates a new iterable which will iterate over the WafLog
objects contained in responses from the listWafLogs operation. This iterable will fetch more data from the server as needed.
public Iterable<ListWafTrafficResponse> listWafTrafficResponseIterator(ListWafTrafficRequest request)
Creates a new iterable which will iterate over the responses received from the listWafTraffic operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<WafTrafficDatum> listWafTrafficRecordIterator(ListWafTrafficRequest request)
Creates a new iterable which will iterate over the WafTrafficDatum
objects contained in responses from the listWafTraffic operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the WafTrafficDatum
objects contained in responses received from the service.public Iterable<ListWhitelistsResponse> listWhitelistsResponseIterator(ListWhitelistsRequest request)
Creates a new iterable which will iterate over the responses received from the listWhitelists operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<Whitelist> listWhitelistsRecordIterator(ListWhitelistsRequest request)
Creates a new iterable which will iterate over the Whitelist
objects contained in responses from the listWhitelists operation. This iterable will fetch more data from the server as needed.
public Iterable<ListWorkRequestsResponse> listWorkRequestsResponseIterator(ListWorkRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the listWorkRequests operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the responses received from the service.public Iterable<WorkRequestSummary> listWorkRequestsRecordIterator(ListWorkRequestsRequest request)
Creates a new iterable which will iterate over the WorkRequestSummary
objects contained in responses from the listWorkRequests operation. This iterable will fetch more data from the server as needed.
request
- a request which can be sent to the service operationIterable
which can be used to iterate over the WorkRequestSummary
objects contained in responses received from the service.Copyright © 2016–2019. All rights reserved.