@Generated(value="OracleSDKGenerator", comments="API Version: 20230501") public class NetworkFirewallAsyncClient extends BaseAsyncClient implements NetworkFirewallAsync
Async client implementation for NetworkFirewall service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an 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.
2. Use Java Future: using Java Future, developers need to close the stream after they are done
with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or
the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
whether or not the request was completed via Future.isDone/isCancelled.
Please refer to
https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
Modifier and Type | Class and Description |
---|---|
static class |
NetworkFirewallAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for NetworkFirewall.
|
Constructor and Description |
---|
NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for NetworkFirewall.
public final String clientCommonLibraryVersion
@Deprecated public NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see NetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see NetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see NetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see NetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see NetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see NetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see NetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
public static NetworkFirewallAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
NetworkFirewallAsync
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.
setRegion
in interface NetworkFirewallAsync
region
- The region of the service.public void setRegion(String regionId)
NetworkFirewallAsync
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
.
setRegion
in interface NetworkFirewallAsync
regionId
- The public region ID.public Future<ApplyNetworkFirewallPolicyResponse> applyNetworkFirewallPolicy(ApplyNetworkFirewallPolicyRequest request, AsyncHandler<ApplyNetworkFirewallPolicyRequest,ApplyNetworkFirewallPolicyResponse> handler)
NetworkFirewallAsync
Applies the candidate version of the NetworkFirewallPolicy resource. When provided, If-Match is checked against ETag values of the resource.
applyNetworkFirewallPolicy
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadAddressListsResponse> bulkUploadAddressLists(BulkUploadAddressListsRequest request, AsyncHandler<BulkUploadAddressListsRequest,BulkUploadAddressListsResponse> handler)
NetworkFirewallAsync
Creates a new Address Lists at bulk for the Network Firewall Policy.
bulkUploadAddressLists
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadApplicationGroupsResponse> bulkUploadApplicationGroups(BulkUploadApplicationGroupsRequest request, AsyncHandler<BulkUploadApplicationGroupsRequest,BulkUploadApplicationGroupsResponse> handler)
NetworkFirewallAsync
Creates a new Application Group at bulk for the Network Firewall Policy.
bulkUploadApplicationGroups
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadApplicationsResponse> bulkUploadApplications(BulkUploadApplicationsRequest request, AsyncHandler<BulkUploadApplicationsRequest,BulkUploadApplicationsResponse> handler)
NetworkFirewallAsync
Creates new Applications at bulk for the Network Firewall Policy.
bulkUploadApplications
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadDecryptionProfilesResponse> bulkUploadDecryptionProfiles(BulkUploadDecryptionProfilesRequest request, AsyncHandler<BulkUploadDecryptionProfilesRequest,BulkUploadDecryptionProfilesResponse> handler)
NetworkFirewallAsync
Creates new Decryption Profiles at bulk for the Network Firewall Policy.
bulkUploadDecryptionProfiles
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadDecryptionRulesResponse> bulkUploadDecryptionRules(BulkUploadDecryptionRulesRequest request, AsyncHandler<BulkUploadDecryptionRulesRequest,BulkUploadDecryptionRulesResponse> handler)
NetworkFirewallAsync
Creates Decryption Rules at bulk for the Network Firewall Policy.
bulkUploadDecryptionRules
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadMappedSecretsResponse> bulkUploadMappedSecrets(BulkUploadMappedSecretsRequest request, AsyncHandler<BulkUploadMappedSecretsRequest,BulkUploadMappedSecretsResponse> handler)
NetworkFirewallAsync
Creates new Mapped Secrets at bulk for the Network Firewall Policy.
bulkUploadMappedSecrets
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadSecurityRulesResponse> bulkUploadSecurityRules(BulkUploadSecurityRulesRequest request, AsyncHandler<BulkUploadSecurityRulesRequest,BulkUploadSecurityRulesResponse> handler)
NetworkFirewallAsync
Creates a new Security Rule at bulk for the Network Firewall Policy.
bulkUploadSecurityRules
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadServiceListsResponse> bulkUploadServiceLists(BulkUploadServiceListsRequest request, AsyncHandler<BulkUploadServiceListsRequest,BulkUploadServiceListsResponse> handler)
NetworkFirewallAsync
Creates a new Service List at bulk for the Network Firewall Policy.
bulkUploadServiceLists
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadServicesResponse> bulkUploadServices(BulkUploadServicesRequest request, AsyncHandler<BulkUploadServicesRequest,BulkUploadServicesResponse> handler)
NetworkFirewallAsync
Creates new Services at bulk for the Network Firewall Policy.
bulkUploadServices
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadTunnelInspectionRulesResponse> bulkUploadTunnelInspectionRules(BulkUploadTunnelInspectionRulesRequest request, AsyncHandler<BulkUploadTunnelInspectionRulesRequest,BulkUploadTunnelInspectionRulesResponse> handler)
NetworkFirewallAsync
Creates a new Tunnel Inspection Rule at bulk for the Network Firewall Policy.
bulkUploadTunnelInspectionRules
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkUploadUrlListsResponse> bulkUploadUrlLists(BulkUploadUrlListsRequest request, AsyncHandler<BulkUploadUrlListsRequest,BulkUploadUrlListsResponse> handler)
NetworkFirewallAsync
Creates a new Url Lists at bulk for the Network Firewall Policy.
bulkUploadUrlLists
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
NetworkFirewallAsync
Cancel work request with the given ID.
cancelWorkRequest
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeNetworkFirewallCompartmentResponse> changeNetworkFirewallCompartment(ChangeNetworkFirewallCompartmentRequest request, AsyncHandler<ChangeNetworkFirewallCompartmentRequest,ChangeNetworkFirewallCompartmentResponse> handler)
NetworkFirewallAsync
Moves a NetworkFirewall resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeNetworkFirewallCompartment
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeNetworkFirewallPolicyCompartmentResponse> changeNetworkFirewallPolicyCompartment(ChangeNetworkFirewallPolicyCompartmentRequest request, AsyncHandler<ChangeNetworkFirewallPolicyCompartmentRequest,ChangeNetworkFirewallPolicyCompartmentResponse> handler)
NetworkFirewallAsync
Moves a NetworkFirewallPolicy resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeNetworkFirewallPolicyCompartment
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CloneNetworkFirewallPolicyResponse> cloneNetworkFirewallPolicy(CloneNetworkFirewallPolicyRequest request, AsyncHandler<CloneNetworkFirewallPolicyRequest,CloneNetworkFirewallPolicyResponse> handler)
NetworkFirewallAsync
Moves a NetworkFirewallPolicy resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
cloneNetworkFirewallPolicy
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateAddressListResponse> createAddressList(CreateAddressListRequest request, AsyncHandler<CreateAddressListRequest,CreateAddressListResponse> handler)
NetworkFirewallAsync
Creates a new Address List for the Network Firewall Policy.
createAddressList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateApplicationResponse> createApplication(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResponse> handler)
NetworkFirewallAsync
Creates a new Application for the Network Firewall Policy.
createApplication
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateApplicationGroupResponse> createApplicationGroup(CreateApplicationGroupRequest request, AsyncHandler<CreateApplicationGroupRequest,CreateApplicationGroupResponse> handler)
NetworkFirewallAsync
Creates a new ApplicationGroup for the Network Firewall Policy.
createApplicationGroup
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDecryptionProfileResponse> createDecryptionProfile(CreateDecryptionProfileRequest request, AsyncHandler<CreateDecryptionProfileRequest,CreateDecryptionProfileResponse> handler)
NetworkFirewallAsync
Creates a new Decryption Profile for the Network Firewall Policy.
createDecryptionProfile
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDecryptionRuleResponse> createDecryptionRule(CreateDecryptionRuleRequest request, AsyncHandler<CreateDecryptionRuleRequest,CreateDecryptionRuleResponse> handler)
NetworkFirewallAsync
Creates a new Decryption Rule for the Network Firewall Policy.
createDecryptionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateMappedSecretResponse> createMappedSecret(CreateMappedSecretRequest request, AsyncHandler<CreateMappedSecretRequest,CreateMappedSecretResponse> handler)
NetworkFirewallAsync
Creates a new Mapped Secret for the Network Firewall Policy.
createMappedSecret
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateNetworkFirewallResponse> createNetworkFirewall(CreateNetworkFirewallRequest request, AsyncHandler<CreateNetworkFirewallRequest,CreateNetworkFirewallResponse> handler)
NetworkFirewallAsync
Creates a new NetworkFirewall.
createNetworkFirewall
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateNetworkFirewallPolicyResponse> createNetworkFirewallPolicy(CreateNetworkFirewallPolicyRequest request, AsyncHandler<CreateNetworkFirewallPolicyRequest,CreateNetworkFirewallPolicyResponse> handler)
NetworkFirewallAsync
Creates a new Network Firewall Policy.
createNetworkFirewallPolicy
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSecurityRuleResponse> createSecurityRule(CreateSecurityRuleRequest request, AsyncHandler<CreateSecurityRuleRequest,CreateSecurityRuleResponse> handler)
NetworkFirewallAsync
Creates a new Security Rule for the Network Firewall Policy.
createSecurityRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateServiceResponse> createService(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResponse> handler)
NetworkFirewallAsync
Creates a new Service for the Network Firewall Policy.
createService
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateServiceListResponse> createServiceList(CreateServiceListRequest request, AsyncHandler<CreateServiceListRequest,CreateServiceListResponse> handler)
NetworkFirewallAsync
Creates a new ServiceList for the Network Firewall Policy.
createServiceList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTunnelInspectionRuleResponse> createTunnelInspectionRule(CreateTunnelInspectionRuleRequest request, AsyncHandler<CreateTunnelInspectionRuleRequest,CreateTunnelInspectionRuleResponse> handler)
NetworkFirewallAsync
Creates a new tunnel inspection rule for the network firewall policy.
createTunnelInspectionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateUrlListResponse> createUrlList(CreateUrlListRequest request, AsyncHandler<CreateUrlListRequest,CreateUrlListResponse> handler)
NetworkFirewallAsync
Creates a new Url List for the Network Firewall Policy.
createUrlList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteAddressListResponse> deleteAddressList(DeleteAddressListRequest request, AsyncHandler<DeleteAddressListRequest,DeleteAddressListResponse> handler)
NetworkFirewallAsync
Deletes a Address List resource with the given identifier.
deleteAddressList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResponse> handler)
NetworkFirewallAsync
Deletes a Application resource with the given identifier.
deleteApplication
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteApplicationGroupResponse> deleteApplicationGroup(DeleteApplicationGroupRequest request, AsyncHandler<DeleteApplicationGroupRequest,DeleteApplicationGroupResponse> handler)
NetworkFirewallAsync
Deletes a ApplicationGroup resource with the given identifier.
deleteApplicationGroup
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDecryptionProfileResponse> deleteDecryptionProfile(DeleteDecryptionProfileRequest request, AsyncHandler<DeleteDecryptionProfileRequest,DeleteDecryptionProfileResponse> handler)
NetworkFirewallAsync
Deletes a Decryption Profile resource with the given identifier.
deleteDecryptionProfile
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDecryptionRuleResponse> deleteDecryptionRule(DeleteDecryptionRuleRequest request, AsyncHandler<DeleteDecryptionRuleRequest,DeleteDecryptionRuleResponse> handler)
NetworkFirewallAsync
Deletes a Decryption Rule resource with the given identifier.
deleteDecryptionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteMappedSecretResponse> deleteMappedSecret(DeleteMappedSecretRequest request, AsyncHandler<DeleteMappedSecretRequest,DeleteMappedSecretResponse> handler)
NetworkFirewallAsync
Deletes a Mapped Secret resource with the given identifier.
deleteMappedSecret
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteNetworkFirewallResponse> deleteNetworkFirewall(DeleteNetworkFirewallRequest request, AsyncHandler<DeleteNetworkFirewallRequest,DeleteNetworkFirewallResponse> handler)
NetworkFirewallAsync
Deletes a NetworkFirewall resource by identifier
deleteNetworkFirewall
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteNetworkFirewallPolicyResponse> deleteNetworkFirewallPolicy(DeleteNetworkFirewallPolicyRequest request, AsyncHandler<DeleteNetworkFirewallPolicyRequest,DeleteNetworkFirewallPolicyResponse> handler)
NetworkFirewallAsync
Deletes a NetworkFirewallPolicy resource with the given identifier.
deleteNetworkFirewallPolicy
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSecurityRuleResponse> deleteSecurityRule(DeleteSecurityRuleRequest request, AsyncHandler<DeleteSecurityRuleRequest,DeleteSecurityRuleResponse> handler)
NetworkFirewallAsync
Deletes a Security Rule resource with the given identifier.
deleteSecurityRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteServiceResponse> deleteService(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResponse> handler)
NetworkFirewallAsync
Deletes a Service resource with the given identifier.
deleteService
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteServiceListResponse> deleteServiceList(DeleteServiceListRequest request, AsyncHandler<DeleteServiceListRequest,DeleteServiceListResponse> handler)
NetworkFirewallAsync
Deletes a ServiceList resource with the given identifier.
deleteServiceList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTunnelInspectionRuleResponse> deleteTunnelInspectionRule(DeleteTunnelInspectionRuleRequest request, AsyncHandler<DeleteTunnelInspectionRuleRequest,DeleteTunnelInspectionRuleResponse> handler)
NetworkFirewallAsync
Deletes a tunnel inspection rule resource with the given identifier.
deleteTunnelInspectionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteUrlListResponse> deleteUrlList(DeleteUrlListRequest request, AsyncHandler<DeleteUrlListRequest,DeleteUrlListResponse> handler)
NetworkFirewallAsync
Deletes a Url List resource with the given identifier.
deleteUrlList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAddressListResponse> getAddressList(GetAddressListRequest request, AsyncHandler<GetAddressListRequest,GetAddressListResponse> handler)
NetworkFirewallAsync
Get Address List by the given name in the context of network firewall policy.
getAddressList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetApplicationResponse> getApplication(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResponse> handler)
NetworkFirewallAsync
Get Application by the given name in the context of network firewall policy.
getApplication
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetApplicationGroupResponse> getApplicationGroup(GetApplicationGroupRequest request, AsyncHandler<GetApplicationGroupRequest,GetApplicationGroupResponse> handler)
NetworkFirewallAsync
Get ApplicationGroup by the given name in the context of network firewall policy.
getApplicationGroup
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDecryptionProfileResponse> getDecryptionProfile(GetDecryptionProfileRequest request, AsyncHandler<GetDecryptionProfileRequest,GetDecryptionProfileResponse> handler)
NetworkFirewallAsync
Get Decryption Profile by the given name in the context of network firewall policy.
getDecryptionProfile
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDecryptionRuleResponse> getDecryptionRule(GetDecryptionRuleRequest request, AsyncHandler<GetDecryptionRuleRequest,GetDecryptionRuleResponse> handler)
NetworkFirewallAsync
Get Decryption Rule by the given name in the context of network firewall policy.
getDecryptionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetMappedSecretResponse> getMappedSecret(GetMappedSecretRequest request, AsyncHandler<GetMappedSecretRequest,GetMappedSecretResponse> handler)
NetworkFirewallAsync
Get Mapped Secret by the given name in the context of network firewall policy.
getMappedSecret
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNetworkFirewallResponse> getNetworkFirewall(GetNetworkFirewallRequest request, AsyncHandler<GetNetworkFirewallRequest,GetNetworkFirewallResponse> handler)
NetworkFirewallAsync
Gets a NetworkFirewall by identifier
getNetworkFirewall
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNetworkFirewallPolicyResponse> getNetworkFirewallPolicy(GetNetworkFirewallPolicyRequest request, AsyncHandler<GetNetworkFirewallPolicyRequest,GetNetworkFirewallPolicyResponse> handler)
NetworkFirewallAsync
Gets a NetworkFirewallPolicy given the network firewall policy identifier.
getNetworkFirewallPolicy
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityRuleResponse> getSecurityRule(GetSecurityRuleRequest request, AsyncHandler<GetSecurityRuleRequest,GetSecurityRuleResponse> handler)
NetworkFirewallAsync
Get Security Rule by the given name in the context of network firewall policy.
getSecurityRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetServiceResponse> getService(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResponse> handler)
NetworkFirewallAsync
Get Service by the given name in the context of network firewall policy.
getService
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetServiceListResponse> getServiceList(GetServiceListRequest request, AsyncHandler<GetServiceListRequest,GetServiceListResponse> handler)
NetworkFirewallAsync
Get ServiceList by the given name in the context of network firewall policy.
getServiceList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTunnelInspectionRuleResponse> getTunnelInspectionRule(GetTunnelInspectionRuleRequest request, AsyncHandler<GetTunnelInspectionRuleRequest,GetTunnelInspectionRuleResponse> handler)
NetworkFirewallAsync
Get tunnel inspection rule by the given name in the context of network firewall policy.
getTunnelInspectionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetUrlListResponse> getUrlList(GetUrlListRequest request, AsyncHandler<GetUrlListRequest,GetUrlListResponse> handler)
NetworkFirewallAsync
Get Url List by the given name in the context of network firewall policy.
getUrlList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
NetworkFirewallAsync
Gets the status of the work request with the given ID.
getWorkRequest
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAddressListsResponse> listAddressLists(ListAddressListsRequest request, AsyncHandler<ListAddressListsRequest,ListAddressListsResponse> handler)
NetworkFirewallAsync
Returns a list of Network Firewall Policies.
listAddressLists
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListApplicationGroupsResponse> listApplicationGroups(ListApplicationGroupsRequest request, AsyncHandler<ListApplicationGroupsRequest,ListApplicationGroupsResponse> handler)
NetworkFirewallAsync
Returns a list of ApplicationGroups for the policy.
listApplicationGroups
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListApplicationsResponse> listApplications(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResponse> handler)
NetworkFirewallAsync
Returns a list of Applications for the policy.
listApplications
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDecryptionProfilesResponse> listDecryptionProfiles(ListDecryptionProfilesRequest request, AsyncHandler<ListDecryptionProfilesRequest,ListDecryptionProfilesResponse> handler)
NetworkFirewallAsync
Returns a list of Decryption Profile for the Network Firewall Policy.
listDecryptionProfiles
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDecryptionRulesResponse> listDecryptionRules(ListDecryptionRulesRequest request, AsyncHandler<ListDecryptionRulesRequest,ListDecryptionRulesResponse> handler)
NetworkFirewallAsync
Returns a list of Decryption Rule for the Network Firewall Policy.
listDecryptionRules
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMappedSecretsResponse> listMappedSecrets(ListMappedSecretsRequest request, AsyncHandler<ListMappedSecretsRequest,ListMappedSecretsResponse> handler)
NetworkFirewallAsync
Returns a list of Mapped Secret for the Network Firewall Policy.
listMappedSecrets
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNetworkFirewallPoliciesResponse> listNetworkFirewallPolicies(ListNetworkFirewallPoliciesRequest request, AsyncHandler<ListNetworkFirewallPoliciesRequest,ListNetworkFirewallPoliciesResponse> handler)
NetworkFirewallAsync
Returns a list of Network Firewall Policies.
listNetworkFirewallPolicies
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNetworkFirewallsResponse> listNetworkFirewalls(ListNetworkFirewallsRequest request, AsyncHandler<ListNetworkFirewallsRequest,ListNetworkFirewallsResponse> handler)
NetworkFirewallAsync
Returns a list of NetworkFirewalls.
listNetworkFirewalls
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityRulesResponse> listSecurityRules(ListSecurityRulesRequest request, AsyncHandler<ListSecurityRulesRequest,ListSecurityRulesResponse> handler)
NetworkFirewallAsync
Returns a list of Security Rule for the Network Firewall Policy.
listSecurityRules
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListServiceListsResponse> listServiceLists(ListServiceListsRequest request, AsyncHandler<ListServiceListsRequest,ListServiceListsResponse> handler)
NetworkFirewallAsync
Returns a list of ServiceLists for the policy.
listServiceLists
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListServicesResponse> listServices(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResponse> handler)
NetworkFirewallAsync
Returns a list of Services for the policy.
listServices
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTunnelInspectionRulesResponse> listTunnelInspectionRules(ListTunnelInspectionRulesRequest request, AsyncHandler<ListTunnelInspectionRulesRequest,ListTunnelInspectionRulesResponse> handler)
NetworkFirewallAsync
Returns a list of tunnel inspection rules for the network firewall policy.
listTunnelInspectionRules
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUrlListsResponse> listUrlLists(ListUrlListsRequest request, AsyncHandler<ListUrlListsRequest,ListUrlListsResponse> handler)
NetworkFirewallAsync
Returns a list of URL lists for the Network Firewall Policy.
listUrlLists
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
NetworkFirewallAsync
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
NetworkFirewallAsync
Return a (paginated) list of logs for a given work request.
listWorkRequestLogs
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
NetworkFirewallAsync
Lists the work requests in a compartment.
listWorkRequests
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<MigrateNetworkFirewallPolicyResponse> migrateNetworkFirewallPolicy(MigrateNetworkFirewallPolicyRequest request, AsyncHandler<MigrateNetworkFirewallPolicyRequest,MigrateNetworkFirewallPolicyResponse> handler)
NetworkFirewallAsync
Moves a NetworkFirewallPolicy resource from one version to latest version. When provided, If-Match is checked against ETag values of the resource.
migrateNetworkFirewallPolicy
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAddressListResponse> updateAddressList(UpdateAddressListRequest request, AsyncHandler<UpdateAddressListRequest,UpdateAddressListResponse> handler)
NetworkFirewallAsync
Updates the Address list with the given name in the network firewall policy.
updateAddressList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResponse> handler)
NetworkFirewallAsync
Updates the Application with the given name in the network firewall policy.
updateApplication
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateApplicationGroupResponse> updateApplicationGroup(UpdateApplicationGroupRequest request, AsyncHandler<UpdateApplicationGroupRequest,UpdateApplicationGroupResponse> handler)
NetworkFirewallAsync
Updates the ApplicationGroup with the given name in the network firewall policy.
updateApplicationGroup
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDecryptionProfileResponse> updateDecryptionProfile(UpdateDecryptionProfileRequest request, AsyncHandler<UpdateDecryptionProfileRequest,UpdateDecryptionProfileResponse> handler)
NetworkFirewallAsync
Updates the Decryption Profile with the given name in the network firewall policy.
updateDecryptionProfile
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDecryptionRuleResponse> updateDecryptionRule(UpdateDecryptionRuleRequest request, AsyncHandler<UpdateDecryptionRuleRequest,UpdateDecryptionRuleResponse> handler)
NetworkFirewallAsync
Updates the Decryption Rule with the given name in the network firewall policy.
updateDecryptionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateMappedSecretResponse> updateMappedSecret(UpdateMappedSecretRequest request, AsyncHandler<UpdateMappedSecretRequest,UpdateMappedSecretResponse> handler)
NetworkFirewallAsync
Updates the Mapped Secret with the given name in the network firewall policy.
updateMappedSecret
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateNetworkFirewallResponse> updateNetworkFirewall(UpdateNetworkFirewallRequest request, AsyncHandler<UpdateNetworkFirewallRequest,UpdateNetworkFirewallResponse> handler)
NetworkFirewallAsync
Updates the NetworkFirewall
updateNetworkFirewall
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateNetworkFirewallPolicyResponse> updateNetworkFirewallPolicy(UpdateNetworkFirewallPolicyRequest request, AsyncHandler<UpdateNetworkFirewallPolicyRequest,UpdateNetworkFirewallPolicyResponse> handler)
NetworkFirewallAsync
Updates the NetworkFirewallPolicy
updateNetworkFirewallPolicy
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSecurityRuleResponse> updateSecurityRule(UpdateSecurityRuleRequest request, AsyncHandler<UpdateSecurityRuleRequest,UpdateSecurityRuleResponse> handler)
NetworkFirewallAsync
Updates the Security Rule with the given name in the network firewall policy.
updateSecurityRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateServiceResponse> updateService(UpdateServiceRequest request, AsyncHandler<UpdateServiceRequest,UpdateServiceResponse> handler)
NetworkFirewallAsync
Updates the Service with the given name in the network firewall policy.
updateService
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateServiceListResponse> updateServiceList(UpdateServiceListRequest request, AsyncHandler<UpdateServiceListRequest,UpdateServiceListResponse> handler)
NetworkFirewallAsync
Updates the ServiceList with the given name in the network firewall policy.
updateServiceList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTunnelInspectionRuleResponse> updateTunnelInspectionRule(UpdateTunnelInspectionRuleRequest request, AsyncHandler<UpdateTunnelInspectionRuleRequest,UpdateTunnelInspectionRuleResponse> handler)
NetworkFirewallAsync
Updates the tunnel inspection rule with the given name in the network firewall policy.
updateTunnelInspectionRule
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateUrlListResponse> updateUrlList(UpdateUrlListRequest request, AsyncHandler<UpdateUrlListRequest,UpdateUrlListResponse> handler)
NetworkFirewallAsync
Updates the Url list with the given name in the network firewall policy.
updateUrlList
in interface NetworkFirewallAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.