@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public class DnsAsyncClient extends Object implements DnsAsync
Async client implementation for Dns service.
There are two ways to use async client:
InputStream
, like
getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else,
because the stream will be closed right after the AsyncHandler is invoked. Modifier and Type | Class and Description |
---|---|
static class |
DnsAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
static Service |
SERVICE
Service instance for Dns.
|
Constructor and Description |
---|
DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
DnsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
DnsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
DnsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
public static final Service SERVICE
Service instance for Dns.
public DnsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider
- The authentication details provider, required.public DnsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.public DnsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.public DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.public DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)public DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)public DnsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)restClientFactoryBuilder
- the builder for the RestClientFactory
public static DnsAsyncClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
DnsAsync
Sets the endpoint to call (ex, https://www.example.com).
setEndpoint
in interface DnsAsync
endpoint
- The endpoint of the serice.public String getEndpoint()
DnsAsync
Gets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint
in interface DnsAsync
public void setRegion(Region region)
DnsAsync
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.
public void setRegion(String regionId)
DnsAsync
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion
.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
public void close()
close
in interface AutoCloseable
public Future<ChangeResolverCompartmentResponse> changeResolverCompartment(ChangeResolverCompartmentRequest request, AsyncHandler<ChangeResolverCompartmentRequest,ChangeResolverCompartmentResponse> handler)
DnsAsync
Moves a resolver into a different compartment along with its protected default view and any endpoints. Zones in the default view are not moved.
changeResolverCompartment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSteeringPolicyCompartmentResponse> changeSteeringPolicyCompartment(ChangeSteeringPolicyCompartmentRequest request, AsyncHandler<ChangeSteeringPolicyCompartmentRequest,ChangeSteeringPolicyCompartmentResponse> handler)
DnsAsync
Moves a steering policy into a different compartment.
changeSteeringPolicyCompartment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeTsigKeyCompartmentResponse> changeTsigKeyCompartment(ChangeTsigKeyCompartmentRequest request, AsyncHandler<ChangeTsigKeyCompartmentRequest,ChangeTsigKeyCompartmentResponse> handler)
DnsAsync
Moves a TSIG key into a different compartment.
changeTsigKeyCompartment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeViewCompartmentResponse> changeViewCompartment(ChangeViewCompartmentRequest request, AsyncHandler<ChangeViewCompartmentRequest,ChangeViewCompartmentResponse> handler)
DnsAsync
Moves a view into a different compartment. Protected views cannot have their compartment changed.
changeViewCompartment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeZoneCompartmentResponse> changeZoneCompartment(ChangeZoneCompartmentRequest request, AsyncHandler<ChangeZoneCompartmentRequest,ChangeZoneCompartmentResponse> handler)
DnsAsync
Moves a zone into a different compartment. Protected zones cannot have their compartment changed.
Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
changeZoneCompartment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateResolverEndpointResponse> createResolverEndpoint(CreateResolverEndpointRequest request, AsyncHandler<CreateResolverEndpointRequest,CreateResolverEndpointResponse> handler)
DnsAsync
Creates a new resolver endpoint.
createResolverEndpoint
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSteeringPolicyResponse> createSteeringPolicy(CreateSteeringPolicyRequest request, AsyncHandler<CreateSteeringPolicyRequest,CreateSteeringPolicyResponse> handler)
DnsAsync
Creates a new steering policy in the specified compartment. For more information on creating policies with templates, see Traffic Management API Guide.
createSteeringPolicy
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSteeringPolicyAttachmentResponse> createSteeringPolicyAttachment(CreateSteeringPolicyAttachmentRequest request, AsyncHandler<CreateSteeringPolicyAttachmentRequest,CreateSteeringPolicyAttachmentResponse> handler)
DnsAsync
Creates a new attachment between a steering policy and a domain, giving the policy permission to answer queries for the specified domain. A steering policy must be attached to a domain for the policy to answer DNS queries for that domain.
For the purposes of access control, the attachment is automatically placed into the same compartment as the domain's zone.
createSteeringPolicyAttachment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTsigKeyResponse> createTsigKey(CreateTsigKeyRequest request, AsyncHandler<CreateTsigKeyRequest,CreateTsigKeyResponse> handler)
DnsAsync
Creates a new TSIG key in the specified compartment. There is no
opc-retry-token
header since TSIG key names must be globally unique.
createTsigKey
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateViewResponse> createView(CreateViewRequest request, AsyncHandler<CreateViewRequest,CreateViewResponse> handler)
DnsAsync
Creates a new view in the specified compartment.
createView
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateZoneResponse> createZone(CreateZoneRequest request, AsyncHandler<CreateZoneRequest,CreateZoneResponse> handler)
DnsAsync
Creates a new zone in the specified compartment. If the Content-Type
header for the request is text/dns
, the
compartmentId
query parameter is required. Additionally, for text/dns
, the scope
and viewId
query
parameters are required to create a private zone.
createZone
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDomainRecordsResponse> deleteDomainRecords(DeleteDomainRecordsRequest request, AsyncHandler<DeleteDomainRecordsRequest,DeleteDomainRecordsResponse> handler)
DnsAsync
Deletes all records at the specified zone and domain.
deleteDomainRecords
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteRRSetResponse> deleteRRSet(DeleteRRSetRequest request, AsyncHandler<DeleteRRSetRequest,DeleteRRSetResponse> handler)
DnsAsync
Deletes all records in the specified RRSet.
deleteRRSet
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteResolverEndpointResponse> deleteResolverEndpoint(DeleteResolverEndpointRequest request, AsyncHandler<DeleteResolverEndpointRequest,DeleteResolverEndpointResponse> handler)
DnsAsync
Deletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API. Resolver endpoints may not be deleted if they are referenced by a resolver rule.
deleteResolverEndpoint
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSteeringPolicyResponse> deleteSteeringPolicy(DeleteSteeringPolicyRequest request, AsyncHandler<DeleteSteeringPolicyRequest,DeleteSteeringPolicyResponse> handler)
DnsAsync
Deletes the specified steering policy.
A 204
response indicates that the delete has been successful.
Deletion will fail if the policy is attached to any zones. To detach a
policy from a zone, see DeleteSteeringPolicyAttachment
.
deleteSteeringPolicy
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSteeringPolicyAttachmentResponse> deleteSteeringPolicyAttachment(DeleteSteeringPolicyAttachmentRequest request, AsyncHandler<DeleteSteeringPolicyAttachmentRequest,DeleteSteeringPolicyAttachmentResponse> handler)
DnsAsync
Deletes the specified steering policy attachment.
A 204
response indicates that the delete has been successful.
deleteSteeringPolicyAttachment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTsigKeyResponse> deleteTsigKey(DeleteTsigKeyRequest request, AsyncHandler<DeleteTsigKeyRequest,DeleteTsigKeyResponse> handler)
DnsAsync
Deletes the specified TSIG key.
deleteTsigKey
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteViewResponse> deleteView(DeleteViewRequest request, AsyncHandler<DeleteViewRequest,DeleteViewResponse> handler)
DnsAsync
Deletes the specified view. Note that attempting to delete a view in the DELETED lifecycleState will result in a 404 to be consistent with other operations of the API. Views can not be deleted if they are referenced by non-deleted zones or resolvers. Protected views cannot be deleted.
deleteView
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteZoneResponse> deleteZone(DeleteZoneRequest request, AsyncHandler<DeleteZoneRequest,DeleteZoneResponse> handler)
DnsAsync
Deletes the specified zone and all its steering policy attachments.
A 204
response indicates that the zone has been successfully deleted.
Protected zones cannot be deleted.
deleteZone
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDomainRecordsResponse> getDomainRecords(GetDomainRecordsRequest request, AsyncHandler<GetDomainRecordsRequest,GetDomainRecordsResponse> handler)
DnsAsync
Gets a list of all records at the specified zone and domain.
The results are sorted by rtype
in alphabetical order by default. You
can optionally filter and/or sort the results using the listed parameters.
getDomainRecords
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetRRSetResponse> getRRSet(GetRRSetRequest request, AsyncHandler<GetRRSetRequest,GetRRSetResponse> handler)
DnsAsync
Gets a list of all records in the specified RRSet. The results are
sorted by recordHash
by default.
getRRSet
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResolverResponse> getResolver(GetResolverRequest request, AsyncHandler<GetResolverRequest,GetResolverResponse> handler)
DnsAsync
Get information about a specific resolver. Note that attempting to get a resolver in the DELETED lifecycleState will result in a 404 to be consistent with other operations of the API.
getResolver
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResolverEndpointResponse> getResolverEndpoint(GetResolverEndpointRequest request, AsyncHandler<GetResolverEndpointRequest,GetResolverEndpointResponse> handler)
DnsAsync
Get information about a specific resolver endpoint. Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
getResolverEndpoint
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSteeringPolicyResponse> getSteeringPolicy(GetSteeringPolicyRequest request, AsyncHandler<GetSteeringPolicyRequest,GetSteeringPolicyResponse> handler)
DnsAsync
Gets information about the specified steering policy.
getSteeringPolicy
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSteeringPolicyAttachmentResponse> getSteeringPolicyAttachment(GetSteeringPolicyAttachmentRequest request, AsyncHandler<GetSteeringPolicyAttachmentRequest,GetSteeringPolicyAttachmentResponse> handler)
DnsAsync
Gets information about the specified steering policy attachment.
getSteeringPolicyAttachment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTsigKeyResponse> getTsigKey(GetTsigKeyRequest request, AsyncHandler<GetTsigKeyRequest,GetTsigKeyResponse> handler)
DnsAsync
Gets information about the specified TSIG key.
getTsigKey
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetViewResponse> getView(GetViewRequest request, AsyncHandler<GetViewRequest,GetViewResponse> handler)
DnsAsync
Get information about a specific view. Note that attempting to get a view in the DELETED lifecycleState will result in a 404 to be consistent with other operations of the API.
getView
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetZoneResponse> getZone(GetZoneRequest request, AsyncHandler<GetZoneRequest,GetZoneResponse> handler)
DnsAsync
Gets information about the specified zone, including its creation date, zone type, and serial.
getZone
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetZoneRecordsResponse> getZoneRecords(GetZoneRecordsRequest request, AsyncHandler<GetZoneRecordsRequest,GetZoneRecordsResponse> handler)
DnsAsync
Gets all records in the specified zone. The results are
sorted by domain
in alphabetical order by default. For more
information about records, see Resource Record (RR) TYPEs.
getZoneRecords
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResolverEndpointsResponse> listResolverEndpoints(ListResolverEndpointsRequest request, AsyncHandler<ListResolverEndpointsRequest,ListResolverEndpointsResponse> handler)
DnsAsync
Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state. It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState query parameter is provided that the collection does not include resolver endpoints in the DELETED lifecycle state to be consistent with other operations of the API.
listResolverEndpoints
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResolversResponse> listResolvers(ListResolversRequest request, AsyncHandler<ListResolversRequest,ListResolversResponse> handler)
DnsAsync
Gets a list of all resolvers within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided that the collection does not include resolvers in the DELETED lifecycleState to be consistent with other operations of the API.
listResolvers
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSteeringPoliciesResponse> listSteeringPolicies(ListSteeringPoliciesRequest request, AsyncHandler<ListSteeringPoliciesRequest,ListSteeringPoliciesResponse> handler)
DnsAsync
Gets a list of all steering policies in the specified compartment.
listSteeringPolicies
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSteeringPolicyAttachmentsResponse> listSteeringPolicyAttachments(ListSteeringPolicyAttachmentsRequest request, AsyncHandler<ListSteeringPolicyAttachmentsRequest,ListSteeringPolicyAttachmentsResponse> handler)
DnsAsync
Lists the steering policy attachments in the specified compartment.
listSteeringPolicyAttachments
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTsigKeysResponse> listTsigKeys(ListTsigKeysRequest request, AsyncHandler<ListTsigKeysRequest,ListTsigKeysResponse> handler)
DnsAsync
Gets a list of all TSIG keys in the specified compartment.
listTsigKeys
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListViewsResponse> listViews(ListViewsRequest request, AsyncHandler<ListViewsRequest,ListViewsResponse> handler)
DnsAsync
Gets a list of all views within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided that the collection does not include views in the DELETED lifecycleState to be consistent with other operations of the API.
listViews
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListZonesResponse> listZones(ListZonesRequest request, AsyncHandler<ListZonesRequest,ListZonesResponse> handler)
DnsAsync
Gets a list of all zones in the specified compartment. The collection can be filtered by name, time created, scope, associated view, and zone type.
listZones
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchDomainRecordsResponse> patchDomainRecords(PatchDomainRecordsRequest request, AsyncHandler<PatchDomainRecordsRequest,PatchDomainRecordsResponse> handler)
DnsAsync
Updates records in the specified zone at a domain. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function.
patchDomainRecords
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchRRSetResponse> patchRRSet(PatchRRSetRequest request, AsyncHandler<PatchRRSetRequest,PatchRRSetResponse> handler)
DnsAsync
Updates records in the specified RRSet.
patchRRSet
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchZoneRecordsResponse> patchZoneRecords(PatchZoneRecordsRequest request, AsyncHandler<PatchZoneRecordsRequest,PatchZoneRecordsResponse> handler)
DnsAsync
Updates a collection of records in the specified zone. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function.
patchZoneRecords
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDomainRecordsResponse> updateDomainRecords(UpdateDomainRecordsRequest request, AsyncHandler<UpdateDomainRecordsRequest,UpdateDomainRecordsResponse> handler)
DnsAsync
Replaces records in the specified zone at a domain with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone.
updateDomainRecords
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateRRSetResponse> updateRRSet(UpdateRRSetRequest request, AsyncHandler<UpdateRRSetRequest,UpdateRRSetResponse> handler)
DnsAsync
Replaces records in the specified RRSet.
updateRRSet
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateResolverResponse> updateResolver(UpdateResolverRequest request, AsyncHandler<UpdateResolverRequest,UpdateResolverResponse> handler)
DnsAsync
Updates the specified resolver with your new information.
updateResolver
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateResolverEndpointResponse> updateResolverEndpoint(UpdateResolverEndpointRequest request, AsyncHandler<UpdateResolverEndpointRequest,UpdateResolverEndpointResponse> handler)
DnsAsync
Updates the specified resolver endpoint with your new information.
updateResolverEndpoint
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSteeringPolicyResponse> updateSteeringPolicy(UpdateSteeringPolicyRequest request, AsyncHandler<UpdateSteeringPolicyRequest,UpdateSteeringPolicyResponse> handler)
DnsAsync
Updates the configuration of the specified steering policy.
updateSteeringPolicy
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSteeringPolicyAttachmentResponse> updateSteeringPolicyAttachment(UpdateSteeringPolicyAttachmentRequest request, AsyncHandler<UpdateSteeringPolicyAttachmentRequest,UpdateSteeringPolicyAttachmentResponse> handler)
DnsAsync
Updates the specified steering policy attachment with your new information.
updateSteeringPolicyAttachment
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTsigKeyResponse> updateTsigKey(UpdateTsigKeyRequest request, AsyncHandler<UpdateTsigKeyRequest,UpdateTsigKeyResponse> handler)
DnsAsync
Updates the specified TSIG key.
updateTsigKey
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateViewResponse> updateView(UpdateViewRequest request, AsyncHandler<UpdateViewRequest,UpdateViewResponse> handler)
DnsAsync
Updates the specified view with your new information.
updateView
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateZoneResponse> updateZone(UpdateZoneRequest request, AsyncHandler<UpdateZoneRequest,UpdateZoneResponse> handler)
DnsAsync
Updates the specified secondary zone with your new external master server information. For more information about secondary zone, see Manage DNS Service Zone.
updateZone
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateZoneRecordsResponse> updateZoneRecords(UpdateZoneRecordsRequest request, AsyncHandler<UpdateZoneRecordsRequest,UpdateZoneRecordsResponse> handler)
DnsAsync
Replaces records in the specified zone with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone.
updateZoneRecords
in interface DnsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2021. All rights reserved.