Interface Route53GlobalResolverClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.
Amazon Route 53 Global Resolver is a global, internet-accessible DNS resolver that enables customers to resolve and forward traffic for both public and private domains while ensuring security and authenticity of queries over the internet. Route 53 Global Resolver supports DNS-over-port 53 (Do53), DNS-over-TLS (DoT), and DNS-over-HTTPS (DoH) protocols through global anycast IP addresses.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateHostedZoneResponseassociateHostedZone(Consumer<AssociateHostedZoneRequest.Builder> associateHostedZoneRequest) Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource.default AssociateHostedZoneResponseassociateHostedZone(AssociateHostedZoneRequest associateHostedZoneRequest) Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource.default BatchCreateFirewallRuleResponsebatchCreateFirewallRule(Consumer<BatchCreateFirewallRuleRequest.Builder> batchCreateFirewallRuleRequest) Creates multiple DNS firewall rules in a single operation.default BatchCreateFirewallRuleResponsebatchCreateFirewallRule(BatchCreateFirewallRuleRequest batchCreateFirewallRuleRequest) Creates multiple DNS firewall rules in a single operation.default BatchDeleteFirewallRuleResponsebatchDeleteFirewallRule(Consumer<BatchDeleteFirewallRuleRequest.Builder> batchDeleteFirewallRuleRequest) Deletes multiple DNS firewall rules in a single operation.default BatchDeleteFirewallRuleResponsebatchDeleteFirewallRule(BatchDeleteFirewallRuleRequest batchDeleteFirewallRuleRequest) Deletes multiple DNS firewall rules in a single operation.default BatchUpdateFirewallRuleResponsebatchUpdateFirewallRule(Consumer<BatchUpdateFirewallRuleRequest.Builder> batchUpdateFirewallRuleRequest) Updates multiple DNS firewall rules in a single operation.default BatchUpdateFirewallRuleResponsebatchUpdateFirewallRule(BatchUpdateFirewallRuleRequest batchUpdateFirewallRuleRequest) Updates multiple DNS firewall rules in a single operation.builder()Create a builder that can be used to configure and create aRoute53GlobalResolverClient.static Route53GlobalResolverClientcreate()Create aRoute53GlobalResolverClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAccessSourceResponsecreateAccessSource(Consumer<CreateAccessSourceRequest.Builder> createAccessSourceRequest) Creates an access source for a DNS view.default CreateAccessSourceResponsecreateAccessSource(CreateAccessSourceRequest createAccessSourceRequest) Creates an access source for a DNS view.default CreateAccessTokenResponsecreateAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest) Creates an access token for a DNS view.default CreateAccessTokenResponsecreateAccessToken(CreateAccessTokenRequest createAccessTokenRequest) Creates an access token for a DNS view.default CreateDnsViewResponsecreateDNSView(Consumer<CreateDnsViewRequest.Builder> createDnsViewRequest) Creates a DNS view within a Route 53 Global Resolver.default CreateDnsViewResponsecreateDNSView(CreateDnsViewRequest createDnsViewRequest) Creates a DNS view within a Route 53 Global Resolver.default CreateFirewallDomainListResponsecreateFirewallDomainList(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) Creates a firewall domain list.default CreateFirewallDomainListResponsecreateFirewallDomainList(CreateFirewallDomainListRequest createFirewallDomainListRequest) Creates a firewall domain list.default CreateFirewallRuleResponsecreateFirewallRule(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) Creates a DNS firewall rule.default CreateFirewallRuleResponsecreateFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest) Creates a DNS firewall rule.default CreateGlobalResolverResponsecreateGlobalResolver(Consumer<CreateGlobalResolverRequest.Builder> createGlobalResolverRequest) Creates a new Route 53 Global Resolver instance.default CreateGlobalResolverResponsecreateGlobalResolver(CreateGlobalResolverRequest createGlobalResolverRequest) Creates a new Route 53 Global Resolver instance.default DeleteAccessSourceResponsedeleteAccessSource(Consumer<DeleteAccessSourceRequest.Builder> deleteAccessSourceRequest) Deletes an access source.default DeleteAccessSourceResponsedeleteAccessSource(DeleteAccessSourceRequest deleteAccessSourceRequest) Deletes an access source.default DeleteAccessTokenResponsedeleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest) Deletes an access token.default DeleteAccessTokenResponsedeleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest) Deletes an access token.default DeleteDnsViewResponsedeleteDNSView(Consumer<DeleteDnsViewRequest.Builder> deleteDnsViewRequest) Deletes a DNS view.default DeleteDnsViewResponsedeleteDNSView(DeleteDnsViewRequest deleteDnsViewRequest) Deletes a DNS view.default DeleteFirewallDomainListResponsedeleteFirewallDomainList(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) Deletes a firewall domain list.default DeleteFirewallDomainListResponsedeleteFirewallDomainList(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest) Deletes a firewall domain list.default DeleteFirewallRuleResponsedeleteFirewallRule(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) Deletes a DNS firewall rule.default DeleteFirewallRuleResponsedeleteFirewallRule(DeleteFirewallRuleRequest deleteFirewallRuleRequest) Deletes a DNS firewall rule.default DeleteGlobalResolverResponsedeleteGlobalResolver(Consumer<DeleteGlobalResolverRequest.Builder> deleteGlobalResolverRequest) Deletes a Route 53 Global Resolver instance.default DeleteGlobalResolverResponsedeleteGlobalResolver(DeleteGlobalResolverRequest deleteGlobalResolverRequest) Deletes a Route 53 Global Resolver instance.default DisableDnsViewResponsedisableDNSView(Consumer<DisableDnsViewRequest.Builder> disableDnsViewRequest) Disables a DNS view, preventing it from serving DNS queries.default DisableDnsViewResponsedisableDNSView(DisableDnsViewRequest disableDnsViewRequest) Disables a DNS view, preventing it from serving DNS queries.default DisassociateHostedZoneResponsedisassociateHostedZone(Consumer<DisassociateHostedZoneRequest.Builder> disassociateHostedZoneRequest) Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.default DisassociateHostedZoneResponsedisassociateHostedZone(DisassociateHostedZoneRequest disassociateHostedZoneRequest) Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.default EnableDnsViewResponseenableDNSView(Consumer<EnableDnsViewRequest.Builder> enableDnsViewRequest) Enables a disabled DNS view, allowing it to serve DNS queries again.default EnableDnsViewResponseenableDNSView(EnableDnsViewRequest enableDnsViewRequest) Enables a disabled DNS view, allowing it to serve DNS queries again.default GetAccessSourceResponsegetAccessSource(Consumer<GetAccessSourceRequest.Builder> getAccessSourceRequest) Retrieves information about an access source.default GetAccessSourceResponsegetAccessSource(GetAccessSourceRequest getAccessSourceRequest) Retrieves information about an access source.default GetAccessTokenResponsegetAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest) Retrieves information about an access token.default GetAccessTokenResponsegetAccessToken(GetAccessTokenRequest getAccessTokenRequest) Retrieves information about an access token.default GetDnsViewResponsegetDNSView(Consumer<GetDnsViewRequest.Builder> getDnsViewRequest) Retrieves information about a DNS view.default GetDnsViewResponsegetDNSView(GetDnsViewRequest getDnsViewRequest) Retrieves information about a DNS view.default GetFirewallDomainListResponsegetFirewallDomainList(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) Retrieves information about a firewall domain list.default GetFirewallDomainListResponsegetFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest) Retrieves information about a firewall domain list.default GetFirewallRuleResponsegetFirewallRule(Consumer<GetFirewallRuleRequest.Builder> getFirewallRuleRequest) Retrieves information about a DNS firewall rule.default GetFirewallRuleResponsegetFirewallRule(GetFirewallRuleRequest getFirewallRuleRequest) Retrieves information about a DNS firewall rule.default GetGlobalResolverResponsegetGlobalResolver(Consumer<GetGlobalResolverRequest.Builder> getGlobalResolverRequest) Retrieves information about a Route 53 Global Resolver instance.default GetGlobalResolverResponsegetGlobalResolver(GetGlobalResolverRequest getGlobalResolverRequest) Retrieves information about a Route 53 Global Resolver instance.default GetHostedZoneAssociationResponsegetHostedZoneAssociation(Consumer<GetHostedZoneAssociationRequest.Builder> getHostedZoneAssociationRequest) Retrieves information about a hosted zone association.default GetHostedZoneAssociationResponsegetHostedZoneAssociation(GetHostedZoneAssociationRequest getHostedZoneAssociationRequest) Retrieves information about a hosted zone association.getManagedFirewallDomainList(Consumer<GetManagedFirewallDomainListRequest.Builder> getManagedFirewallDomainListRequest) Retrieves information about an AWS-managed firewall domain list.getManagedFirewallDomainList(GetManagedFirewallDomainListRequest getManagedFirewallDomainListRequest) Retrieves information about an AWS-managed firewall domain list.default ImportFirewallDomainsResponseimportFirewallDomains(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) Imports a list of domains from an Amazon S3 file into a firewall domain list.default ImportFirewallDomainsResponseimportFirewallDomains(ImportFirewallDomainsRequest importFirewallDomainsRequest) Imports a list of domains from an Amazon S3 file into a firewall domain list.default ListAccessSourcesResponselistAccessSources(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) Lists all access sources with pagination support.default ListAccessSourcesResponselistAccessSources(ListAccessSourcesRequest listAccessSourcesRequest) Lists all access sources with pagination support.default ListAccessSourcesIterablelistAccessSourcesPaginator(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) This is a variant oflistAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.default ListAccessSourcesIterablelistAccessSourcesPaginator(ListAccessSourcesRequest listAccessSourcesRequest) This is a variant oflistAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.default ListAccessTokensResponselistAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) Lists all access tokens for a DNS view with pagination support.default ListAccessTokensResponselistAccessTokens(ListAccessTokensRequest listAccessTokensRequest) Lists all access tokens for a DNS view with pagination support.default ListAccessTokensIterablelistAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.default ListAccessTokensIterablelistAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.default ListDnsViewsResponselistDNSViews(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) Lists all DNS views for a Route 53 Global Resolver with pagination support.default ListDnsViewsResponselistDNSViews(ListDnsViewsRequest listDnsViewsRequest) Lists all DNS views for a Route 53 Global Resolver with pagination support.default ListDNSViewsIterablelistDNSViewsPaginator(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) This is a variant oflistDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.default ListDNSViewsIterablelistDNSViewsPaginator(ListDnsViewsRequest listDnsViewsRequest) This is a variant oflistDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.default ListFirewallDomainListsResponselistFirewallDomainLists(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.default ListFirewallDomainListsResponselistFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest) Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.default ListFirewallDomainListsIterablelistFirewallDomainListsPaginator(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.default ListFirewallDomainListsIterablelistFirewallDomainListsPaginator(ListFirewallDomainListsRequest listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.default ListFirewallDomainsResponselistFirewallDomains(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) Lists all the domains in DNS Firewall domain list you have created.default ListFirewallDomainsResponselistFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest) Lists all the domains in DNS Firewall domain list you have created.default ListFirewallDomainsIterablelistFirewallDomainsPaginator(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) This is a variant oflistFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.default ListFirewallDomainsIterablelistFirewallDomainsPaginator(ListFirewallDomainsRequest listFirewallDomainsRequest) This is a variant oflistFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.default ListFirewallRulesResponselistFirewallRules(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) Lists all DNS firewall rules for a DNS view with pagination support.default ListFirewallRulesResponselistFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest) Lists all DNS firewall rules for a DNS view with pagination support.default ListFirewallRulesIterablelistFirewallRulesPaginator(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.default ListFirewallRulesIterablelistFirewallRulesPaginator(ListFirewallRulesRequest listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.default ListGlobalResolversResponselistGlobalResolvers(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) Lists all Route 53 Global Resolver instances in your account with pagination support.default ListGlobalResolversResponselistGlobalResolvers(ListGlobalResolversRequest listGlobalResolversRequest) Lists all Route 53 Global Resolver instances in your account with pagination support.default ListGlobalResolversIterablelistGlobalResolversPaginator(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) This is a variant oflistGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.default ListGlobalResolversIterablelistGlobalResolversPaginator(ListGlobalResolversRequest listGlobalResolversRequest) This is a variant oflistGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.listHostedZoneAssociations(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.listHostedZoneAssociations(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.listHostedZoneAssociationsPaginator(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) This is a variant oflistHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.listHostedZoneAssociationsPaginator(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) This is a variant oflistHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.listManagedFirewallDomainLists(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall.listManagedFirewallDomainLists(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall.listManagedFirewallDomainListsPaginator(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) listManagedFirewallDomainListsPaginator(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags associated with a Route 53 Global Resolver resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags associated with a Route 53 Global Resolver resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a Route 53 Global Resolver resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or updates tags for a Route 53 Global Resolver resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a Route 53 Global Resolver resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a Route 53 Global Resolver resource.default UpdateAccessSourceResponseupdateAccessSource(Consumer<UpdateAccessSourceRequest.Builder> updateAccessSourceRequest) Updates the configuration of an access source.default UpdateAccessSourceResponseupdateAccessSource(UpdateAccessSourceRequest updateAccessSourceRequest) Updates the configuration of an access source.default UpdateAccessTokenResponseupdateAccessToken(Consumer<UpdateAccessTokenRequest.Builder> updateAccessTokenRequest) Updates the configuration of an access token.default UpdateAccessTokenResponseupdateAccessToken(UpdateAccessTokenRequest updateAccessTokenRequest) Updates the configuration of an access token.default UpdateDnsViewResponseupdateDNSView(Consumer<UpdateDnsViewRequest.Builder> updateDnsViewRequest) Updates the configuration of a DNS view.default UpdateDnsViewResponseupdateDNSView(UpdateDnsViewRequest updateDnsViewRequest) Updates the configuration of a DNS view.default UpdateFirewallDomainsResponseupdateFirewallDomains(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) Updates a DNS Firewall domain list from an array of specified domains.default UpdateFirewallDomainsResponseupdateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) Updates a DNS Firewall domain list from an array of specified domains.default UpdateFirewallRuleResponseupdateFirewallRule(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) Updates the configuration of a DNS firewall rule.default UpdateFirewallRuleResponseupdateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest) Updates the configuration of a DNS firewall rule.default UpdateGlobalResolverResponseupdateGlobalResolver(Consumer<UpdateGlobalResolverRequest.Builder> updateGlobalResolverRequest) Updates the configuration of a Route 53 Global Resolver instance.default UpdateGlobalResolverResponseupdateGlobalResolver(UpdateGlobalResolverRequest updateGlobalResolverRequest) Updates the configuration of a Route 53 Global Resolver instance.updateHostedZoneAssociation(Consumer<UpdateHostedZoneAssociationRequest.Builder> updateHostedZoneAssociationRequest) Updates the configuration of a hosted zone association.updateHostedZoneAssociation(UpdateHostedZoneAssociationRequest updateHostedZoneAssociationRequest) Updates the configuration of a hosted zone association.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateHostedZone
default AssociateHostedZoneResponse associateHostedZone(AssociateHostedZoneRequest associateHostedZoneRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource. This allows the resolver to resolve DNS queries for the private hosted zone from anywhere globally.
- Parameters:
associateHostedZoneRequest-- Returns:
- Result of the AssociateHostedZone operation returned by the service.
- See Also:
-
associateHostedZone
default AssociateHostedZoneResponse associateHostedZone(Consumer<AssociateHostedZoneRequest.Builder> associateHostedZoneRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource. This allows the resolver to resolve DNS queries for the private hosted zone from anywhere globally.
This is a convenience which creates an instance of the
AssociateHostedZoneRequest.Builderavoiding the need to create one manually viaAssociateHostedZoneRequest.builder()- Parameters:
associateHostedZoneRequest- AConsumerthat will call methods onAssociateHostedZoneRequest.Builderto create a request.- Returns:
- Result of the AssociateHostedZone operation returned by the service.
- See Also:
-
batchCreateFirewallRule
default BatchCreateFirewallRuleResponse batchCreateFirewallRule(BatchCreateFirewallRuleRequest batchCreateFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates multiple DNS firewall rules in a single operation. This is more efficient than creating rules individually when you need to set up multiple rules at once.
- Parameters:
batchCreateFirewallRuleRequest-- Returns:
- Result of the BatchCreateFirewallRule operation returned by the service.
- See Also:
-
batchCreateFirewallRule
default BatchCreateFirewallRuleResponse batchCreateFirewallRule(Consumer<BatchCreateFirewallRuleRequest.Builder> batchCreateFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates multiple DNS firewall rules in a single operation. This is more efficient than creating rules individually when you need to set up multiple rules at once.
This is a convenience which creates an instance of the
BatchCreateFirewallRuleRequest.Builderavoiding the need to create one manually viaBatchCreateFirewallRuleRequest.builder()- Parameters:
batchCreateFirewallRuleRequest- AConsumerthat will call methods onBatchCreateFirewallRuleRequest.Builderto create a request.- Returns:
- Result of the BatchCreateFirewallRule operation returned by the service.
- See Also:
-
batchDeleteFirewallRule
default BatchDeleteFirewallRuleResponse batchDeleteFirewallRule(BatchDeleteFirewallRuleRequest batchDeleteFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes multiple DNS firewall rules in a single operation. This is more efficient than deleting rules individually.
- Parameters:
batchDeleteFirewallRuleRequest-- Returns:
- Result of the BatchDeleteFirewallRule operation returned by the service.
- See Also:
-
batchDeleteFirewallRule
default BatchDeleteFirewallRuleResponse batchDeleteFirewallRule(Consumer<BatchDeleteFirewallRuleRequest.Builder> batchDeleteFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes multiple DNS firewall rules in a single operation. This is more efficient than deleting rules individually.
This is a convenience which creates an instance of the
BatchDeleteFirewallRuleRequest.Builderavoiding the need to create one manually viaBatchDeleteFirewallRuleRequest.builder()- Parameters:
batchDeleteFirewallRuleRequest- AConsumerthat will call methods onBatchDeleteFirewallRuleRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteFirewallRule operation returned by the service.
- See Also:
-
batchUpdateFirewallRule
default BatchUpdateFirewallRuleResponse batchUpdateFirewallRule(BatchUpdateFirewallRuleRequest batchUpdateFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates multiple DNS firewall rules in a single operation. This is more efficient than updating rules individually.
- Parameters:
batchUpdateFirewallRuleRequest-- Returns:
- Result of the BatchUpdateFirewallRule operation returned by the service.
- See Also:
-
batchUpdateFirewallRule
default BatchUpdateFirewallRuleResponse batchUpdateFirewallRule(Consumer<BatchUpdateFirewallRuleRequest.Builder> batchUpdateFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates multiple DNS firewall rules in a single operation. This is more efficient than updating rules individually.
This is a convenience which creates an instance of the
BatchUpdateFirewallRuleRequest.Builderavoiding the need to create one manually viaBatchUpdateFirewallRuleRequest.builder()- Parameters:
batchUpdateFirewallRuleRequest- AConsumerthat will call methods onBatchUpdateFirewallRuleRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateFirewallRule operation returned by the service.
- See Also:
-
createAccessSource
default CreateAccessSourceResponse createAccessSource(CreateAccessSourceRequest createAccessSourceRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates an access source for a DNS view. Access sources define IP addresses or CIDR ranges that are allowed to send DNS queries to the Route 53 Global Resolver, along with the permitted DNS protocols.
- Parameters:
createAccessSourceRequest-- Returns:
- Result of the CreateAccessSource operation returned by the service.
- See Also:
-
createAccessSource
default CreateAccessSourceResponse createAccessSource(Consumer<CreateAccessSourceRequest.Builder> createAccessSourceRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates an access source for a DNS view. Access sources define IP addresses or CIDR ranges that are allowed to send DNS queries to the Route 53 Global Resolver, along with the permitted DNS protocols.
This is a convenience which creates an instance of the
CreateAccessSourceRequest.Builderavoiding the need to create one manually viaCreateAccessSourceRequest.builder()- Parameters:
createAccessSourceRequest- AConsumerthat will call methods onCreateAccessSourceRequest.Builderto create a request.- Returns:
- Result of the CreateAccessSource operation returned by the service.
- See Also:
-
createAccessToken
default CreateAccessTokenResponse createAccessToken(CreateAccessTokenRequest createAccessTokenRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates an access token for a DNS view. Access tokens provide token-based authentication for DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) connections to the Route 53 Global Resolver.
- Parameters:
createAccessTokenRequest-- Returns:
- Result of the CreateAccessToken operation returned by the service.
- See Also:
-
createAccessToken
default CreateAccessTokenResponse createAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates an access token for a DNS view. Access tokens provide token-based authentication for DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) connections to the Route 53 Global Resolver.
This is a convenience which creates an instance of the
CreateAccessTokenRequest.Builderavoiding the need to create one manually viaCreateAccessTokenRequest.builder()- Parameters:
createAccessTokenRequest- AConsumerthat will call methods onCreateAccessTokenRequest.Builderto create a request.- Returns:
- Result of the CreateAccessToken operation returned by the service.
- See Also:
-
createDNSView
default CreateDnsViewResponse createDNSView(CreateDnsViewRequest createDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a DNS view within a Route 53 Global Resolver. A DNS view models end users, user groups, networks, and devices, and serves as a parent resource that holds configurations controlling access, authorization, DNS firewall rules, and forwarding rules.
- Parameters:
createDnsViewRequest-- Returns:
- Result of the CreateDNSView operation returned by the service.
- See Also:
-
createDNSView
default CreateDnsViewResponse createDNSView(Consumer<CreateDnsViewRequest.Builder> createDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a DNS view within a Route 53 Global Resolver. A DNS view models end users, user groups, networks, and devices, and serves as a parent resource that holds configurations controlling access, authorization, DNS firewall rules, and forwarding rules.
This is a convenience which creates an instance of the
CreateDnsViewRequest.Builderavoiding the need to create one manually viaCreateDnsViewRequest.builder()- Parameters:
createDnsViewRequest- AConsumerthat will call methods onCreateDnsViewRequest.Builderto create a request.- Returns:
- Result of the CreateDNSView operation returned by the service.
- See Also:
-
createFirewallDomainList
default CreateFirewallDomainListResponse createFirewallDomainList(CreateFirewallDomainListRequest createFirewallDomainListRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a firewall domain list. Domain lists are reusable sets of domain specifications that you use in DNS firewall rules to allow, block, or alert on DNS queries to specific domains.
- Parameters:
createFirewallDomainListRequest-- Returns:
- Result of the CreateFirewallDomainList operation returned by the service.
- See Also:
-
createFirewallDomainList
default CreateFirewallDomainListResponse createFirewallDomainList(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a firewall domain list. Domain lists are reusable sets of domain specifications that you use in DNS firewall rules to allow, block, or alert on DNS queries to specific domains.
This is a convenience which creates an instance of the
CreateFirewallDomainListRequest.Builderavoiding the need to create one manually viaCreateFirewallDomainListRequest.builder()- Parameters:
createFirewallDomainListRequest- AConsumerthat will call methods onCreateFirewallDomainListRequest.Builderto create a request.- Returns:
- Result of the CreateFirewallDomainList operation returned by the service.
- See Also:
-
createFirewallRule
default CreateFirewallRuleResponse createFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections.
- Parameters:
createFirewallRuleRequest-- Returns:
- Result of the CreateFirewallRule operation returned by the service.
- See Also:
-
createFirewallRule
default CreateFirewallRuleResponse createFirewallRule(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections.
This is a convenience which creates an instance of the
CreateFirewallRuleRequest.Builderavoiding the need to create one manually viaCreateFirewallRuleRequest.builder()- Parameters:
createFirewallRuleRequest- AConsumerthat will call methods onCreateFirewallRuleRequest.Builderto create a request.- Returns:
- Result of the CreateFirewallRule operation returned by the service.
- See Also:
-
createGlobalResolver
default CreateGlobalResolverResponse createGlobalResolver(CreateGlobalResolverRequest createGlobalResolverRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a new Route 53 Global Resolver instance. A Route 53 Global Resolver is a global, internet-accessible DNS resolver that provides secure DNS resolution for both public and private domains through global anycast IP addresses.
- Parameters:
createGlobalResolverRequest-- Returns:
- Result of the CreateGlobalResolver operation returned by the service.
- See Also:
-
createGlobalResolver
default CreateGlobalResolverResponse createGlobalResolver(Consumer<CreateGlobalResolverRequest.Builder> createGlobalResolverRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Creates a new Route 53 Global Resolver instance. A Route 53 Global Resolver is a global, internet-accessible DNS resolver that provides secure DNS resolution for both public and private domains through global anycast IP addresses.
This is a convenience which creates an instance of the
CreateGlobalResolverRequest.Builderavoiding the need to create one manually viaCreateGlobalResolverRequest.builder()- Parameters:
createGlobalResolverRequest- AConsumerthat will call methods onCreateGlobalResolverRequest.Builderto create a request.- Returns:
- Result of the CreateGlobalResolver operation returned by the service.
- See Also:
-
deleteAccessSource
default DeleteAccessSourceResponse deleteAccessSource(DeleteAccessSourceRequest deleteAccessSourceRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes an access source. This operation cannot be undone.
- Parameters:
deleteAccessSourceRequest-- Returns:
- Result of the DeleteAccessSource operation returned by the service.
- See Also:
-
deleteAccessSource
default DeleteAccessSourceResponse deleteAccessSource(Consumer<DeleteAccessSourceRequest.Builder> deleteAccessSourceRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes an access source. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteAccessSourceRequest.Builderavoiding the need to create one manually viaDeleteAccessSourceRequest.builder()- Parameters:
deleteAccessSourceRequest- AConsumerthat will call methods onDeleteAccessSourceRequest.Builderto create a request.- Returns:
- Result of the DeleteAccessSource operation returned by the service.
- See Also:
-
deleteAccessToken
default DeleteAccessTokenResponse deleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes an access token. This operation cannot be undone.
- Parameters:
deleteAccessTokenRequest-- Returns:
- Result of the DeleteAccessToken operation returned by the service.
- See Also:
-
deleteAccessToken
default DeleteAccessTokenResponse deleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes an access token. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteAccessTokenRequest.Builderavoiding the need to create one manually viaDeleteAccessTokenRequest.builder()- Parameters:
deleteAccessTokenRequest- AConsumerthat will call methods onDeleteAccessTokenRequest.Builderto create a request.- Returns:
- Result of the DeleteAccessToken operation returned by the service.
- See Also:
-
deleteDNSView
default DeleteDnsViewResponse deleteDNSView(DeleteDnsViewRequest deleteDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a DNS view. This operation cannot be undone.
- Parameters:
deleteDnsViewRequest-- Returns:
- Result of the DeleteDNSView operation returned by the service.
- See Also:
-
deleteDNSView
default DeleteDnsViewResponse deleteDNSView(Consumer<DeleteDnsViewRequest.Builder> deleteDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a DNS view. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteDnsViewRequest.Builderavoiding the need to create one manually viaDeleteDnsViewRequest.builder()- Parameters:
deleteDnsViewRequest- AConsumerthat will call methods onDeleteDnsViewRequest.Builderto create a request.- Returns:
- Result of the DeleteDNSView operation returned by the service.
- See Also:
-
deleteFirewallDomainList
default DeleteFirewallDomainListResponse deleteFirewallDomainList(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a firewall domain list. This operation cannot be undone.
- Parameters:
deleteFirewallDomainListRequest-- Returns:
- Result of the DeleteFirewallDomainList operation returned by the service.
- See Also:
-
deleteFirewallDomainList
default DeleteFirewallDomainListResponse deleteFirewallDomainList(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a firewall domain list. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteFirewallDomainListRequest.Builderavoiding the need to create one manually viaDeleteFirewallDomainListRequest.builder()- Parameters:
deleteFirewallDomainListRequest- AConsumerthat will call methods onDeleteFirewallDomainListRequest.Builderto create a request.- Returns:
- Result of the DeleteFirewallDomainList operation returned by the service.
- See Also:
-
deleteFirewallRule
default DeleteFirewallRuleResponse deleteFirewallRule(DeleteFirewallRuleRequest deleteFirewallRuleRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a DNS firewall rule. This operation cannot be undone.
- Parameters:
deleteFirewallRuleRequest-- Returns:
- Result of the DeleteFirewallRule operation returned by the service.
- See Also:
-
deleteFirewallRule
default DeleteFirewallRuleResponse deleteFirewallRule(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a DNS firewall rule. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteFirewallRuleRequest.Builderavoiding the need to create one manually viaDeleteFirewallRuleRequest.builder()- Parameters:
deleteFirewallRuleRequest- AConsumerthat will call methods onDeleteFirewallRuleRequest.Builderto create a request.- Returns:
- Result of the DeleteFirewallRule operation returned by the service.
- See Also:
-
deleteGlobalResolver
default DeleteGlobalResolverResponse deleteGlobalResolver(DeleteGlobalResolverRequest deleteGlobalResolverRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a Route 53 Global Resolver instance. This operation cannot be undone. All associated DNS views, access sources, tokens, and firewall rules are also deleted.
- Parameters:
deleteGlobalResolverRequest-- Returns:
- Result of the DeleteGlobalResolver operation returned by the service.
- See Also:
-
deleteGlobalResolver
default DeleteGlobalResolverResponse deleteGlobalResolver(Consumer<DeleteGlobalResolverRequest.Builder> deleteGlobalResolverRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Deletes a Route 53 Global Resolver instance. This operation cannot be undone. All associated DNS views, access sources, tokens, and firewall rules are also deleted.
This is a convenience which creates an instance of the
DeleteGlobalResolverRequest.Builderavoiding the need to create one manually viaDeleteGlobalResolverRequest.builder()- Parameters:
deleteGlobalResolverRequest- AConsumerthat will call methods onDeleteGlobalResolverRequest.Builderto create a request.- Returns:
- Result of the DeleteGlobalResolver operation returned by the service.
- See Also:
-
disableDNSView
default DisableDnsViewResponse disableDNSView(DisableDnsViewRequest disableDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Disables a DNS view, preventing it from serving DNS queries.
- Parameters:
disableDnsViewRequest-- Returns:
- Result of the DisableDNSView operation returned by the service.
- See Also:
-
disableDNSView
default DisableDnsViewResponse disableDNSView(Consumer<DisableDnsViewRequest.Builder> disableDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Disables a DNS view, preventing it from serving DNS queries.
This is a convenience which creates an instance of the
DisableDnsViewRequest.Builderavoiding the need to create one manually viaDisableDnsViewRequest.builder()- Parameters:
disableDnsViewRequest- AConsumerthat will call methods onDisableDnsViewRequest.Builderto create a request.- Returns:
- Result of the DisableDNSView operation returned by the service.
- See Also:
-
disassociateHostedZone
default DisassociateHostedZoneResponse disassociateHostedZone(DisassociateHostedZoneRequest disassociateHostedZoneRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.
- Parameters:
disassociateHostedZoneRequest-- Returns:
- Result of the DisassociateHostedZone operation returned by the service.
- See Also:
-
disassociateHostedZone
default DisassociateHostedZoneResponse disassociateHostedZone(Consumer<DisassociateHostedZoneRequest.Builder> disassociateHostedZoneRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.
This is a convenience which creates an instance of the
DisassociateHostedZoneRequest.Builderavoiding the need to create one manually viaDisassociateHostedZoneRequest.builder()- Parameters:
disassociateHostedZoneRequest- AConsumerthat will call methods onDisassociateHostedZoneRequest.Builderto create a request.- Returns:
- Result of the DisassociateHostedZone operation returned by the service.
- See Also:
-
enableDNSView
default EnableDnsViewResponse enableDNSView(EnableDnsViewRequest enableDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Enables a disabled DNS view, allowing it to serve DNS queries again.
- Parameters:
enableDnsViewRequest-- Returns:
- Result of the EnableDNSView operation returned by the service.
- See Also:
-
enableDNSView
default EnableDnsViewResponse enableDNSView(Consumer<EnableDnsViewRequest.Builder> enableDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Enables a disabled DNS view, allowing it to serve DNS queries again.
This is a convenience which creates an instance of the
EnableDnsViewRequest.Builderavoiding the need to create one manually viaEnableDnsViewRequest.builder()- Parameters:
enableDnsViewRequest- AConsumerthat will call methods onEnableDnsViewRequest.Builderto create a request.- Returns:
- Result of the EnableDNSView operation returned by the service.
- See Also:
-
getAccessSource
default GetAccessSourceResponse getAccessSource(GetAccessSourceRequest getAccessSourceRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about an access source.
- Parameters:
getAccessSourceRequest-- Returns:
- Result of the GetAccessSource operation returned by the service.
- See Also:
-
getAccessSource
default GetAccessSourceResponse getAccessSource(Consumer<GetAccessSourceRequest.Builder> getAccessSourceRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about an access source.
This is a convenience which creates an instance of the
GetAccessSourceRequest.Builderavoiding the need to create one manually viaGetAccessSourceRequest.builder()- Parameters:
getAccessSourceRequest- AConsumerthat will call methods onGetAccessSourceRequest.Builderto create a request.- Returns:
- Result of the GetAccessSource operation returned by the service.
- See Also:
-
getAccessToken
default GetAccessTokenResponse getAccessToken(GetAccessTokenRequest getAccessTokenRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about an access token.
- Parameters:
getAccessTokenRequest-- Returns:
- Result of the GetAccessToken operation returned by the service.
- See Also:
-
getAccessToken
default GetAccessTokenResponse getAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about an access token.
This is a convenience which creates an instance of the
GetAccessTokenRequest.Builderavoiding the need to create one manually viaGetAccessTokenRequest.builder()- Parameters:
getAccessTokenRequest- AConsumerthat will call methods onGetAccessTokenRequest.Builderto create a request.- Returns:
- Result of the GetAccessToken operation returned by the service.
- See Also:
-
getDNSView
default GetDnsViewResponse getDNSView(GetDnsViewRequest getDnsViewRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a DNS view.
- Parameters:
getDnsViewRequest-- Returns:
- Result of the GetDNSView operation returned by the service.
- See Also:
-
getDNSView
default GetDnsViewResponse getDNSView(Consumer<GetDnsViewRequest.Builder> getDnsViewRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a DNS view.
This is a convenience which creates an instance of the
GetDnsViewRequest.Builderavoiding the need to create one manually viaGetDnsViewRequest.builder()- Parameters:
getDnsViewRequest- AConsumerthat will call methods onGetDnsViewRequest.Builderto create a request.- Returns:
- Result of the GetDNSView operation returned by the service.
- See Also:
-
getFirewallDomainList
default GetFirewallDomainListResponse getFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a firewall domain list.
- Parameters:
getFirewallDomainListRequest-- Returns:
- Result of the GetFirewallDomainList operation returned by the service.
- See Also:
-
getFirewallDomainList
default GetFirewallDomainListResponse getFirewallDomainList(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a firewall domain list.
This is a convenience which creates an instance of the
GetFirewallDomainListRequest.Builderavoiding the need to create one manually viaGetFirewallDomainListRequest.builder()- Parameters:
getFirewallDomainListRequest- AConsumerthat will call methods onGetFirewallDomainListRequest.Builderto create a request.- Returns:
- Result of the GetFirewallDomainList operation returned by the service.
- See Also:
-
getFirewallRule
default GetFirewallRuleResponse getFirewallRule(GetFirewallRuleRequest getFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a DNS firewall rule.
- Parameters:
getFirewallRuleRequest-- Returns:
- Result of the GetFirewallRule operation returned by the service.
- See Also:
-
getFirewallRule
default GetFirewallRuleResponse getFirewallRule(Consumer<GetFirewallRuleRequest.Builder> getFirewallRuleRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a DNS firewall rule.
This is a convenience which creates an instance of the
GetFirewallRuleRequest.Builderavoiding the need to create one manually viaGetFirewallRuleRequest.builder()- Parameters:
getFirewallRuleRequest- AConsumerthat will call methods onGetFirewallRuleRequest.Builderto create a request.- Returns:
- Result of the GetFirewallRule operation returned by the service.
- See Also:
-
getGlobalResolver
default GetGlobalResolverResponse getGlobalResolver(GetGlobalResolverRequest getGlobalResolverRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a Route 53 Global Resolver instance.
- Parameters:
getGlobalResolverRequest-- Returns:
- Result of the GetGlobalResolver operation returned by the service.
- See Also:
-
getGlobalResolver
default GetGlobalResolverResponse getGlobalResolver(Consumer<GetGlobalResolverRequest.Builder> getGlobalResolverRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a Route 53 Global Resolver instance.
This is a convenience which creates an instance of the
GetGlobalResolverRequest.Builderavoiding the need to create one manually viaGetGlobalResolverRequest.builder()- Parameters:
getGlobalResolverRequest- AConsumerthat will call methods onGetGlobalResolverRequest.Builderto create a request.- Returns:
- Result of the GetGlobalResolver operation returned by the service.
- See Also:
-
getHostedZoneAssociation
default GetHostedZoneAssociationResponse getHostedZoneAssociation(GetHostedZoneAssociationRequest getHostedZoneAssociationRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a hosted zone association.
- Parameters:
getHostedZoneAssociationRequest-- Returns:
- Result of the GetHostedZoneAssociation operation returned by the service.
- See Also:
-
getHostedZoneAssociation
default GetHostedZoneAssociationResponse getHostedZoneAssociation(Consumer<GetHostedZoneAssociationRequest.Builder> getHostedZoneAssociationRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about a hosted zone association.
This is a convenience which creates an instance of the
GetHostedZoneAssociationRequest.Builderavoiding the need to create one manually viaGetHostedZoneAssociationRequest.builder()- Parameters:
getHostedZoneAssociationRequest- AConsumerthat will call methods onGetHostedZoneAssociationRequest.Builderto create a request.- Returns:
- Result of the GetHostedZoneAssociation operation returned by the service.
- See Also:
-
getManagedFirewallDomainList
default GetManagedFirewallDomainListResponse getManagedFirewallDomainList(GetManagedFirewallDomainListRequest getManagedFirewallDomainListRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about an AWS-managed firewall domain list. Managed domain lists contain domains associated with malicious activity, content categories, or specific threats.
- Parameters:
getManagedFirewallDomainListRequest-- Returns:
- Result of the GetManagedFirewallDomainList operation returned by the service.
- See Also:
-
getManagedFirewallDomainList
default GetManagedFirewallDomainListResponse getManagedFirewallDomainList(Consumer<GetManagedFirewallDomainListRequest.Builder> getManagedFirewallDomainListRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Retrieves information about an AWS-managed firewall domain list. Managed domain lists contain domains associated with malicious activity, content categories, or specific threats.
This is a convenience which creates an instance of the
GetManagedFirewallDomainListRequest.Builderavoiding the need to create one manually viaGetManagedFirewallDomainListRequest.builder()- Parameters:
getManagedFirewallDomainListRequest- AConsumerthat will call methods onGetManagedFirewallDomainListRequest.Builderto create a request.- Returns:
- Result of the GetManagedFirewallDomainList operation returned by the service.
- See Also:
-
importFirewallDomains
default ImportFirewallDomainsResponse importFirewallDomains(ImportFirewallDomainsRequest importFirewallDomainsRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Imports a list of domains from an Amazon S3 file into a firewall domain list. The file should contain one domain per line.
- Parameters:
importFirewallDomainsRequest-- Returns:
- Result of the ImportFirewallDomains operation returned by the service.
- See Also:
-
importFirewallDomains
default ImportFirewallDomainsResponse importFirewallDomains(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Imports a list of domains from an Amazon S3 file into a firewall domain list. The file should contain one domain per line.
This is a convenience which creates an instance of the
ImportFirewallDomainsRequest.Builderavoiding the need to create one manually viaImportFirewallDomainsRequest.builder()- Parameters:
importFirewallDomainsRequest- AConsumerthat will call methods onImportFirewallDomainsRequest.Builderto create a request.- Returns:
- Result of the ImportFirewallDomains operation returned by the service.
- See Also:
-
listAccessSources
default ListAccessSourcesResponse listAccessSources(ListAccessSourcesRequest listAccessSourcesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all access sources with pagination support.
- Parameters:
listAccessSourcesRequest-- Returns:
- Result of the ListAccessSources operation returned by the service.
- See Also:
-
listAccessSources
default ListAccessSourcesResponse listAccessSources(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all access sources with pagination support.
This is a convenience which creates an instance of the
ListAccessSourcesRequest.Builderavoiding the need to create one manually viaListAccessSourcesRequest.builder()- Parameters:
listAccessSourcesRequest- AConsumerthat will call methods onListAccessSourcesRequest.Builderto create a request.- Returns:
- Result of the ListAccessSources operation returned by the service.
- See Also:
-
listAccessSourcesPaginator
default ListAccessSourcesIterable listAccessSourcesPaginator(ListAccessSourcesRequest listAccessSourcesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesIterable responses = client.listAccessSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesIterable responses = client .listAccessSourcesPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesIterable responses = client.listAccessSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.- Parameters:
listAccessSourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccessSourcesPaginator
default ListAccessSourcesIterable listAccessSourcesPaginator(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesIterable responses = client.listAccessSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesIterable responses = client .listAccessSourcesPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesIterable responses = client.listAccessSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.
This is a convenience which creates an instance of the
ListAccessSourcesRequest.Builderavoiding the need to create one manually viaListAccessSourcesRequest.builder()- Parameters:
listAccessSourcesRequest- AConsumerthat will call methods onListAccessSourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccessTokens
default ListAccessTokensResponse listAccessTokens(ListAccessTokensRequest listAccessTokensRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all access tokens for a DNS view with pagination support.
- Parameters:
listAccessTokensRequest-- Returns:
- Result of the ListAccessTokens operation returned by the service.
- See Also:
-
listAccessTokens
default ListAccessTokensResponse listAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all access tokens for a DNS view with pagination support.
This is a convenience which creates an instance of the
ListAccessTokensRequest.Builderavoiding the need to create one manually viaListAccessTokensRequest.builder()- Parameters:
listAccessTokensRequest- AConsumerthat will call methods onListAccessTokensRequest.Builderto create a request.- Returns:
- Result of the ListAccessTokens operation returned by the service.
- See Also:
-
listAccessTokensPaginator
default ListAccessTokensIterable listAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensIterable responses = client .listAccessTokensPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.- Parameters:
listAccessTokensRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccessTokensPaginator
default ListAccessTokensIterable listAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensIterable responses = client .listAccessTokensPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.
This is a convenience which creates an instance of the
ListAccessTokensRequest.Builderavoiding the need to create one manually viaListAccessTokensRequest.builder()- Parameters:
listAccessTokensRequest- AConsumerthat will call methods onListAccessTokensRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDNSViews
default ListDnsViewsResponse listDNSViews(ListDnsViewsRequest listDnsViewsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all DNS views for a Route 53 Global Resolver with pagination support.
- Parameters:
listDnsViewsRequest-- Returns:
- Result of the ListDNSViews operation returned by the service.
- See Also:
-
listDNSViews
default ListDnsViewsResponse listDNSViews(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all DNS views for a Route 53 Global Resolver with pagination support.
This is a convenience which creates an instance of the
ListDnsViewsRequest.Builderavoiding the need to create one manually viaListDnsViewsRequest.builder()- Parameters:
listDnsViewsRequest- AConsumerthat will call methods onListDnsViewsRequest.Builderto create a request.- Returns:
- Result of the ListDNSViews operation returned by the service.
- See Also:
-
listDNSViewsPaginator
default ListDNSViewsIterable listDNSViewsPaginator(ListDnsViewsRequest listDnsViewsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsIterable responses = client.listDNSViewsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsIterable responses = client .listDNSViewsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsIterable responses = client.listDNSViewsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.- Parameters:
listDnsViewsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDNSViewsPaginator
default ListDNSViewsIterable listDNSViewsPaginator(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsIterable responses = client.listDNSViewsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsIterable responses = client .listDNSViewsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsIterable responses = client.listDNSViewsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.
This is a convenience which creates an instance of the
ListDnsViewsRequest.Builderavoiding the need to create one manually viaListDnsViewsRequest.builder()- Parameters:
listDnsViewsRequest- AConsumerthat will call methods onListDnsViewsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomainLists
default ListFirewallDomainListsResponse listFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.
- Parameters:
listFirewallDomainListsRequest-- Returns:
- Result of the ListFirewallDomainLists operation returned by the service.
- See Also:
-
listFirewallDomainLists
default ListFirewallDomainListsResponse listFirewallDomainLists(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.
This is a convenience which creates an instance of the
ListFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListFirewallDomainListsRequest.builder()- Parameters:
listFirewallDomainListsRequest- AConsumerthat will call methods onListFirewallDomainListsRequest.Builderto create a request.- Returns:
- Result of the ListFirewallDomainLists operation returned by the service.
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsIterable listFirewallDomainListsPaginator(ListFirewallDomainListsRequest listFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsIterable responses = client .listFirewallDomainListsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.- Parameters:
listFirewallDomainListsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsIterable listFirewallDomainListsPaginator(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsIterable responses = client .listFirewallDomainListsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.
This is a convenience which creates an instance of the
ListFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListFirewallDomainListsRequest.builder()- Parameters:
listFirewallDomainListsRequest- AConsumerthat will call methods onListFirewallDomainListsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomains
default ListFirewallDomainsResponse listFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all the domains in DNS Firewall domain list you have created.
- Parameters:
listFirewallDomainsRequest-- Returns:
- Result of the ListFirewallDomains operation returned by the service.
- See Also:
-
listFirewallDomains
default ListFirewallDomainsResponse listFirewallDomains(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all the domains in DNS Firewall domain list you have created.
This is a convenience which creates an instance of the
ListFirewallDomainsRequest.Builderavoiding the need to create one manually viaListFirewallDomainsRequest.builder()- Parameters:
listFirewallDomainsRequest- AConsumerthat will call methods onListFirewallDomainsRequest.Builderto create a request.- Returns:
- Result of the ListFirewallDomains operation returned by the service.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsIterable listFirewallDomainsPaginator(ListFirewallDomainsRequest listFirewallDomainsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsIterable responses = client .listFirewallDomainsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.- Parameters:
listFirewallDomainsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsIterable listFirewallDomainsPaginator(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsIterable responses = client .listFirewallDomainsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.
This is a convenience which creates an instance of the
ListFirewallDomainsRequest.Builderavoiding the need to create one manually viaListFirewallDomainsRequest.builder()- Parameters:
listFirewallDomainsRequest- AConsumerthat will call methods onListFirewallDomainsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRules
default ListFirewallRulesResponse listFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all DNS firewall rules for a DNS view with pagination support.
- Parameters:
listFirewallRulesRequest-- Returns:
- Result of the ListFirewallRules operation returned by the service.
- See Also:
-
listFirewallRules
default ListFirewallRulesResponse listFirewallRules(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all DNS firewall rules for a DNS view with pagination support.
This is a convenience which creates an instance of the
ListFirewallRulesRequest.Builderavoiding the need to create one manually viaListFirewallRulesRequest.builder()- Parameters:
listFirewallRulesRequest- AConsumerthat will call methods onListFirewallRulesRequest.Builderto create a request.- Returns:
- Result of the ListFirewallRules operation returned by the service.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesIterable listFirewallRulesPaginator(ListFirewallRulesRequest listFirewallRulesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesIterable responses = client .listFirewallRulesPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.- Parameters:
listFirewallRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesIterable listFirewallRulesPaginator(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesIterable responses = client .listFirewallRulesPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.
This is a convenience which creates an instance of the
ListFirewallRulesRequest.Builderavoiding the need to create one manually viaListFirewallRulesRequest.builder()- Parameters:
listFirewallRulesRequest- AConsumerthat will call methods onListFirewallRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGlobalResolvers
default ListGlobalResolversResponse listGlobalResolvers(ListGlobalResolversRequest listGlobalResolversRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all Route 53 Global Resolver instances in your account with pagination support.
- Parameters:
listGlobalResolversRequest-- Returns:
- Result of the ListGlobalResolvers operation returned by the service.
- See Also:
-
listGlobalResolvers
default ListGlobalResolversResponse listGlobalResolvers(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all Route 53 Global Resolver instances in your account with pagination support.
This is a convenience which creates an instance of the
ListGlobalResolversRequest.Builderavoiding the need to create one manually viaListGlobalResolversRequest.builder()- Parameters:
listGlobalResolversRequest- AConsumerthat will call methods onListGlobalResolversRequest.Builderto create a request.- Returns:
- Result of the ListGlobalResolvers operation returned by the service.
- See Also:
-
listGlobalResolversPaginator
default ListGlobalResolversIterable listGlobalResolversPaginator(ListGlobalResolversRequest listGlobalResolversRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversIterable responses = client.listGlobalResolversPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversIterable responses = client .listGlobalResolversPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversIterable responses = client.listGlobalResolversPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.- Parameters:
listGlobalResolversRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listGlobalResolversPaginator
default ListGlobalResolversIterable listGlobalResolversPaginator(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversIterable responses = client.listGlobalResolversPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversIterable responses = client .listGlobalResolversPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversIterable responses = client.listGlobalResolversPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.
This is a convenience which creates an instance of the
ListGlobalResolversRequest.Builderavoiding the need to create one manually viaListGlobalResolversRequest.builder()- Parameters:
listGlobalResolversRequest- AConsumerthat will call methods onListGlobalResolversRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listHostedZoneAssociations
default ListHostedZoneAssociationsResponse listHostedZoneAssociations(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.
- Parameters:
listHostedZoneAssociationsRequest-- Returns:
- Result of the ListHostedZoneAssociations operation returned by the service.
- See Also:
-
listHostedZoneAssociations
default ListHostedZoneAssociationsResponse listHostedZoneAssociations(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.
This is a convenience which creates an instance of the
ListHostedZoneAssociationsRequest.Builderavoiding the need to create one manually viaListHostedZoneAssociationsRequest.builder()- Parameters:
listHostedZoneAssociationsRequest- AConsumerthat will call methods onListHostedZoneAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListHostedZoneAssociations operation returned by the service.
- See Also:
-
listHostedZoneAssociationsPaginator
default ListHostedZoneAssociationsIterable listHostedZoneAssociationsPaginator(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsIterable responses = client.listHostedZoneAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsIterable responses = client .listHostedZoneAssociationsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsIterable responses = client.listHostedZoneAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.- Parameters:
listHostedZoneAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listHostedZoneAssociationsPaginator
default ListHostedZoneAssociationsIterable listHostedZoneAssociationsPaginator(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsIterable responses = client.listHostedZoneAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsIterable responses = client .listHostedZoneAssociationsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsIterable responses = client.listHostedZoneAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListHostedZoneAssociationsRequest.Builderavoiding the need to create one manually viaListHostedZoneAssociationsRequest.builder()- Parameters:
listHostedZoneAssociationsRequest- AConsumerthat will call methods onListHostedZoneAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedFirewallDomainLists
default ListManagedFirewallDomainListsResponse listManagedFirewallDomainLists(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall. The categories are either
THREATorCONTENT.- Parameters:
listManagedFirewallDomainListsRequest-- Returns:
- Result of the ListManagedFirewallDomainLists operation returned by the service.
- See Also:
-
listManagedFirewallDomainLists
default ListManagedFirewallDomainListsResponse listManagedFirewallDomainLists(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall. The categories are either
THREATorCONTENT.
This is a convenience which creates an instance of the
ListManagedFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListManagedFirewallDomainListsRequest.builder()- Parameters:
listManagedFirewallDomainListsRequest- AConsumerthat will call methods onListManagedFirewallDomainListsRequest.Builderto create a request.- Returns:
- Result of the ListManagedFirewallDomainLists operation returned by the service.
- See Also:
-
listManagedFirewallDomainListsPaginator
default ListManagedFirewallDomainListsIterable listManagedFirewallDomainListsPaginator(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsIterable responses = client.listManagedFirewallDomainListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsIterable responses = client .listManagedFirewallDomainListsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsIterable responses = client.listManagedFirewallDomainListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation.- Parameters:
listManagedFirewallDomainListsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedFirewallDomainListsPaginator
default ListManagedFirewallDomainListsIterable listManagedFirewallDomainListsPaginator(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53GlobalResolverException This is a variant of
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsIterable responses = client.listManagedFirewallDomainListsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsIterable responses = client .listManagedFirewallDomainListsPaginator(request); for (software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsIterable responses = client.listManagedFirewallDomainListsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation.
This is a convenience which creates an instance of the
ListManagedFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListManagedFirewallDomainListsRequest.builder()- Parameters:
listManagedFirewallDomainListsRequest- AConsumerthat will call methods onListManagedFirewallDomainListsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists the tags associated with a Route 53 Global Resolver resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Lists the tags associated with a Route 53 Global Resolver resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Adds or updates tags for a Route 53 Global Resolver resource. Tags are key-value pairs that help you organize and identify your resources.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Adds or updates tags for a Route 53 Global Resolver resource. Tags are key-value pairs that help you organize and identify your resources.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Removes tags from a Route 53 Global Resolver resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Removes tags from a Route 53 Global Resolver resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAccessSource
default UpdateAccessSourceResponse updateAccessSource(UpdateAccessSourceRequest updateAccessSourceRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of an access source.
- Parameters:
updateAccessSourceRequest-- Returns:
- Result of the UpdateAccessSource operation returned by the service.
- See Also:
-
updateAccessSource
default UpdateAccessSourceResponse updateAccessSource(Consumer<UpdateAccessSourceRequest.Builder> updateAccessSourceRequest) throws InternalServerException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of an access source.
This is a convenience which creates an instance of the
UpdateAccessSourceRequest.Builderavoiding the need to create one manually viaUpdateAccessSourceRequest.builder()- Parameters:
updateAccessSourceRequest- AConsumerthat will call methods onUpdateAccessSourceRequest.Builderto create a request.- Returns:
- Result of the UpdateAccessSource operation returned by the service.
- See Also:
-
updateAccessToken
default UpdateAccessTokenResponse updateAccessToken(UpdateAccessTokenRequest updateAccessTokenRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of an access token.
- Parameters:
updateAccessTokenRequest-- Returns:
- Result of the UpdateAccessToken operation returned by the service.
- See Also:
-
updateAccessToken
default UpdateAccessTokenResponse updateAccessToken(Consumer<UpdateAccessTokenRequest.Builder> updateAccessTokenRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of an access token.
This is a convenience which creates an instance of the
UpdateAccessTokenRequest.Builderavoiding the need to create one manually viaUpdateAccessTokenRequest.builder()- Parameters:
updateAccessTokenRequest- AConsumerthat will call methods onUpdateAccessTokenRequest.Builderto create a request.- Returns:
- Result of the UpdateAccessToken operation returned by the service.
- See Also:
-
updateDNSView
default UpdateDnsViewResponse updateDNSView(UpdateDnsViewRequest updateDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a DNS view.
- Parameters:
updateDnsViewRequest-- Returns:
- Result of the UpdateDNSView operation returned by the service.
- See Also:
-
updateDNSView
default UpdateDnsViewResponse updateDNSView(Consumer<UpdateDnsViewRequest.Builder> updateDnsViewRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a DNS view.
This is a convenience which creates an instance of the
UpdateDnsViewRequest.Builderavoiding the need to create one manually viaUpdateDnsViewRequest.builder()- Parameters:
updateDnsViewRequest- AConsumerthat will call methods onUpdateDnsViewRequest.Builderto create a request.- Returns:
- Result of the UpdateDNSView operation returned by the service.
- See Also:
-
updateFirewallDomains
default UpdateFirewallDomainsResponse updateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates a DNS Firewall domain list from an array of specified domains.
- Parameters:
updateFirewallDomainsRequest-- Returns:
- Result of the UpdateFirewallDomains operation returned by the service.
- See Also:
-
updateFirewallDomains
default UpdateFirewallDomainsResponse updateFirewallDomains(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates a DNS Firewall domain list from an array of specified domains.
This is a convenience which creates an instance of the
UpdateFirewallDomainsRequest.Builderavoiding the need to create one manually viaUpdateFirewallDomainsRequest.builder()- Parameters:
updateFirewallDomainsRequest- AConsumerthat will call methods onUpdateFirewallDomainsRequest.Builderto create a request.- Returns:
- Result of the UpdateFirewallDomains operation returned by the service.
- See Also:
-
updateFirewallRule
default UpdateFirewallRuleResponse updateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a DNS firewall rule.
- Parameters:
updateFirewallRuleRequest-- Returns:
- Result of the UpdateFirewallRule operation returned by the service.
- See Also:
-
updateFirewallRule
default UpdateFirewallRuleResponse updateFirewallRule(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a DNS firewall rule.
This is a convenience which creates an instance of the
UpdateFirewallRuleRequest.Builderavoiding the need to create one manually viaUpdateFirewallRuleRequest.builder()- Parameters:
updateFirewallRuleRequest- AConsumerthat will call methods onUpdateFirewallRuleRequest.Builderto create a request.- Returns:
- Result of the UpdateFirewallRule operation returned by the service.
- See Also:
-
updateGlobalResolver
default UpdateGlobalResolverResponse updateGlobalResolver(UpdateGlobalResolverRequest updateGlobalResolverRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a Route 53 Global Resolver instance. You can modify the name, description, and observability region.
- Parameters:
updateGlobalResolverRequest-- Returns:
- Result of the UpdateGlobalResolver operation returned by the service.
- See Also:
-
updateGlobalResolver
default UpdateGlobalResolverResponse updateGlobalResolver(Consumer<UpdateGlobalResolverRequest.Builder> updateGlobalResolverRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a Route 53 Global Resolver instance. You can modify the name, description, and observability region.
This is a convenience which creates an instance of the
UpdateGlobalResolverRequest.Builderavoiding the need to create one manually viaUpdateGlobalResolverRequest.builder()- Parameters:
updateGlobalResolverRequest- AConsumerthat will call methods onUpdateGlobalResolverRequest.Builderto create a request.- Returns:
- Result of the UpdateGlobalResolver operation returned by the service.
- See Also:
-
updateHostedZoneAssociation
default UpdateHostedZoneAssociationResponse updateHostedZoneAssociation(UpdateHostedZoneAssociationRequest updateHostedZoneAssociationRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a hosted zone association.
- Parameters:
updateHostedZoneAssociationRequest-- Returns:
- Result of the UpdateHostedZoneAssociation operation returned by the service.
- See Also:
-
updateHostedZoneAssociation
default UpdateHostedZoneAssociationResponse updateHostedZoneAssociation(Consumer<UpdateHostedZoneAssociationRequest.Builder> updateHostedZoneAssociationRequest) throws InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53GlobalResolverException Updates the configuration of a hosted zone association.
This is a convenience which creates an instance of the
UpdateHostedZoneAssociationRequest.Builderavoiding the need to create one manually viaUpdateHostedZoneAssociationRequest.builder()- Parameters:
updateHostedZoneAssociationRequest- AConsumerthat will call methods onUpdateHostedZoneAssociationRequest.Builderto create a request.- Returns:
- Result of the UpdateHostedZoneAssociation operation returned by the service.
- See Also:
-
create
Create aRoute53GlobalResolverClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aRoute53GlobalResolverClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-