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 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 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 class
NetworkFirewallAsyncClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.NetworkFirewallAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
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 thebuilder
instead.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 thebuilder
instead.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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeNetworkFirewallAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeNetworkFirewallAsyncClient.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)
-
NetworkFirewallAsyncClient
@Deprecated public NetworkFirewallAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeNetworkFirewallAsyncClient.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
-
-
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: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.- Specified by:
setRegion
in interfaceNetworkFirewallAsync
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface: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 callsetEndpoint
.- Specified by:
setRegion
in interfaceNetworkFirewallAsync
- Parameters:
regionId
- The public region ID.
-
applyNetworkFirewallPolicy
public Future<ApplyNetworkFirewallPolicyResponse> applyNetworkFirewallPolicy(ApplyNetworkFirewallPolicyRequest request, AsyncHandler<ApplyNetworkFirewallPolicyRequest,ApplyNetworkFirewallPolicyResponse> handler)
Description copied from interface:NetworkFirewallAsync
Applies the candidate version of the NetworkFirewallPolicy resource.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
applyNetworkFirewallPolicy
in 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:NetworkFirewallAsync
Creates a new Address Lists at bulk for the Network Firewall Policy.- Specified by:
bulkUploadAddressLists
in 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:NetworkFirewallAsync
Creates a new Application Group at bulk for the Network Firewall Policy.- Specified by:
bulkUploadApplicationGroups
in 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:NetworkFirewallAsync
Creates new Applications at bulk for the Network Firewall Policy.- Specified by:
bulkUploadApplications
in 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:NetworkFirewallAsync
Creates new Decryption Profiles at bulk for the Network Firewall Policy.- Specified by:
bulkUploadDecryptionProfiles
in 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:NetworkFirewallAsync
Creates Decryption Rules at bulk for the Network Firewall Policy.- Specified by:
bulkUploadDecryptionRules
in 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:NetworkFirewallAsync
Creates new Mapped Secrets at bulk for the Network Firewall Policy.- Specified by:
bulkUploadMappedSecrets
in 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:NetworkFirewallAsync
Creates a new Security Rule at bulk for the Network Firewall Policy.- Specified by:
bulkUploadSecurityRules
in 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:NetworkFirewallAsync
Creates a new Service List at bulk for the Network Firewall Policy.- Specified by:
bulkUploadServiceLists
in 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:NetworkFirewallAsync
Creates new Services at bulk for the Network Firewall Policy.- Specified by:
bulkUploadServices
in 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:NetworkFirewallAsync
Creates a new Tunnel Inspection Rule at bulk for the Network Firewall Policy.- Specified by:
bulkUploadTunnelInspectionRules
in 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:NetworkFirewallAsync
Creates a new Url Lists at bulk for the Network Firewall Policy.- Specified by:
bulkUploadUrlLists
in 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:NetworkFirewallAsync
Cancel work request with the given ID.- Specified by:
cancelWorkRequest
in 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:NetworkFirewallAsync
Moves a NetworkFirewall resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeNetworkFirewallCompartment
in 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:NetworkFirewallAsync
Moves a NetworkFirewallPolicy resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeNetworkFirewallPolicyCompartment
in 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:NetworkFirewallAsync
Moves a NetworkFirewallPolicy resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
cloneNetworkFirewallPolicy
in 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:NetworkFirewallAsync
Creates a new Address List for the Network Firewall Policy.- Specified by:
createAddressList
in 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:NetworkFirewallAsync
Creates a new Application for the Network Firewall Policy.- Specified by:
createApplication
in 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:NetworkFirewallAsync
Creates a new ApplicationGroup for the Network Firewall Policy.- Specified by:
createApplicationGroup
in 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:NetworkFirewallAsync
Creates a new Decryption Profile for the Network Firewall Policy.- Specified by:
createDecryptionProfile
in 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:NetworkFirewallAsync
Creates a new Decryption Rule for the Network Firewall Policy.- Specified by:
createDecryptionRule
in 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:NetworkFirewallAsync
Creates a new Mapped Secret for the Network Firewall Policy.- Specified by:
createMappedSecret
in 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:NetworkFirewallAsync
Creates a new NetworkFirewall.- Specified by:
createNetworkFirewall
in 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:NetworkFirewallAsync
Creates a new Network Firewall Policy.- Specified by:
createNetworkFirewallPolicy
in 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:NetworkFirewallAsync
Creates a new Security Rule for the Network Firewall Policy.- Specified by:
createSecurityRule
in 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:NetworkFirewallAsync
Creates a new Service for the Network Firewall Policy.- Specified by:
createService
in 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:NetworkFirewallAsync
Creates a new ServiceList for the Network Firewall Policy.- Specified by:
createServiceList
in 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:NetworkFirewallAsync
Creates a new tunnel inspection rule for the network firewall policy.- Specified by:
createTunnelInspectionRule
in 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:NetworkFirewallAsync
Creates a new Url List for the Network Firewall Policy.- Specified by:
createUrlList
in 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:NetworkFirewallAsync
Deletes a Address List resource with the given identifier.- Specified by:
deleteAddressList
in 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:NetworkFirewallAsync
Deletes a Application resource with the given identifier.- Specified by:
deleteApplication
in 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:NetworkFirewallAsync
Deletes a ApplicationGroup resource with the given identifier.- Specified by:
deleteApplicationGroup
in 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:NetworkFirewallAsync
Deletes a Decryption Profile resource with the given identifier.- Specified by:
deleteDecryptionProfile
in 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:NetworkFirewallAsync
Deletes a Decryption Rule resource with the given identifier.- Specified by:
deleteDecryptionRule
in 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:NetworkFirewallAsync
Deletes a Mapped Secret resource with the given identifier.- Specified by:
deleteMappedSecret
in 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:NetworkFirewallAsync
Deletes a NetworkFirewall resource by identifier- Specified by:
deleteNetworkFirewall
in 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:NetworkFirewallAsync
Deletes a NetworkFirewallPolicy resource with the given identifier.- Specified by:
deleteNetworkFirewallPolicy
in 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:NetworkFirewallAsync
Deletes a Security Rule resource with the given identifier.- Specified by:
deleteSecurityRule
in 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:NetworkFirewallAsync
Deletes a Service resource with the given identifier.- Specified by:
deleteService
in 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:NetworkFirewallAsync
Deletes a ServiceList resource with the given identifier.- Specified by:
deleteServiceList
in 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:NetworkFirewallAsync
Deletes a tunnel inspection rule resource with the given identifier.- Specified by:
deleteTunnelInspectionRule
in 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:NetworkFirewallAsync
Deletes a Url List resource with the given identifier.- Specified by:
deleteUrlList
in 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:NetworkFirewallAsync
Get Address List by the given name in the context of network firewall policy.- Specified by:
getAddressList
in 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:NetworkFirewallAsync
Get Application by the given name in the context of network firewall policy.- Specified by:
getApplication
in 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:NetworkFirewallAsync
Get ApplicationGroup by the given name in the context of network firewall policy.- Specified by:
getApplicationGroup
in 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:NetworkFirewallAsync
Get Decryption Profile by the given name in the context of network firewall policy.- Specified by:
getDecryptionProfile
in 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:NetworkFirewallAsync
Get Decryption Rule by the given name in the context of network firewall policy.- Specified by:
getDecryptionRule
in 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:NetworkFirewallAsync
Get Mapped Secret by the given name in the context of network firewall policy.- Specified by:
getMappedSecret
in 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:NetworkFirewallAsync
Gets a NetworkFirewall by identifier- Specified by:
getNetworkFirewall
in 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:NetworkFirewallAsync
Gets a NetworkFirewallPolicy given the network firewall policy identifier.- Specified by:
getNetworkFirewallPolicy
in 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:NetworkFirewallAsync
Get Security Rule by the given name in the context of network firewall policy.- Specified by:
getSecurityRule
in 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:NetworkFirewallAsync
Get Service by the given name in the context of network firewall policy.- Specified by:
getService
in 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:NetworkFirewallAsync
Get ServiceList by the given name in the context of network firewall policy.- Specified by:
getServiceList
in 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:NetworkFirewallAsync
Get tunnel inspection rule by the given name in the context of network firewall policy.- Specified by:
getTunnelInspectionRule
in 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:NetworkFirewallAsync
Get Url List by the given name in the context of network firewall policy.- Specified by:
getUrlList
in 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:NetworkFirewallAsync
Gets the status of the work request with the given ID.- Specified by:
getWorkRequest
in 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:NetworkFirewallAsync
Returns a list of Network Firewall Policies.- Specified by:
listAddressLists
in 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:NetworkFirewallAsync
Returns a list of ApplicationGroups for the policy.- Specified by:
listApplicationGroups
in 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:NetworkFirewallAsync
Returns a list of Applications for the policy.- Specified by:
listApplications
in 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:NetworkFirewallAsync
Returns a list of Decryption Profile for the Network Firewall Policy.- Specified by:
listDecryptionProfiles
in 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:NetworkFirewallAsync
Returns a list of Decryption Rule for the Network Firewall Policy.- Specified by:
listDecryptionRules
in 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:NetworkFirewallAsync
Returns a list of Mapped Secret for the Network Firewall Policy.- Specified by:
listMappedSecrets
in 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:NetworkFirewallAsync
Returns a list of Network Firewall Policies.- Specified by:
listNetworkFirewallPolicies
in 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:NetworkFirewallAsync
Returns a list of NetworkFirewalls.- Specified by:
listNetworkFirewalls
in 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:NetworkFirewallAsync
Returns a list of Security Rule for the Network Firewall Policy.- Specified by:
listSecurityRules
in 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:NetworkFirewallAsync
Returns a list of ServiceLists for the policy.- Specified by:
listServiceLists
in 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:NetworkFirewallAsync
Returns a list of Services for the policy.- Specified by:
listServices
in 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:NetworkFirewallAsync
Returns a list of tunnel inspection rules for the network firewall policy.- Specified by:
listTunnelInspectionRules
in 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:NetworkFirewallAsync
Returns a list of URL lists for the Network Firewall Policy.- Specified by:
listUrlLists
in 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:NetworkFirewallAsync
Return a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrors
in 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:NetworkFirewallAsync
Return a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogs
in 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:NetworkFirewallAsync
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in 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:NetworkFirewallAsync
Moves a NetworkFirewallPolicy resource from one version to latest version.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
migrateNetworkFirewallPolicy
in 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:NetworkFirewallAsync
Updates the Address list with the given name in the network firewall policy.- Specified by:
updateAddressList
in 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:NetworkFirewallAsync
Updates the Application with the given name in the network firewall policy.- Specified by:
updateApplication
in 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:NetworkFirewallAsync
Updates the ApplicationGroup with the given name in the network firewall policy.- Specified by:
updateApplicationGroup
in 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:NetworkFirewallAsync
Updates the Decryption Profile with the given name in the network firewall policy.- Specified by:
updateDecryptionProfile
in 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:NetworkFirewallAsync
Updates the Decryption Rule with the given name in the network firewall policy.- Specified by:
updateDecryptionRule
in 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:NetworkFirewallAsync
Updates the Mapped Secret with the given name in the network firewall policy.- Specified by:
updateMappedSecret
in 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:NetworkFirewallAsync
Updates the NetworkFirewall- Specified by:
updateNetworkFirewall
in 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:NetworkFirewallAsync
Updates the NetworkFirewallPolicy- Specified by:
updateNetworkFirewallPolicy
in 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:NetworkFirewallAsync
Updates the Security Rule with the given name in the network firewall policy.- Specified by:
updateSecurityRule
in 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:NetworkFirewallAsync
Updates the Service with the given name in the network firewall policy.- Specified by:
updateService
in 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:NetworkFirewallAsync
Updates the ServiceList with the given name in the network firewall policy.- Specified by:
updateServiceList
in 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:NetworkFirewallAsync
Updates the tunnel inspection rule with the given name in the network firewall policy.- Specified by:
updateTunnelInspectionRule
in 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:NetworkFirewallAsync
Updates the Url list with the given name in the network firewall policy.- Specified by:
updateUrlList
in 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
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in 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)
-
-