@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<AddressListSummary> |
listAddressListsRecordIterator(ListAddressListsRequest request)
Creates a new iterable which will iterate over the
AddressListSummary objects
contained in responses from the listAddressLists operation. |
Iterable<ListAddressListsResponse> |
listAddressListsResponseIterator(ListAddressListsRequest request)
Creates a new iterable which will iterate over the responses received from the listAddressLists operation.
|
Iterable<CachingRuleSummary> |
listCachingRulesRecordIterator(ListCachingRulesRequest request)
Creates a new iterable which will iterate over the
CachingRuleSummary objects
contained in responses from the listCachingRules operation. |
Iterable<ListCachingRulesResponse> |
listCachingRulesResponseIterator(ListCachingRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listCachingRules 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<CustomProtectionRuleSummary> |
listCustomProtectionRulesRecordIterator(ListCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the
CustomProtectionRuleSummary objects
contained in responses from the listCustomProtectionRules operation. |
Iterable<ListCustomProtectionRulesResponse> |
listCustomProtectionRulesResponseIterator(ListCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listCustomProtectionRules 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<WaasPolicyCustomProtectionRuleSummary> |
listWaasPolicyCustomProtectionRulesRecordIterator(ListWaasPolicyCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the
WaasPolicyCustomProtectionRuleSummary objects
contained in responses from the listWaasPolicyCustomProtectionRules operation. |
Iterable<ListWaasPolicyCustomProtectionRulesResponse> |
listWaasPolicyCustomProtectionRulesResponseIterator(ListWaasPolicyCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listWaasPolicyCustomProtectionRules 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<WafRequest> |
listWafRequestsRecordIterator(ListWafRequestsRequest request)
Creates a new iterable which will iterate over the
WafRequest objects
contained in responses from the listWafRequests operation. |
Iterable<ListWafRequestsResponse> |
listWafRequestsResponseIterator(ListWafRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the listWafRequests 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<ListAddressListsResponse> listAddressListsResponseIterator(ListAddressListsRequest request)
Creates a new iterable which will iterate over the responses received from the listAddressLists 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<AddressListSummary> listAddressListsRecordIterator(ListAddressListsRequest request)
Creates a new iterable which will iterate over the AddressListSummary
objects
contained in responses from the listAddressLists 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 AddressListSummary
objects
contained in responses received from the service.public Iterable<ListCachingRulesResponse> listCachingRulesResponseIterator(ListCachingRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listCachingRules 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<CachingRuleSummary> listCachingRulesRecordIterator(ListCachingRulesRequest request)
Creates a new iterable which will iterate over the CachingRuleSummary
objects
contained in responses from the listCachingRules 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 CachingRuleSummary
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<ListCustomProtectionRulesResponse> listCustomProtectionRulesResponseIterator(ListCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listCustomProtectionRules 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<CustomProtectionRuleSummary> listCustomProtectionRulesRecordIterator(ListCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the CustomProtectionRuleSummary
objects
contained in responses from the listCustomProtectionRules 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 CustomProtectionRuleSummary
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<ListWaasPolicyCustomProtectionRulesResponse> listWaasPolicyCustomProtectionRulesResponseIterator(ListWaasPolicyCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the responses received from the listWaasPolicyCustomProtectionRules 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<WaasPolicyCustomProtectionRuleSummary> listWaasPolicyCustomProtectionRulesRecordIterator(ListWaasPolicyCustomProtectionRulesRequest request)
Creates a new iterable which will iterate over the WaasPolicyCustomProtectionRuleSummary
objects
contained in responses from the listWaasPolicyCustomProtectionRules 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 WaasPolicyCustomProtectionRuleSummary
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<ListWafRequestsResponse> listWafRequestsResponseIterator(ListWafRequestsRequest request)
Creates a new iterable which will iterate over the responses received from the listWafRequests 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<WafRequest> listWafRequestsRecordIterator(ListWafRequestsRequest request)
Creates a new iterable which will iterate over the WafRequest
objects
contained in responses from the listWafRequests 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 WafRequest
objects
contained in responses received from the service.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–2021. All rights reserved.