Class NetworkFirewallAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.networkfirewall.NetworkFirewallAsyncClient
-
- All Implemented Interfaces:
NetworkFirewallAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20230501") public class NetworkFirewallAsyncClient extends BaseAsyncClient implements NetworkFirewallAsyncAsync 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 anInputStream, 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkFirewallAsyncClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for NetworkFirewall.
-
Constructor Summary
Constructors Constructor Description NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.networkfirewall.NetworkFirewallAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
Method Detail
-
builder
public static NetworkFirewallAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:NetworkFirewallAsyncSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceNetworkFirewallAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:NetworkFirewallAsyncSets 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 callsetEndpoint.- Specified by:
setRegionin interfaceNetworkFirewallAsync- Parameters:
regionId- The public region ID.
-
applyNetworkFirewallPolicy
public Future<ApplyNetworkFirewallPolicyResponse> applyNetworkFirewallPolicy(ApplyNetworkFirewallPolicyRequest request, AsyncHandler<ApplyNetworkFirewallPolicyRequest,ApplyNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsyncApplies the candidate version of the NetworkFirewallPolicy resource.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
applyNetworkFirewallPolicyin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadAddressLists
public Future<BulkUploadAddressListsResponse> bulkUploadAddressLists(BulkUploadAddressListsRequest request, AsyncHandler<BulkUploadAddressListsRequest,BulkUploadAddressListsResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Address Lists at bulk for the Network Firewall Policy.- Specified by:
bulkUploadAddressListsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadApplicationGroups
public Future<BulkUploadApplicationGroupsResponse> bulkUploadApplicationGroups(BulkUploadApplicationGroupsRequest request, AsyncHandler<BulkUploadApplicationGroupsRequest,BulkUploadApplicationGroupsResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Application Group at bulk for the Network Firewall Policy.- Specified by:
bulkUploadApplicationGroupsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadApplications
public Future<BulkUploadApplicationsResponse> bulkUploadApplications(BulkUploadApplicationsRequest request, AsyncHandler<BulkUploadApplicationsRequest,BulkUploadApplicationsResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates new Applications at bulk for the Network Firewall Policy.- Specified by:
bulkUploadApplicationsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadDecryptionProfiles
public Future<BulkUploadDecryptionProfilesResponse> bulkUploadDecryptionProfiles(BulkUploadDecryptionProfilesRequest request, AsyncHandler<BulkUploadDecryptionProfilesRequest,BulkUploadDecryptionProfilesResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates new Decryption Profiles at bulk for the Network Firewall Policy.- Specified by:
bulkUploadDecryptionProfilesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadDecryptionRules
public Future<BulkUploadDecryptionRulesResponse> bulkUploadDecryptionRules(BulkUploadDecryptionRulesRequest request, AsyncHandler<BulkUploadDecryptionRulesRequest,BulkUploadDecryptionRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates Decryption Rules at bulk for the Network Firewall Policy.- Specified by:
bulkUploadDecryptionRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadMappedSecrets
public Future<BulkUploadMappedSecretsResponse> bulkUploadMappedSecrets(BulkUploadMappedSecretsRequest request, AsyncHandler<BulkUploadMappedSecretsRequest,BulkUploadMappedSecretsResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates new Mapped Secrets at bulk for the Network Firewall Policy.- Specified by:
bulkUploadMappedSecretsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadNatRules
public Future<BulkUploadNatRulesResponse> bulkUploadNatRules(BulkUploadNatRulesRequest request, AsyncHandler<BulkUploadNatRulesRequest,BulkUploadNatRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new NAT Rule at bulk for the Network Firewall Policy.- Specified by:
bulkUploadNatRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadSecurityRules
public Future<BulkUploadSecurityRulesResponse> bulkUploadSecurityRules(BulkUploadSecurityRulesRequest request, AsyncHandler<BulkUploadSecurityRulesRequest,BulkUploadSecurityRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Security Rule at bulk for the Network Firewall Policy.- Specified by:
bulkUploadSecurityRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadServiceLists
public Future<BulkUploadServiceListsResponse> bulkUploadServiceLists(BulkUploadServiceListsRequest request, AsyncHandler<BulkUploadServiceListsRequest,BulkUploadServiceListsResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Service List at bulk for the Network Firewall Policy.- Specified by:
bulkUploadServiceListsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadServices
public Future<BulkUploadServicesResponse> bulkUploadServices(BulkUploadServicesRequest request, AsyncHandler<BulkUploadServicesRequest,BulkUploadServicesResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates new Services at bulk for the Network Firewall Policy.- Specified by:
bulkUploadServicesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadTunnelInspectionRules
public Future<BulkUploadTunnelInspectionRulesResponse> bulkUploadTunnelInspectionRules(BulkUploadTunnelInspectionRulesRequest request, AsyncHandler<BulkUploadTunnelInspectionRulesRequest,BulkUploadTunnelInspectionRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Tunnel Inspection Rule at bulk for the Network Firewall Policy.- Specified by:
bulkUploadTunnelInspectionRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkUploadUrlLists
public Future<BulkUploadUrlListsResponse> bulkUploadUrlLists(BulkUploadUrlListsRequest request, AsyncHandler<BulkUploadUrlListsRequest,BulkUploadUrlListsResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Url Lists at bulk for the Network Firewall Policy.- Specified by:
bulkUploadUrlListsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelWorkRequest
public Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
Description copied from interface:NetworkFirewallAsyncCancel work request with the given ID.- Specified by:
cancelWorkRequestin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeNetworkFirewallCompartment
public Future<ChangeNetworkFirewallCompartmentResponse> changeNetworkFirewallCompartment(ChangeNetworkFirewallCompartmentRequest request, AsyncHandler<ChangeNetworkFirewallCompartmentRequest,ChangeNetworkFirewallCompartmentResponse> handler)
Description copied from interface:NetworkFirewallAsyncMoves a NetworkFirewall resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeNetworkFirewallCompartmentin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeNetworkFirewallPolicyCompartment
public Future<ChangeNetworkFirewallPolicyCompartmentResponse> changeNetworkFirewallPolicyCompartment(ChangeNetworkFirewallPolicyCompartmentRequest request, AsyncHandler<ChangeNetworkFirewallPolicyCompartmentRequest,ChangeNetworkFirewallPolicyCompartmentResponse> handler)
Description copied from interface:NetworkFirewallAsyncMoves a NetworkFirewallPolicy resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeNetworkFirewallPolicyCompartmentin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cloneNetworkFirewallPolicy
public Future<CloneNetworkFirewallPolicyResponse> cloneNetworkFirewallPolicy(CloneNetworkFirewallPolicyRequest request, AsyncHandler<CloneNetworkFirewallPolicyRequest,CloneNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsyncClones a NetworkFirewallPolicy resource from an existing Network Firewall Policy.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
cloneNetworkFirewallPolicyin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createAddressList
public Future<CreateAddressListResponse> createAddressList(CreateAddressListRequest request, AsyncHandler<CreateAddressListRequest,CreateAddressListResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Address List for the Network Firewall Policy.- Specified by:
createAddressListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createApplication
public Future<CreateApplicationResponse> createApplication(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Application for the Network Firewall Policy.- Specified by:
createApplicationin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createApplicationGroup
public Future<CreateApplicationGroupResponse> createApplicationGroup(CreateApplicationGroupRequest request, AsyncHandler<CreateApplicationGroupRequest,CreateApplicationGroupResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new ApplicationGroup for the Network Firewall Policy.- Specified by:
createApplicationGroupin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDecryptionProfile
public Future<CreateDecryptionProfileResponse> createDecryptionProfile(CreateDecryptionProfileRequest request, AsyncHandler<CreateDecryptionProfileRequest,CreateDecryptionProfileResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Decryption Profile for the Network Firewall Policy.- Specified by:
createDecryptionProfilein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDecryptionRule
public Future<CreateDecryptionRuleResponse> createDecryptionRule(CreateDecryptionRuleRequest request, AsyncHandler<CreateDecryptionRuleRequest,CreateDecryptionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Decryption Rule for the Network Firewall Policy.- Specified by:
createDecryptionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMappedSecret
public Future<CreateMappedSecretResponse> createMappedSecret(CreateMappedSecretRequest request, AsyncHandler<CreateMappedSecretRequest,CreateMappedSecretResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Mapped Secret for the Network Firewall Policy.- Specified by:
createMappedSecretin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNatRule
public Future<CreateNatRuleResponse> createNatRule(CreateNatRuleRequest request, AsyncHandler<CreateNatRuleRequest,CreateNatRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new NAT Rule for the Network Firewall Policy.- Specified by:
createNatRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNetworkFirewall
public Future<CreateNetworkFirewallResponse> createNetworkFirewall(CreateNetworkFirewallRequest request, AsyncHandler<CreateNetworkFirewallRequest,CreateNetworkFirewallResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new NetworkFirewall.- Specified by:
createNetworkFirewallin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNetworkFirewallPolicy
public Future<CreateNetworkFirewallPolicyResponse> createNetworkFirewallPolicy(CreateNetworkFirewallPolicyRequest request, AsyncHandler<CreateNetworkFirewallPolicyRequest,CreateNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Network Firewall Policy.- Specified by:
createNetworkFirewallPolicyin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createSecurityRule
public Future<CreateSecurityRuleResponse> createSecurityRule(CreateSecurityRuleRequest request, AsyncHandler<CreateSecurityRuleRequest,CreateSecurityRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Security Rule for the Network Firewall Policy.- Specified by:
createSecurityRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createService
public Future<CreateServiceResponse> createService(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Service for the Network Firewall Policy.- Specified by:
createServicein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createServiceList
public Future<CreateServiceListResponse> createServiceList(CreateServiceListRequest request, AsyncHandler<CreateServiceListRequest,CreateServiceListResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new ServiceList for the Network Firewall Policy.- Specified by:
createServiceListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createTunnelInspectionRule
public Future<CreateTunnelInspectionRuleResponse> createTunnelInspectionRule(CreateTunnelInspectionRuleRequest request, AsyncHandler<CreateTunnelInspectionRuleRequest,CreateTunnelInspectionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new tunnel inspection rule for the network firewall policy.- Specified by:
createTunnelInspectionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createUrlList
public Future<CreateUrlListResponse> createUrlList(CreateUrlListRequest request, AsyncHandler<CreateUrlListRequest,CreateUrlListResponse> handler)
Description copied from interface:NetworkFirewallAsyncCreates a new Url List for the Network Firewall Policy.- Specified by:
createUrlListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteAddressList
public Future<DeleteAddressListResponse> deleteAddressList(DeleteAddressListRequest request, AsyncHandler<DeleteAddressListRequest,DeleteAddressListResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Address List resource with the given identifier.- Specified by:
deleteAddressListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteApplication
public Future<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Application resource with the given identifier.- Specified by:
deleteApplicationin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteApplicationGroup
public Future<DeleteApplicationGroupResponse> deleteApplicationGroup(DeleteApplicationGroupRequest request, AsyncHandler<DeleteApplicationGroupRequest,DeleteApplicationGroupResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a ApplicationGroup resource with the given identifier.- Specified by:
deleteApplicationGroupin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDecryptionProfile
public Future<DeleteDecryptionProfileResponse> deleteDecryptionProfile(DeleteDecryptionProfileRequest request, AsyncHandler<DeleteDecryptionProfileRequest,DeleteDecryptionProfileResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Decryption Profile resource with the given identifier.- Specified by:
deleteDecryptionProfilein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDecryptionRule
public Future<DeleteDecryptionRuleResponse> deleteDecryptionRule(DeleteDecryptionRuleRequest request, AsyncHandler<DeleteDecryptionRuleRequest,DeleteDecryptionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Decryption Rule resource with the given identifier.- Specified by:
deleteDecryptionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMappedSecret
public Future<DeleteMappedSecretResponse> deleteMappedSecret(DeleteMappedSecretRequest request, AsyncHandler<DeleteMappedSecretRequest,DeleteMappedSecretResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Mapped Secret resource with the given identifier.- Specified by:
deleteMappedSecretin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNatRule
public Future<DeleteNatRuleResponse> deleteNatRule(DeleteNatRuleRequest request, AsyncHandler<DeleteNatRuleRequest,DeleteNatRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a NAT Rule resource with the given identifier.- Specified by:
deleteNatRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNetworkFirewall
public Future<DeleteNetworkFirewallResponse> deleteNetworkFirewall(DeleteNetworkFirewallRequest request, AsyncHandler<DeleteNetworkFirewallRequest,DeleteNetworkFirewallResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a NetworkFirewall resource by identifier- Specified by:
deleteNetworkFirewallin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNetworkFirewallPolicy
public Future<DeleteNetworkFirewallPolicyResponse> deleteNetworkFirewallPolicy(DeleteNetworkFirewallPolicyRequest request, AsyncHandler<DeleteNetworkFirewallPolicyRequest,DeleteNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a NetworkFirewallPolicy resource with the given identifier.- Specified by:
deleteNetworkFirewallPolicyin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteSecurityRule
public Future<DeleteSecurityRuleResponse> deleteSecurityRule(DeleteSecurityRuleRequest request, AsyncHandler<DeleteSecurityRuleRequest,DeleteSecurityRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Security Rule resource with the given identifier.- Specified by:
deleteSecurityRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteService
public Future<DeleteServiceResponse> deleteService(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Service resource with the given identifier.- Specified by:
deleteServicein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteServiceList
public Future<DeleteServiceListResponse> deleteServiceList(DeleteServiceListRequest request, AsyncHandler<DeleteServiceListRequest,DeleteServiceListResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a ServiceList resource with the given identifier.- Specified by:
deleteServiceListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteTunnelInspectionRule
public Future<DeleteTunnelInspectionRuleResponse> deleteTunnelInspectionRule(DeleteTunnelInspectionRuleRequest request, AsyncHandler<DeleteTunnelInspectionRuleRequest,DeleteTunnelInspectionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a tunnel inspection rule resource with the given identifier.- Specified by:
deleteTunnelInspectionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteUrlList
public Future<DeleteUrlListResponse> deleteUrlList(DeleteUrlListRequest request, AsyncHandler<DeleteUrlListRequest,DeleteUrlListResponse> handler)
Description copied from interface:NetworkFirewallAsyncDeletes a Url List resource with the given identifier.- Specified by:
deleteUrlListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getAddressList
public Future<GetAddressListResponse> getAddressList(GetAddressListRequest request, AsyncHandler<GetAddressListRequest,GetAddressListResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Address List by the given name in the context of network firewall policy.- Specified by:
getAddressListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getApplication
public Future<GetApplicationResponse> getApplication(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Application by the given name in the context of network firewall policy.- Specified by:
getApplicationin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getApplicationGroup
public Future<GetApplicationGroupResponse> getApplicationGroup(GetApplicationGroupRequest request, AsyncHandler<GetApplicationGroupRequest,GetApplicationGroupResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet ApplicationGroup by the given name in the context of network firewall policy.- Specified by:
getApplicationGroupin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDecryptionProfile
public Future<GetDecryptionProfileResponse> getDecryptionProfile(GetDecryptionProfileRequest request, AsyncHandler<GetDecryptionProfileRequest,GetDecryptionProfileResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Decryption Profile by the given name in the context of network firewall policy.- Specified by:
getDecryptionProfilein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDecryptionRule
public Future<GetDecryptionRuleResponse> getDecryptionRule(GetDecryptionRuleRequest request, AsyncHandler<GetDecryptionRuleRequest,GetDecryptionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Decryption Rule by the given name in the context of network firewall policy.- Specified by:
getDecryptionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMappedSecret
public Future<GetMappedSecretResponse> getMappedSecret(GetMappedSecretRequest request, AsyncHandler<GetMappedSecretRequest,GetMappedSecretResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Mapped Secret by the given name in the context of network firewall policy.- Specified by:
getMappedSecretin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNatRule
public Future<GetNatRuleResponse> getNatRule(GetNatRuleRequest request, AsyncHandler<GetNatRuleRequest,GetNatRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet NAT Rule by the given name in the context of network firewall policy.- Specified by:
getNatRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNetworkFirewall
public Future<GetNetworkFirewallResponse> getNetworkFirewall(GetNetworkFirewallRequest request, AsyncHandler<GetNetworkFirewallRequest,GetNetworkFirewallResponse> handler)
Description copied from interface:NetworkFirewallAsyncGets a NetworkFirewall by identifier- Specified by:
getNetworkFirewallin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNetworkFirewallPolicy
public Future<GetNetworkFirewallPolicyResponse> getNetworkFirewallPolicy(GetNetworkFirewallPolicyRequest request, AsyncHandler<GetNetworkFirewallPolicyRequest,GetNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsyncGets a NetworkFirewallPolicy given the network firewall policy identifier.- Specified by:
getNetworkFirewallPolicyin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSecurityRule
public Future<GetSecurityRuleResponse> getSecurityRule(GetSecurityRuleRequest request, AsyncHandler<GetSecurityRuleRequest,GetSecurityRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Security Rule by the given name in the context of network firewall policy.- Specified by:
getSecurityRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getService
public Future<GetServiceResponse> getService(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Service by the given name in the context of network firewall policy.- Specified by:
getServicein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getServiceList
public Future<GetServiceListResponse> getServiceList(GetServiceListRequest request, AsyncHandler<GetServiceListRequest,GetServiceListResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet ServiceList by the given name in the context of network firewall policy.- Specified by:
getServiceListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getTunnelInspectionRule
public Future<GetTunnelInspectionRuleResponse> getTunnelInspectionRule(GetTunnelInspectionRuleRequest request, AsyncHandler<GetTunnelInspectionRuleRequest,GetTunnelInspectionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet tunnel inspection rule by the given name in the context of network firewall policy.- Specified by:
getTunnelInspectionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getUrlList
public Future<GetUrlListResponse> getUrlList(GetUrlListRequest request, AsyncHandler<GetUrlListRequest,GetUrlListResponse> handler)
Description copied from interface:NetworkFirewallAsyncGet Url List by the given name in the context of network firewall policy.- Specified by:
getUrlListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:NetworkFirewallAsyncGets the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAddressLists
public Future<ListAddressListsResponse> listAddressLists(ListAddressListsRequest request, AsyncHandler<ListAddressListsRequest,ListAddressListsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Network Firewall Policies.- Specified by:
listAddressListsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listApplicationGroups
public Future<ListApplicationGroupsResponse> listApplicationGroups(ListApplicationGroupsRequest request, AsyncHandler<ListApplicationGroupsRequest,ListApplicationGroupsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of ApplicationGroups for the policy.- Specified by:
listApplicationGroupsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listApplications
public Future<ListApplicationsResponse> listApplications(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Applications for the policy.- Specified by:
listApplicationsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDecryptionProfiles
public Future<ListDecryptionProfilesResponse> listDecryptionProfiles(ListDecryptionProfilesRequest request, AsyncHandler<ListDecryptionProfilesRequest,ListDecryptionProfilesResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Decryption Profile for the Network Firewall Policy.- Specified by:
listDecryptionProfilesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDecryptionRules
public Future<ListDecryptionRulesResponse> listDecryptionRules(ListDecryptionRulesRequest request, AsyncHandler<ListDecryptionRulesRequest,ListDecryptionRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Decryption Rule for the Network Firewall Policy.- Specified by:
listDecryptionRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMappedSecrets
public Future<ListMappedSecretsResponse> listMappedSecrets(ListMappedSecretsRequest request, AsyncHandler<ListMappedSecretsRequest,ListMappedSecretsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Mapped Secret for the Network Firewall Policy.- Specified by:
listMappedSecretsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNatRules
public Future<ListNatRulesResponse> listNatRules(ListNatRulesRequest request, AsyncHandler<ListNatRulesRequest,ListNatRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of NAT Rules for the Network Firewall Policy.- Specified by:
listNatRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNetworkFirewallPolicies
public Future<ListNetworkFirewallPoliciesResponse> listNetworkFirewallPolicies(ListNetworkFirewallPoliciesRequest request, AsyncHandler<ListNetworkFirewallPoliciesRequest,ListNetworkFirewallPoliciesResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Network Firewall Policies.- Specified by:
listNetworkFirewallPoliciesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNetworkFirewalls
public Future<ListNetworkFirewallsResponse> listNetworkFirewalls(ListNetworkFirewallsRequest request, AsyncHandler<ListNetworkFirewallsRequest,ListNetworkFirewallsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of NetworkFirewalls.- Specified by:
listNetworkFirewallsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSecurityRules
public Future<ListSecurityRulesResponse> listSecurityRules(ListSecurityRulesRequest request, AsyncHandler<ListSecurityRulesRequest,ListSecurityRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Security Rule for the Network Firewall Policy.- Specified by:
listSecurityRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listServiceLists
public Future<ListServiceListsResponse> listServiceLists(ListServiceListsRequest request, AsyncHandler<ListServiceListsRequest,ListServiceListsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of ServiceLists for the policy.- Specified by:
listServiceListsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listServices
public Future<ListServicesResponse> listServices(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of Services for the policy.- Specified by:
listServicesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listTunnelInspectionRules
public Future<ListTunnelInspectionRulesResponse> listTunnelInspectionRules(ListTunnelInspectionRulesRequest request, AsyncHandler<ListTunnelInspectionRulesRequest,ListTunnelInspectionRulesResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of tunnel inspection rules for the network firewall policy.- Specified by:
listTunnelInspectionRulesin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listUrlLists
public Future<ListUrlListsResponse> listUrlLists(ListUrlListsRequest request, AsyncHandler<ListUrlListsRequest,ListUrlListsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturns a list of URL lists for the Network Firewall Policy.- Specified by:
listUrlListsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:NetworkFirewallAsyncReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:NetworkFirewallAsyncLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
migrateNetworkFirewallPolicy
public Future<MigrateNetworkFirewallPolicyResponse> migrateNetworkFirewallPolicy(MigrateNetworkFirewallPolicyRequest request, AsyncHandler<MigrateNetworkFirewallPolicyRequest,MigrateNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsyncMoves a NetworkFirewallPolicy resource from one version to latest version.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
migrateNetworkFirewallPolicyin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateAddressList
public Future<UpdateAddressListResponse> updateAddressList(UpdateAddressListRequest request, AsyncHandler<UpdateAddressListRequest,UpdateAddressListResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Address list with the given name in the network firewall policy.- Specified by:
updateAddressListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateApplication
public Future<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Application with the given name in the network firewall policy.- Specified by:
updateApplicationin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateApplicationGroup
public Future<UpdateApplicationGroupResponse> updateApplicationGroup(UpdateApplicationGroupRequest request, AsyncHandler<UpdateApplicationGroupRequest,UpdateApplicationGroupResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the ApplicationGroup with the given name in the network firewall policy.- Specified by:
updateApplicationGroupin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDecryptionProfile
public Future<UpdateDecryptionProfileResponse> updateDecryptionProfile(UpdateDecryptionProfileRequest request, AsyncHandler<UpdateDecryptionProfileRequest,UpdateDecryptionProfileResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Decryption Profile with the given name in the network firewall policy.- Specified by:
updateDecryptionProfilein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDecryptionRule
public Future<UpdateDecryptionRuleResponse> updateDecryptionRule(UpdateDecryptionRuleRequest request, AsyncHandler<UpdateDecryptionRuleRequest,UpdateDecryptionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Decryption Rule with the given name in the network firewall policy.- Specified by:
updateDecryptionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMappedSecret
public Future<UpdateMappedSecretResponse> updateMappedSecret(UpdateMappedSecretRequest request, AsyncHandler<UpdateMappedSecretRequest,UpdateMappedSecretResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Mapped Secret with the given name in the network firewall policy.- Specified by:
updateMappedSecretin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNatRule
public Future<UpdateNatRuleResponse> updateNatRule(UpdateNatRuleRequest request, AsyncHandler<UpdateNatRuleRequest,UpdateNatRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the NAT Rule with the given name in the network firewall policy.- Specified by:
updateNatRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNetworkFirewall
public Future<UpdateNetworkFirewallResponse> updateNetworkFirewall(UpdateNetworkFirewallRequest request, AsyncHandler<UpdateNetworkFirewallRequest,UpdateNetworkFirewallResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the NetworkFirewall- Specified by:
updateNetworkFirewallin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNetworkFirewallPolicy
public Future<UpdateNetworkFirewallPolicyResponse> updateNetworkFirewallPolicy(UpdateNetworkFirewallPolicyRequest request, AsyncHandler<UpdateNetworkFirewallPolicyRequest,UpdateNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the NetworkFirewallPolicy- Specified by:
updateNetworkFirewallPolicyin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateSecurityRule
public Future<UpdateSecurityRuleResponse> updateSecurityRule(UpdateSecurityRuleRequest request, AsyncHandler<UpdateSecurityRuleRequest,UpdateSecurityRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Security Rule with the given name in the network firewall policy.- Specified by:
updateSecurityRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateService
public Future<UpdateServiceResponse> updateService(UpdateServiceRequest request, AsyncHandler<UpdateServiceRequest,UpdateServiceResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Service with the given name in the network firewall policy.- Specified by:
updateServicein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateServiceList
public Future<UpdateServiceListResponse> updateServiceList(UpdateServiceListRequest request, AsyncHandler<UpdateServiceListRequest,UpdateServiceListResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the ServiceList with the given name in the network firewall policy.- Specified by:
updateServiceListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateTunnelInspectionRule
public Future<UpdateTunnelInspectionRuleResponse> updateTunnelInspectionRule(UpdateTunnelInspectionRuleRequest request, AsyncHandler<UpdateTunnelInspectionRuleRequest,UpdateTunnelInspectionRuleResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the tunnel inspection rule with the given name in the network firewall policy.- Specified by:
updateTunnelInspectionRulein interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateUrlList
public Future<UpdateUrlListResponse> updateUrlList(UpdateUrlListRequest request, AsyncHandler<UpdateUrlListRequest,UpdateUrlListResponse> handler)
Description copied from interface:NetworkFirewallAsyncUpdates the Url list with the given name in the network firewall policy.- Specified by:
updateUrlListin interfaceNetworkFirewallAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
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)
-
-