Class CloudGuardAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.cloudguard.CloudGuardAsyncClient
-
- All Implemented Interfaces:
CloudGuardAsync
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public class CloudGuardAsyncClient extends BaseAsyncClient implements CloudGuardAsync
Async client implementation for CloudGuard 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
CloudGuardAsyncClient.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 CloudGuard.
-
Constructor Summary
Constructors Constructor Description CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.CloudGuardAsyncClient(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.cloudguard.CloudGuardAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
CloudGuardAsyncClient
@Deprecated public CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeCloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
CloudGuardAsyncClient
@Deprecated public CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeCloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
CloudGuardAsyncClient
@Deprecated public CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeCloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
CloudGuardAsyncClient
@Deprecated public CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeCloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
CloudGuardAsyncClient
@Deprecated public CloudGuardAsyncClient(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 (seeCloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
CloudGuardAsyncClient
@Deprecated public CloudGuardAsyncClient(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 (seeCloudGuardAsyncClient.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)
-
CloudGuardAsyncClient
@Deprecated public CloudGuardAsyncClient(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 (seeCloudGuardAsyncClient.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 CloudGuardAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:CloudGuardAsync
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 interfaceCloudGuardAsync
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:CloudGuardAsync
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 interfaceCloudGuardAsync
- Parameters:
regionId
- The public region ID.
-
addCompartment
public Future<AddCompartmentResponse> addCompartment(AddCompartmentRequest request, AsyncHandler<AddCompartmentRequest,AddCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Adds a compartment to an existing security zone (SecurityZone resource), identified by securityZoneId.Specify parameters in an AddCompartmentDetails resource that you pass. If you previously removed a subcompartment from a security zone, you can add it back to the same security zone. The security zone ensures that resources in the subcompartment comply with the security zone’s policies.
- Specified by:
addCompartment
in interfaceCloudGuardAsync
- 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:CloudGuardAsync
Cancels a work request identified by workRequestId.- Specified by:
cancelWorkRequest
in interfaceCloudGuardAsync
- 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.
-
changeDataSourceCompartment
public Future<ChangeDataSourceCompartmentResponse> changeDataSourceCompartment(ChangeDataSourceCompartmentRequest request, AsyncHandler<ChangeDataSourceCompartmentRequest,ChangeDataSourceCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Moves a data source (DataSource resource), identified by parameters passed in a ChangeDataSourceCompartmentDetails resource, from the current compartment to another.- Specified by:
changeDataSourceCompartment
in interfaceCloudGuardAsync
- 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.
-
changeDetectorRecipeCompartment
public Future<ChangeDetectorRecipeCompartmentResponse> changeDetectorRecipeCompartment(ChangeDetectorRecipeCompartmentRequest request, AsyncHandler<ChangeDetectorRecipeCompartmentRequest,ChangeDetectorRecipeCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Moves the detector recipe (DetectorRecipe resource), identified by detectorRecipeId, from the current compartment to another compartment.When provided, If-Match is checked against etag values of the resource.
- Specified by:
changeDetectorRecipeCompartment
in interfaceCloudGuardAsync
- 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.
-
changeManagedListCompartment
public Future<ChangeManagedListCompartmentResponse> changeManagedListCompartment(ChangeManagedListCompartmentRequest request, AsyncHandler<ChangeManagedListCompartmentRequest,ChangeManagedListCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Moves the managed list (ManagedList resource), identified by managedListId, from the current compartment to another compartment.- Specified by:
changeManagedListCompartment
in interfaceCloudGuardAsync
- 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.
-
changeResponderRecipeCompartment
public Future<ChangeResponderRecipeCompartmentResponse> changeResponderRecipeCompartment(ChangeResponderRecipeCompartmentRequest request, AsyncHandler<ChangeResponderRecipeCompartmentRequest,ChangeResponderRecipeCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Moves the responder recipe (ResponderRecipe resource), identified by responderRecipeId in a ChangeResponderRecipeCompartmentDetails resource, from the current compartment to another compartment.When provided, if-match is checked against etag values of the resource.
- Specified by:
changeResponderRecipeCompartment
in interfaceCloudGuardAsync
- 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.
-
changeSavedQueryCompartment
public Future<ChangeSavedQueryCompartmentResponse> changeSavedQueryCompartment(ChangeSavedQueryCompartmentRequest request, AsyncHandler<ChangeSavedQueryCompartmentRequest,ChangeSavedQueryCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Moves the SavedQuery resource into a different compartment.When provided, If-Match is checked against etag values of the resource.
- Specified by:
changeSavedQueryCompartment
in interfaceCloudGuardAsync
- 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.
-
changeSecurityRecipeCompartment
public Future<ChangeSecurityRecipeCompartmentResponse> changeSecurityRecipeCompartment(ChangeSecurityRecipeCompartmentRequest request, AsyncHandler<ChangeSecurityRecipeCompartmentRequest,ChangeSecurityRecipeCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Moves the security recipe (SecurityRecipe resource), identified by securityRecipeId, from the current compartment to another compartment.When provided,
if-match
is checked againstetag
values of the resource.- Specified by:
changeSecurityRecipeCompartment
in interfaceCloudGuardAsync
- 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.
-
changeSecurityZoneCompartment
public Future<ChangeSecurityZoneCompartmentResponse> changeSecurityZoneCompartment(ChangeSecurityZoneCompartmentRequest request, AsyncHandler<ChangeSecurityZoneCompartmentRequest,ChangeSecurityZoneCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Moves a security zone, identified by securityZoneId, to a different compartment.Pass parameters through a ChangeSecurityZoneCompartmentDetails resource. When provided,
if-match
is checked againstetag
values of the resource.- Specified by:
changeSecurityZoneCompartment
in interfaceCloudGuardAsync
- 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.
-
createAdhocQuery
public Future<CreateAdhocQueryResponse> createAdhocQuery(CreateAdhocQueryRequest request, AsyncHandler<CreateAdhocQueryRequest,CreateAdhocQueryResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a AdhocQuery resource.- Specified by:
createAdhocQuery
in interfaceCloudGuardAsync
- 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.
-
createDataMaskRule
public Future<CreateDataMaskRuleResponse> createDataMaskRule(CreateDataMaskRuleRequest request, AsyncHandler<CreateDataMaskRuleRequest,CreateDataMaskRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a new DataMaskRule resource definition.- Specified by:
createDataMaskRule
in interfaceCloudGuardAsync
- 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.
-
createDataSource
public Future<CreateDataSourceResponse> createDataSource(CreateDataSourceRequest request, AsyncHandler<CreateDataSourceRequest,CreateDataSourceResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a data source (DataSource resource), using parameters passed through a CreateDataSourceDetails resource.- Specified by:
createDataSource
in interfaceCloudGuardAsync
- 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.
-
createDetectorRecipe
public Future<CreateDetectorRecipeResponse> createDetectorRecipe(CreateDetectorRecipeRequest request, AsyncHandler<CreateDetectorRecipeRequest,CreateDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a new DetectorRecipe resource.- Specified by:
createDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
createDetectorRecipeDetectorRule
public Future<CreateDetectorRecipeDetectorRuleResponse> createDetectorRecipeDetectorRule(CreateDetectorRecipeDetectorRuleRequest request, AsyncHandler<CreateDetectorRecipeDetectorRuleRequest,CreateDetectorRecipeDetectorRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a detector rule.- Specified by:
createDetectorRecipeDetectorRule
in interfaceCloudGuardAsync
- 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.
-
createManagedList
public Future<CreateManagedListResponse> createManagedList(CreateManagedListRequest request, AsyncHandler<CreateManagedListRequest,CreateManagedListResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a new ManagedList resource.- Specified by:
createManagedList
in interfaceCloudGuardAsync
- 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.
-
createResponderRecipe
public Future<CreateResponderRecipeResponse> createResponderRecipe(CreateResponderRecipeRequest request, AsyncHandler<CreateResponderRecipeRequest,CreateResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a responder recipe (ResponderRecipe resource), from values passed in a CreateResponderRecipeDetails resource.- Specified by:
createResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
createSavedQuery
public Future<CreateSavedQueryResponse> createSavedQuery(CreateSavedQueryRequest request, AsyncHandler<CreateSavedQueryRequest,CreateSavedQueryResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a SavedQuery resource.- Specified by:
createSavedQuery
in interfaceCloudGuardAsync
- 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.
-
createSecurityRecipe
public Future<CreateSecurityRecipeResponse> createSecurityRecipe(CreateSecurityRecipeRequest request, AsyncHandler<CreateSecurityRecipeRequest,CreateSecurityRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a security zone recipe (SecurityRecipe resource), using parameters passed in a CreateSecurityRecipeDetails resource.- Specified by:
createSecurityRecipe
in interfaceCloudGuardAsync
- 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.
-
createSecurityZone
public Future<CreateSecurityZoneResponse> createSecurityZone(CreateSecurityZoneRequest request, AsyncHandler<CreateSecurityZoneRequest,CreateSecurityZoneResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a security zone (SecurityZone resource) for a compartment.Pass parameters through a CreateSecurityZoneDetails resource.
- Specified by:
createSecurityZone
in interfaceCloudGuardAsync
- 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.
-
createTarget
public Future<CreateTargetResponse> createTarget(CreateTargetRequest request, AsyncHandler<CreateTargetRequest,CreateTargetResponse> handler)
Description copied from interface:CloudGuardAsync
Creates a target (Target resource), using parameters passed in a CreateTargetDetails resource.- Specified by:
createTarget
in interfaceCloudGuardAsync
- 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.
-
createTargetDetectorRecipe
public Future<CreateTargetDetectorRecipeResponse> createTargetDetectorRecipe(CreateTargetDetectorRecipeRequest request, AsyncHandler<CreateTargetDetectorRecipeRequest,CreateTargetDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Attaches a DetectorRecipe to a target (Target resource) identified by targetId, using parameters passed in a TargetAttachTargetDetectorRecipeDetails resource.Attach a DetectorRecipe with the Target
- Specified by:
createTargetDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
createTargetResponderRecipe
public Future<CreateTargetResponderRecipeResponse> createTargetResponderRecipe(CreateTargetResponderRecipeRequest request, AsyncHandler<CreateTargetResponderRecipeRequest,CreateTargetResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Attaches a responder recipe to a target.- Specified by:
createTargetResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
createWlpAgent
public Future<CreateWlpAgentResponse> createWlpAgent(CreateWlpAgentRequest request, AsyncHandler<CreateWlpAgentRequest,CreateWlpAgentResponse> handler)
Description copied from interface:CloudGuardAsync
Creates and registers a WLP agent for an on-premise resource.- Specified by:
createWlpAgent
in interfaceCloudGuardAsync
- 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.
-
deleteAdhocQuery
public Future<DeleteAdhocQueryResponse> deleteAdhocQuery(DeleteAdhocQueryRequest request, AsyncHandler<DeleteAdhocQueryRequest,DeleteAdhocQueryResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a AdhocQuery resource identified by adhocQueryId.- Specified by:
deleteAdhocQuery
in interfaceCloudGuardAsync
- 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.
-
deleteDataMaskRule
public Future<DeleteDataMaskRuleResponse> deleteDataMaskRule(DeleteDataMaskRuleRequest request, AsyncHandler<DeleteDataMaskRuleRequest,DeleteDataMaskRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a DataMaskRule resource, identified by dataMaskRuleId.- Specified by:
deleteDataMaskRule
in interfaceCloudGuardAsync
- 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.
-
deleteDataSource
public Future<DeleteDataSourceResponse> deleteDataSource(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest,DeleteDataSourceResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a data source (DataSource resource) identified by dataSourceId.- Specified by:
deleteDataSource
in interfaceCloudGuardAsync
- 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.
-
deleteDetectorRecipe
public Future<DeleteDetectorRecipeResponse> deleteDetectorRecipe(DeleteDetectorRecipeRequest request, AsyncHandler<DeleteDetectorRecipeRequest,DeleteDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.- Specified by:
deleteDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
deleteDetectorRecipeDetectorRule
public Future<DeleteDetectorRecipeDetectorRuleResponse> deleteDetectorRecipeDetectorRule(DeleteDetectorRecipeDetectorRuleRequest request, AsyncHandler<DeleteDetectorRecipeDetectorRuleRequest,DeleteDetectorRecipeDetectorRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes the DetectorRecipeDetectorRule resource identified by detectorRuleId.- Specified by:
deleteDetectorRecipeDetectorRule
in interfaceCloudGuardAsync
- 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.
-
deleteDetectorRecipeDetectorRuleDataSource
public Future<DeleteDetectorRecipeDetectorRuleDataSourceResponse> deleteDetectorRecipeDetectorRuleDataSource(DeleteDetectorRecipeDetectorRuleDataSourceRequest request, AsyncHandler<DeleteDetectorRecipeDetectorRuleDataSourceRequest,DeleteDetectorRecipeDetectorRuleDataSourceResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes the DetectorRecipeDetectorRuleDataSource resource by identifier.- Specified by:
deleteDetectorRecipeDetectorRuleDataSource
in interfaceCloudGuardAsync
- 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.
-
deleteManagedList
public Future<DeleteManagedListResponse> deleteManagedList(DeleteManagedListRequest request, AsyncHandler<DeleteManagedListRequest,DeleteManagedListResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a managed list identified by managedListId.- Specified by:
deleteManagedList
in interfaceCloudGuardAsync
- 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.
-
deleteResponderRecipe
public Future<DeleteResponderRecipeResponse> deleteResponderRecipe(DeleteResponderRecipeRequest request, AsyncHandler<DeleteResponderRecipeRequest,DeleteResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a responder recipe (ResponderRecipe resource) identified by responderRecipeId.- Specified by:
deleteResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
deleteSavedQuery
public Future<DeleteSavedQueryResponse> deleteSavedQuery(DeleteSavedQueryRequest request, AsyncHandler<DeleteSavedQueryRequest,DeleteSavedQueryResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a SavedQuery resource identified by savedQueryId.- Specified by:
deleteSavedQuery
in interfaceCloudGuardAsync
- 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.
-
deleteSecurityRecipe
public Future<DeleteSecurityRecipeResponse> deleteSecurityRecipe(DeleteSecurityRecipeRequest request, AsyncHandler<DeleteSecurityRecipeRequest,DeleteSecurityRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a security zone recipe, identified by securityRecipeId.The recipe can’t be associated with an existing security zone.
- Specified by:
deleteSecurityRecipe
in interfaceCloudGuardAsync
- 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.
-
deleteSecurityZone
public Future<DeleteSecurityZoneResponse> deleteSecurityZone(DeleteSecurityZoneRequest request, AsyncHandler<DeleteSecurityZoneRequest,DeleteSecurityZoneResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a security zone, identified by securityZoneId.- Specified by:
deleteSecurityZone
in interfaceCloudGuardAsync
- 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.
-
deleteTarget
public Future<DeleteTargetResponse> deleteTarget(DeleteTargetRequest request, AsyncHandler<DeleteTargetRequest,DeleteTargetResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes a target (Target resource) identified by targetId.- Specified by:
deleteTarget
in interfaceCloudGuardAsync
- 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.
-
deleteTargetDetectorRecipe
public Future<DeleteTargetDetectorRecipeResponse> deleteTargetDetectorRecipe(DeleteTargetDetectorRecipeRequest request, AsyncHandler<DeleteTargetDetectorRecipeRequest,DeleteTargetDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes the target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId, from a target (Target resource) identified by targetId.- Specified by:
deleteTargetDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
deleteTargetResponderRecipe
public Future<DeleteTargetResponderRecipeResponse> deleteTargetResponderRecipe(DeleteTargetResponderRecipeRequest request, AsyncHandler<DeleteTargetResponderRecipeRequest,DeleteTargetResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Detaches a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, from a target (Target resource) identified by targetId.- Specified by:
deleteTargetResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
deleteWlpAgent
public Future<DeleteWlpAgentResponse> deleteWlpAgent(DeleteWlpAgentRequest request, AsyncHandler<DeleteWlpAgentRequest,DeleteWlpAgentResponse> handler)
Description copied from interface:CloudGuardAsync
Deletes and unregisters the WLP agent for an on-premise resource.x-obmcs-splat: routing: strategy: route-to-any-ad serviceList: [ ‘cloudguard-cp-SPLAT_ENV’ ] resources: wlpAgent: serviceResourceName: WlpAgent targetCompartmentId: downstream.getOr404(‘cloudguard-cp-SPLAT_ENV’, ‘GetWlpAgent’, request.resourceId).compartmentId actionKind: delete resourceOcid: request.resourceId reconciliationCanStartAfterSecs: 30 permissions: [ "WLP_AGENT_DELETE" ] authorization: mode: automated check: resources[‘wlpAgent’].grantedPermissions.contains(‘WLP_AGENT_DELETE’) allowCrossTenancy: true tagStore: mode: automated maximumAttemptCount: 3 throttling: perUserLimit: rpsLimit: 15 perTenantLimit: rpsLimit: 30 quotas: mode: automated search: mode: backfilling operationResourceName: wlpAgent lock: mode: test operationResourceName: wlpAgent
- Specified by:
deleteWlpAgent
in interfaceCloudGuardAsync
- 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.
-
executeResponderExecution
public Future<ExecuteResponderExecutionResponse> executeResponderExecution(ExecuteResponderExecutionRequest request, AsyncHandler<ExecuteResponderExecutionRequest,ExecuteResponderExecutionResponse> handler)
Description copied from interface:CloudGuardAsync
Executes the responder execution.When provided, if-match is checked against etag values of the resource.
- Specified by:
executeResponderExecution
in interfaceCloudGuardAsync
- 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.
-
getAdhocQuery
public Future<GetAdhocQueryResponse> getAdhocQuery(GetAdhocQueryRequest request, AsyncHandler<GetAdhocQueryRequest,GetAdhocQueryResponse> handler)
Description copied from interface:CloudGuardAsync
Returns an adhoc query identified by adhocQueryId.- Specified by:
getAdhocQuery
in interfaceCloudGuardAsync
- 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.
-
getAdhocQueryResultContent
public Future<GetAdhocQueryResultContentResponse> getAdhocQueryResultContent(GetAdhocQueryResultContentRequest request, AsyncHandler<GetAdhocQueryResultContentRequest,GetAdhocQueryResultContentResponse> handler)
Description copied from interface:CloudGuardAsync
Downloads the results for a given adhoc ID (from includes results from all monitoring regions).- Specified by:
getAdhocQueryResultContent
in interfaceCloudGuardAsync
- 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.
-
getConditionMetadataType
public Future<GetConditionMetadataTypeResponse> getConditionMetadataType(GetConditionMetadataTypeRequest request, AsyncHandler<GetConditionMetadataTypeRequest,GetConditionMetadataTypeResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a ConditionMetatDataType resource with its details.- Specified by:
getConditionMetadataType
in interfaceCloudGuardAsync
- 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.
-
getConfiguration
public Future<GetConfigurationResponse> getConfiguration(GetConfigurationRequest request, AsyncHandler<GetConfigurationRequest,GetConfigurationResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the configuration details for a Cloud Guard tenancy, identified by root compartment OCID.- Specified by:
getConfiguration
in interfaceCloudGuardAsync
- 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.
-
getDataMaskRule
public Future<GetDataMaskRuleResponse> getDataMaskRule(GetDataMaskRuleRequest request, AsyncHandler<GetDataMaskRuleRequest,GetDataMaskRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a DataMaskRule resource, identified by dataMaskRuleId.- Specified by:
getDataMaskRule
in interfaceCloudGuardAsync
- 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.
-
getDataSource
public Future<GetDataSourceResponse> getDataSource(GetDataSourceRequest request, AsyncHandler<GetDataSourceRequest,GetDataSourceResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a data source (DataSource resource) identified by dataSourceId.- Specified by:
getDataSource
in interfaceCloudGuardAsync
- 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.
-
getDetector
public Future<GetDetectorResponse> getDetector(GetDetectorRequest request, AsyncHandler<GetDetectorRequest,GetDetectorResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a Detector resource, identified by detectorId.- Specified by:
getDetector
in interfaceCloudGuardAsync
- 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.
-
getDetectorRecipe
public Future<GetDetectorRecipeResponse> getDetectorRecipe(GetDetectorRecipeRequest request, AsyncHandler<GetDetectorRecipeRequest,GetDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.- Specified by:
getDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
getDetectorRecipeDetectorRule
public Future<GetDetectorRecipeDetectorRuleResponse> getDetectorRecipeDetectorRule(GetDetectorRecipeDetectorRuleRequest request, AsyncHandler<GetDetectorRecipeDetectorRuleRequest,GetDetectorRecipeDetectorRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a detector rule (DetectorRule resource) identified by detectorRuleId.- Specified by:
getDetectorRecipeDetectorRule
in interfaceCloudGuardAsync
- 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.
-
getDetectorRule
public Future<GetDetectorRuleResponse> getDetectorRule(GetDetectorRuleRequest request, AsyncHandler<GetDetectorRuleRequest,GetDetectorRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a detector rule (DetectorRule resource) identified by detectorRuleId.- Specified by:
getDetectorRule
in interfaceCloudGuardAsync
- 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.
-
getManagedList
public Future<GetManagedListResponse> getManagedList(GetManagedListRequest request, AsyncHandler<GetManagedListRequest,GetManagedListResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a managed list identified by managedListId.- Specified by:
getManagedList
in interfaceCloudGuardAsync
- 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.
-
getProblem
public Future<GetProblemResponse> getProblem(GetProblemRequest request, AsyncHandler<GetProblemRequest,GetProblemResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the Problem resource identified by problemId.- Specified by:
getProblem
in interfaceCloudGuardAsync
- 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.
-
getResource
public Future<GetResourceResponse> getResource(GetResourceRequest request, AsyncHandler<GetResourceRequest,GetResourceResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a resource identified by resourceId- Specified by:
getResource
in interfaceCloudGuardAsync
- 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.
-
getResourceProfile
public Future<GetResourceProfileResponse> getResourceProfile(GetResourceProfileRequest request, AsyncHandler<GetResourceProfileRequest,GetResourceProfileResponse> handler)
Description copied from interface:CloudGuardAsync
Returns details for a resource profile, identified by resourceProfileId.- Specified by:
getResourceProfile
in interfaceCloudGuardAsync
- 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.
-
getResourceVulnerability
public Future<GetResourceVulnerabilityResponse> getResourceVulnerability(GetResourceVulnerabilityRequest request, AsyncHandler<GetResourceVulnerabilityRequest,GetResourceVulnerabilityResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the vulnerability details associated with the cveId where resource is an instance- Specified by:
getResourceVulnerability
in interfaceCloudGuardAsync
- 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.
-
getResponderExecution
public Future<GetResponderExecutionResponse> getResponderExecution(GetResponderExecutionRequest request, AsyncHandler<GetResponderExecutionRequest,GetResponderExecutionResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a responder execution identified by responderExecutionId.- Specified by:
getResponderExecution
in interfaceCloudGuardAsync
- 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.
-
getResponderRecipe
public Future<GetResponderRecipeResponse> getResponderRecipe(GetResponderRecipeRequest request, AsyncHandler<GetResponderRecipeRequest,GetResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a responder recipe (ResponderRecipe resource) identified by responderRecipeId.- Specified by:
getResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
getResponderRecipeResponderRule
public Future<GetResponderRecipeResponderRuleResponse> getResponderRecipeResponderRule(GetResponderRecipeResponderRuleRequest request, AsyncHandler<GetResponderRecipeResponderRuleRequest,GetResponderRecipeResponderRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a responder rule (ResponderRule resource) identified by responderRuleId.- Specified by:
getResponderRecipeResponderRule
in interfaceCloudGuardAsync
- 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.
-
getResponderRule
public Future<GetResponderRuleResponse> getResponderRule(GetResponderRuleRequest request, AsyncHandler<GetResponderRuleRequest,GetResponderRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a responder rule (ResponderRule resource) identified by resonderRuleId.- Specified by:
getResponderRule
in interfaceCloudGuardAsync
- 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.
-
getSavedQuery
public Future<GetSavedQueryResponse> getSavedQuery(GetSavedQueryRequest request, AsyncHandler<GetSavedQueryRequest,GetSavedQueryResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a SavedQuery resource identified by savedQueryId.- Specified by:
getSavedQuery
in interfaceCloudGuardAsync
- 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.
-
getSecurityPolicy
public Future<GetSecurityPolicyResponse> getSecurityPolicy(GetSecurityPolicyRequest request, AsyncHandler<GetSecurityPolicyRequest,GetSecurityPolicyResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a security zone policy (SecurityPolicy resource), identified by its unique ID (securityPolicyId).When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is blocked.
- Specified by:
getSecurityPolicy
in interfaceCloudGuardAsync
- 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.
-
getSecurityRecipe
public Future<GetSecurityRecipeResponse> getSecurityRecipe(GetSecurityRecipeRequest request, AsyncHandler<GetSecurityRecipeRequest,GetSecurityRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a security zone recipe (SecurityRecipe resource) identified by securityRecipeId.- Specified by:
getSecurityRecipe
in interfaceCloudGuardAsync
- 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.
-
getSecurityZone
public Future<GetSecurityZoneResponse> getSecurityZone(GetSecurityZoneRequest request, AsyncHandler<GetSecurityZoneRequest,GetSecurityZoneResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a security zone (SecurityZone resource) identified by securityZoneId.- Specified by:
getSecurityZone
in interfaceCloudGuardAsync
- 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.
-
getSighting
public Future<GetSightingResponse> getSighting(GetSightingRequest request, AsyncHandler<GetSightingRequest,GetSightingResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a single sighting (Sighting resource) identified by sightingId.- Specified by:
getSighting
in interfaceCloudGuardAsync
- 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.
-
getTarget
public Future<GetTargetResponse> getTarget(GetTargetRequest request, AsyncHandler<GetTargetRequest,GetTargetResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a target (Target resource) identified by targetId.- Specified by:
getTarget
in interfaceCloudGuardAsync
- 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.
-
getTargetDetectorRecipe
public Future<GetTargetDetectorRecipeResponse> getTargetDetectorRecipe(GetTargetDetectorRecipeRequest request, AsyncHandler<GetTargetDetectorRecipeRequest,GetTargetDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId.- Specified by:
getTargetDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
getTargetDetectorRecipeDetectorRule
public Future<GetTargetDetectorRecipeDetectorRuleResponse> getTargetDetectorRecipeDetectorRule(GetTargetDetectorRecipeDetectorRuleRequest request, AsyncHandler<GetTargetDetectorRecipeDetectorRuleRequest,GetTargetDetectorRecipeDetectorRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Returns DetectorRule resource by identified by targetDetectorRecipeId.- Specified by:
getTargetDetectorRecipeDetectorRule
in interfaceCloudGuardAsync
- 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.
-
getTargetResponderRecipe
public Future<GetTargetResponderRecipeResponse> getTargetResponderRecipe(GetTargetResponderRecipeRequest request, AsyncHandler<GetTargetResponderRecipeRequest,GetTargetResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a target responder recipe (TargetResponderRecipe) identified by targetResponderRecipeId for a target (Target resource) identified by targetId.- Specified by:
getTargetResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
getTargetResponderRecipeResponderRule
public Future<GetTargetResponderRecipeResponderRuleResponse> getTargetResponderRecipeResponderRule(GetTargetResponderRecipeResponderRuleRequest request, AsyncHandler<GetTargetResponderRecipeResponderRuleRequest,GetTargetResponderRecipeResponderRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a responder rule (ResponderRule resource) identified by responderRuleId, from a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, attached to a target (Target resource) identified by targetId.- Specified by:
getTargetResponderRecipeResponderRule
in interfaceCloudGuardAsync
- 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.
-
getWlpAgent
public Future<GetWlpAgentResponse> getWlpAgent(GetWlpAgentRequest request, AsyncHandler<GetWlpAgentRequest,GetWlpAgentResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a WlpAgent resource for an on-premise resource identified by wlpAgentId.- Specified by:
getWlpAgent
in interfaceCloudGuardAsync
- 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:CloudGuardAsync
Returns details for a work request (WorkRequest resource) identified by workRequestId.- Specified by:
getWorkRequest
in interfaceCloudGuardAsync
- 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.
-
listAdhocQueries
public Future<ListAdhocQueriesResponse> listAdhocQueries(ListAdhocQueriesRequest request, AsyncHandler<ListAdhocQueriesRequest,ListAdhocQueriesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all adhoc queries (AdhocQuery resources) for a compartment identified by compartmentId.List is returned in a AdhocQueryCollection resource with page of AdhocQuerySummary resources.
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listAdhocQueries
in interfaceCloudGuardAsync
- 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.
-
listAdhocQueryResults
public Future<ListAdhocQueryResultsResponse> listAdhocQueryResults(ListAdhocQueryResultsRequest request, AsyncHandler<ListAdhocQueryResultsRequest,ListAdhocQueryResultsResponse> handler)
Description copied from interface:CloudGuardAsync
Lists the results for a given adhoc ID (from includes results from all monitoring regions).- Specified by:
listAdhocQueryResults
in interfaceCloudGuardAsync
- 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.
-
listConditionMetadataTypes
public Future<ListConditionMetadataTypesResponse> listConditionMetadataTypes(ListConditionMetadataTypesRequest request, AsyncHandler<ListConditionMetadataTypesRequest,ListConditionMetadataTypesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of ConditionMetadataType resources.- Specified by:
listConditionMetadataTypes
in interfaceCloudGuardAsync
- 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.
-
listDataMaskRules
public Future<ListDataMaskRulesResponse> listDataMaskRules(ListDataMaskRulesRequest request, AsyncHandler<ListDataMaskRulesRequest,ListDataMaskRulesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all DataMaskRule resources in the specified compartmentId (OCID) and its subcompartments.- Specified by:
listDataMaskRules
in interfaceCloudGuardAsync
- 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.
-
listDataSourceEvents
public Future<ListDataSourceEventsResponse> listDataSourceEvents(ListDataSourceEventsRequest request, AsyncHandler<ListDataSourceEventsRequest,ListDataSourceEventsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of data source events (DataSourceEventCollection resource) from the data source (DataSource resource) identified by dataSourceId.- Specified by:
listDataSourceEvents
in interfaceCloudGuardAsync
- 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.
-
listDataSources
public Future<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest request, AsyncHandler<ListDataSourcesRequest,ListDataSourcesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all data sources (DataSource resources) for a compartment identified by compartmentId.List is returned in a DataSourceCollection resource with page of DataSourceSummary resources.
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listDataSources
in interfaceCloudGuardAsync
- 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.
-
listDetectorRecipeDetectorRules
public Future<ListDetectorRecipeDetectorRulesResponse> listDetectorRecipeDetectorRules(ListDetectorRecipeDetectorRulesRequest request, AsyncHandler<ListDetectorRecipeDetectorRulesRequest,ListDetectorRecipeDetectorRulesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of detector rules (DetectorRule resources) for a detector recipe (DetectorRecipe resource), identified by detectorRecipeId.- Specified by:
listDetectorRecipeDetectorRules
in interfaceCloudGuardAsync
- 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.
-
listDetectorRecipes
public Future<ListDetectorRecipesResponse> listDetectorRecipes(ListDetectorRecipesRequest request, AsyncHandler<ListDetectorRecipesRequest,ListDetectorRecipesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all detector recipes (DetectorRecipe resources) in a compartment, identified by compartmentId.The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListDetectorRecipes on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listDetectorRecipes
in interfaceCloudGuardAsync
- 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.
-
listDetectorRules
public Future<ListDetectorRulesResponse> listDetectorRules(ListDetectorRulesRequest request, AsyncHandler<ListDetectorRulesRequest,ListDetectorRulesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of detector rules for the DetectorRecipe resource identified by detectorId.- Specified by:
listDetectorRules
in interfaceCloudGuardAsync
- 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.
-
listDetectors
public Future<ListDetectorsResponse> listDetectors(ListDetectorsRequest request, AsyncHandler<ListDetectorsRequest,ListDetectorsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a detector catalog (DetectorCollection resource) with a list of DetectorSummary resources.- Specified by:
listDetectors
in interfaceCloudGuardAsync
- 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.
-
listImpactedResources
public Future<ListImpactedResourcesResponse> listImpactedResources(ListImpactedResourcesRequest request, AsyncHandler<ListImpactedResourcesRequest,ListImpactedResourcesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of impacted resources for a problem identified by problemId.- Specified by:
listImpactedResources
in interfaceCloudGuardAsync
- 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.
-
listManagedListTypes
public Future<ListManagedListTypesResponse> listManagedListTypes(ListManagedListTypesRequest request, AsyncHandler<ListManagedListTypesRequest,ListManagedListTypesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns all managed list types (listType parameter) that Cloud Guard supports.- Specified by:
listManagedListTypes
in interfaceCloudGuardAsync
- 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.
-
listManagedLists
public Future<ListManagedListsResponse> listManagedLists(ListManagedListsRequest request, AsyncHandler<ListManagedListsRequest,ListManagedListsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all ManagedList resources in a compartment, identified by compartmentId.The ListManagedLists operation returns only the managed lists in
compartmentId
passed. The list does not include any subcompartments of the compartmentId passed.The parameter `accessLevel` specifies whether to return ManagedLists in only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListManagedLists on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listManagedLists
in interfaceCloudGuardAsync
- 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.
-
listPolicies
public Future<ListPoliciesResponse> listPolicies(ListPoliciesRequest request, AsyncHandler<ListPoliciesRequest,ListPoliciesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the list of global policy statements (policy attributes) needed to fully enable Cloud Guard.- Specified by:
listPolicies
in interfaceCloudGuardAsync
- 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.
-
listProblemEndpoints
public Future<ListProblemEndpointsResponse> listProblemEndpoints(ListProblemEndpointsRequest request, AsyncHandler<ListProblemEndpointsRequest,ListProblemEndpointsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of endpoints associated with a problem, identified by problemId.- Specified by:
listProblemEndpoints
in interfaceCloudGuardAsync
- 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.
-
listProblemEntities
public Future<ListProblemEntitiesResponse> listProblemEntities(ListProblemEntitiesRequest request, AsyncHandler<ListProblemEntitiesRequest,ListProblemEntitiesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of entities for a problem.- Specified by:
listProblemEntities
in interfaceCloudGuardAsync
- 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.
-
listProblemHistories
public Future<ListProblemHistoriesResponse> listProblemHistories(ListProblemHistoriesRequest request, AsyncHandler<ListProblemHistoriesRequest,ListProblemHistoriesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of actions taken on a problem.- Specified by:
listProblemHistories
in interfaceCloudGuardAsync
- 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.
-
listProblems
public Future<ListProblemsResponse> listProblems(ListProblemsRequest request, AsyncHandler<ListProblemsRequest,ListProblemsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all Problems identified by Cloud Guard which are currently in the database and meet the filtering criteria.The ListProblems operation returns only the problems in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListProblems on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listProblems
in interfaceCloudGuardAsync
- 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.
-
listRecommendations
public Future<ListRecommendationsResponse> listRecommendations(ListRecommendationsRequest request, AsyncHandler<ListRecommendationsRequest,ListRecommendationsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of recommendations (RecommendationSummaryCollection resource with a page of RecommendationSummary resources) for a specified compartment OCID.- Specified by:
listRecommendations
in interfaceCloudGuardAsync
- 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.
-
listResourcePorts
public Future<ListResourcePortsResponse> listResourcePorts(ListResourcePortsRequest request, AsyncHandler<ListResourcePortsRequest,ListResourcePortsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the list of open ports associated with the resourceId where resource is an instance- Specified by:
listResourcePorts
in interfaceCloudGuardAsync
- 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.
-
listResourceProfileEndpoints
public Future<ListResourceProfileEndpointsResponse> listResourceProfileEndpoints(ListResourceProfileEndpointsRequest request, AsyncHandler<ListResourceProfileEndpointsRequest,ListResourceProfileEndpointsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of endpoints (ResourceProfileEndpointCollection resource with a page of ResourceProfileEndpointSummary resources) for a resource profile identified by resourceProfileId.- Specified by:
listResourceProfileEndpoints
in interfaceCloudGuardAsync
- 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.
-
listResourceProfileImpactedResources
public Future<ListResourceProfileImpactedResourcesResponse> listResourceProfileImpactedResources(ListResourceProfileImpactedResourcesRequest request, AsyncHandler<ListResourceProfileImpactedResourcesRequest,ListResourceProfileImpactedResourcesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of impacted resources (ResourceProfileImpactedResourceCollection resource with a page of ResourceProfileImpactedResourceSummary resources) for a resource profile identified by resourceProfileId.- Specified by:
listResourceProfileImpactedResources
in interfaceCloudGuardAsync
- 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.
-
listResourceProfiles
public Future<ListResourceProfilesResponse> listResourceProfiles(ListResourceProfilesRequest request, AsyncHandler<ListResourceProfilesRequest,ListResourceProfilesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all resource profile summaries (ResourceProfileCollection resource with a page of ResourceProfileSummary resources) for a compartment, identified by compartmentId and filtered as specified.The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListResourceProfiles on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listResourceProfiles
in interfaceCloudGuardAsync
- 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.
-
listResourceTypes
public Future<ListResourceTypesResponse> listResourceTypes(ListResourceTypesRequest request, AsyncHandler<ListResourceTypesRequest,ListResourceTypesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a single ResourceTypeCollection resource, containing a list of resource types, identified by parameters specified.- Specified by:
listResourceTypes
in interfaceCloudGuardAsync
- 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.
-
listResourceVulnerabilities
public Future<ListResourceVulnerabilitiesResponse> listResourceVulnerabilities(ListResourceVulnerabilitiesRequest request, AsyncHandler<ListResourceVulnerabilitiesRequest,ListResourceVulnerabilitiesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the list of vulnerabilities associated with the resourceId where resource is an instance- Specified by:
listResourceVulnerabilities
in interfaceCloudGuardAsync
- 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.
-
listResources
public Future<ListResourcesResponse> listResources(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all resources in a compartmentThe ListResources operation returns only the resources in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListResources on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listResources
in interfaceCloudGuardAsync
- 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.
-
listResponderActivities
public Future<ListResponderActivitiesResponse> listResponderActivities(ListResponderActivitiesRequest request, AsyncHandler<ListResponderActivitiesRequest,ListResponderActivitiesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of responder activities for a problem, identified by problemId, in a ResponderActivityCollection resource, with a page of ResponderActivitySummary resources.- Specified by:
listResponderActivities
in interfaceCloudGuardAsync
- 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.
-
listResponderExecutions
public Future<ListResponderExecutionsResponse> listResponderExecutions(ListResponderExecutionsRequest request, AsyncHandler<ListResponderExecutionsRequest,ListResponderExecutionsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of responder executions.A responder execution is an entity that tracks the collective execution of multiple responder rule executions for a given problem.
- Specified by:
listResponderExecutions
in interfaceCloudGuardAsync
- 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.
-
listResponderRecipeResponderRules
public Future<ListResponderRecipeResponderRulesResponse> listResponderRecipeResponderRules(ListResponderRecipeResponderRulesRequest request, AsyncHandler<ListResponderRecipeResponderRulesRequest,ListResponderRecipeResponderRulesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of responder rules (ResponderRule resources in a responderRecipeResponderRuleCollection resource, with page of ResponderRuleSummary resources), for a responder recipe (ResponderRecipe resource), identified by responderRecipeId.- Specified by:
listResponderRecipeResponderRules
in interfaceCloudGuardAsync
- 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.
-
listResponderRecipes
public Future<ListResponderRecipesResponse> listResponderRecipes(ListResponderRecipesRequest request, AsyncHandler<ListResponderRecipesRequest,ListResponderRecipesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list (ResponderRecipeCollection resource, with a page of ResponderRecipeSummary resources) of all responder recipes (RespponderRecipe resources) in a compartment, identified by compartmentId.The ListResponderRecipe operation returns only the targets in
compartmentId
passed. The list does not include any subcompartments of the compartmentId passed.The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListResponderRecipe on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listResponderRecipes
in interfaceCloudGuardAsync
- 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.
-
listResponderRules
public Future<ListResponderRulesResponse> listResponderRules(ListResponderRulesRequest request, AsyncHandler<ListResponderRulesRequest,ListResponderRulesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of responder rules for the ResponderRecipe resource identified by responderId.The list is contained in a ResponderRuleCollection resource with a page of ResponderRuleSummary resources.
- Specified by:
listResponderRules
in interfaceCloudGuardAsync
- 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.
-
listSavedQueries
public Future<ListSavedQueriesResponse> listSavedQueries(ListSavedQueriesRequest request, AsyncHandler<ListSavedQueriesRequest,ListSavedQueriesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of saved queries run in a tenancy.- Specified by:
listSavedQueries
in interfaceCloudGuardAsync
- 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.
-
listSecurityPolicies
public Future<ListSecurityPoliciesResponse> listSecurityPolicies(ListSecurityPoliciesRequest request, AsyncHandler<ListSecurityPoliciesRequest,ListSecurityPoliciesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of security zone policies (SecurityPolicySummary resources), identified by compartmentId.- Specified by:
listSecurityPolicies
in interfaceCloudGuardAsync
- 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.
-
listSecurityRecipes
public Future<ListSecurityRecipesResponse> listSecurityRecipes(ListSecurityRecipesRequest request, AsyncHandler<ListSecurityRecipesRequest,ListSecurityRecipesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of security zone recipes (SecurityRecipeSummary resources) in a compartment, identified by compartmentId.- Specified by:
listSecurityRecipes
in interfaceCloudGuardAsync
- 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.
-
listSecurityZones
public Future<ListSecurityZonesResponse> listSecurityZones(ListSecurityZonesRequest request, AsyncHandler<ListSecurityZonesRequest,ListSecurityZonesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of security zones (SecurityZone resources) in a compartment identified by compartmentId.List is contained in a page of SecurityZoneSummary resources.
- Specified by:
listSecurityZones
in interfaceCloudGuardAsync
- 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.
-
listSightingEndpoints
public Future<ListSightingEndpointsResponse> listSightingEndpoints(ListSightingEndpointsRequest request, AsyncHandler<ListSightingEndpointsRequest,ListSightingEndpointsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns sighting endpoints details in a SightingEndpointsCollection resource with a page of SightingEndpointSummary resources.- Specified by:
listSightingEndpoints
in interfaceCloudGuardAsync
- 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.
-
listSightingImpactedResources
public Future<ListSightingImpactedResourcesResponse> listSightingImpactedResources(ListSightingImpactedResourcesRequest request, AsyncHandler<ListSightingImpactedResourcesRequest,ListSightingImpactedResourcesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of impacted resources for a sighting, identified by sightingId, in a SightingImpactedResourceCollection resource with a page of SightingImpactedResourceSummary resources.- Specified by:
listSightingImpactedResources
in interfaceCloudGuardAsync
- 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.
-
listSightings
public Future<ListSightingsResponse> listSightings(ListSightingsRequest request, AsyncHandler<ListSightingsRequest,ListSightingsResponse> handler)
Description copied from interface:CloudGuardAsync
For the parameters passed, returns a list of sightings (SightingCollection resource) with a page of SightingSummary resources.The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListSightings on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listSightings
in interfaceCloudGuardAsync
- 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.
-
listTactics
public Future<ListTacticsResponse> listTactics(ListTacticsRequest request, AsyncHandler<ListTacticsRequest,ListTacticsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of TacticSummary resources for a compartment, identified by compartmentId.- Specified by:
listTactics
in interfaceCloudGuardAsync
- 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.
-
listTargetDetectorRecipeDetectorRules
public Future<ListTargetDetectorRecipeDetectorRulesResponse> listTargetDetectorRecipeDetectorRules(ListTargetDetectorRecipeDetectorRulesRequest request, AsyncHandler<ListTargetDetectorRecipeDetectorRulesRequest,ListTargetDetectorRecipeDetectorRulesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of DetectorRule associated with DetectorRecipe within a Target.- Specified by:
listTargetDetectorRecipeDetectorRules
in interfaceCloudGuardAsync
- 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.
-
listTargetDetectorRecipes
public Future<ListTargetDetectorRecipesResponse> listTargetDetectorRecipes(ListTargetDetectorRecipesRequest request, AsyncHandler<ListTargetDetectorRecipesRequest,ListTargetDetectorRecipesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of all target detector recipes (TargetDetectorRecipe resources) associated with a target (Target resource), identified by targetId.The list is contained in a TargetDetectorRecipeCollection resource with page of TargetDetectorRecipeSummary resources.
- Specified by:
listTargetDetectorRecipes
in interfaceCloudGuardAsync
- 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.
-
listTargetResponderRecipeResponderRules
public Future<ListTargetResponderRecipeResponderRulesResponse> listTargetResponderRecipeResponderRules(ListTargetResponderRecipeResponderRulesRequest request, AsyncHandler<ListTargetResponderRecipeResponderRulesRequest,ListTargetResponderRecipeResponderRulesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of responder rules (ResponderRule resources) associated with a responder recipe (ResponderRecipe resource) attached to a Target.List is returned in a TargetResponderRecipeResponderRuleCollection resource with page of TargetResponderRecipeResponderRuleSummary resources.
- Specified by:
listTargetResponderRecipeResponderRules
in interfaceCloudGuardAsync
- 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.
-
listTargetResponderRecipes
public Future<ListTargetResponderRecipesResponse> listTargetResponderRecipes(ListTargetResponderRecipesRequest request, AsyncHandler<ListTargetResponderRecipesRequest,ListTargetResponderRecipesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of summary information for all responder recipes (TargetResponderRecipeCollection resource, with a page of TargetResponderRecipeSummary resources) attached to a target identified by targetId, located in a compartment identified by compartmentId.- Specified by:
listTargetResponderRecipes
in interfaceCloudGuardAsync
- 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.
-
listTargets
public Future<ListTargetsResponse> listTargets(ListTargetsRequest request, AsyncHandler<ListTargetsRequest,ListTargetsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of targets (TargetCollection resource with page of TargetSummary resources) for the target identified by compartmentId.By default, only the target associated with the compartment is returned. Setting compartmentIdInSubtree to true returns the entire hierarchy of targets in subcompartments.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all targets in compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
listTargets
in interfaceCloudGuardAsync
- 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.
-
listTechniques
public Future<ListTechniquesResponse> listTechniques(ListTechniquesRequest request, AsyncHandler<ListTechniquesRequest,ListTechniquesResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of techniques associated with detector rules.- Specified by:
listTechniques
in interfaceCloudGuardAsync
- 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.
-
listWlpAgents
public Future<ListWlpAgentsResponse> listWlpAgents(ListWlpAgentsRequest request, AsyncHandler<ListWlpAgentsRequest,ListWlpAgentsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of WLP agents in a compartment.- Specified by:
listWlpAgents
in interfaceCloudGuardAsync
- 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:CloudGuardAsync
Returns a list of errors for a work request identified by workRequestId.- Specified by:
listWorkRequestErrors
in interfaceCloudGuardAsync
- 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:CloudGuardAsync
Returns a paginated list (WorkRequestLogEntryCollection resource) of log entries for a request, identified by workRequestId.- Specified by:
listWorkRequestLogs
in interfaceCloudGuardAsync
- 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:CloudGuardAsync
Returns a list of work requests (WorkRequestSummaryCollection resource), in a compartment identified by compartmentId.- Specified by:
listWorkRequests
in interfaceCloudGuardAsync
- 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.
-
removeCompartment
public Future<RemoveCompartmentResponse> removeCompartment(RemoveCompartmentRequest request, AsyncHandler<RemoveCompartmentRequest,RemoveCompartmentResponse> handler)
Description copied from interface:CloudGuardAsync
Removes a compartment from a security zone (SecurityZone resource), identified by securityZoneId.Pass compartmentId of compartment to remove through a RemoveCompartmentDetails resource. When you remove a subcompartment from a security zone, it no longer enforces security zone policies on the resources in the subcompartment. You can’t remove the primary compartment that was used to create the security zone.
- Specified by:
removeCompartment
in interfaceCloudGuardAsync
- 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.
-
requestRiskScores
public Future<RequestRiskScoresResponse> requestRiskScores(RequestRiskScoresRequest request, AsyncHandler<RequestRiskScoresRequest,RequestRiskScoresResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a page of RiskScoreAggregation resources for a compartment, identified by compartmentId.- Specified by:
requestRiskScores
in interfaceCloudGuardAsync
- 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.
-
requestSecurityScoreSummarizedTrend
public Future<RequestSecurityScoreSummarizedTrendResponse> requestSecurityScoreSummarizedTrend(RequestSecurityScoreSummarizedTrendRequest request, AsyncHandler<RequestSecurityScoreSummarizedTrendRequest,RequestSecurityScoreSummarizedTrendResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a page of SecurityScoreTrendAggregation resources.These measure the number of resources examined across all regions and compare it with the number of problems detected.
- Specified by:
requestSecurityScoreSummarizedTrend
in interfaceCloudGuardAsync
- 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.
-
requestSecurityScores
public Future<RequestSecurityScoresResponse> requestSecurityScores(RequestSecurityScoresRequest request, AsyncHandler<RequestSecurityScoresRequest,RequestSecurityScoresResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a page of SecurityScoreAggregation resources.These measure the number of resources examined across all regions and compare it with the number of problems detected.
- Specified by:
requestSecurityScores
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedActivityProblems
public Future<RequestSummarizedActivityProblemsResponse> requestSummarizedActivityProblems(RequestSummarizedActivityProblemsRequest request, AsyncHandler<RequestSummarizedActivityProblemsRequest,RequestSummarizedActivityProblemsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the summary of problems generated by OCI Activity Detector rules, identified by parameters specified.The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
The compartmentId to be passed with `accessLevel` and `compartmentIdInSubtree` params has to be the root compartment id (tenant-id) only.
- Specified by:
requestSummarizedActivityProblems
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedProblems
public Future<RequestSummarizedProblemsResponse> requestSummarizedProblems(RequestSummarizedProblemsRequest request, AsyncHandler<RequestSummarizedProblemsRequest,RequestSummarizedProblemsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the number of problems matching the key-value pairs in dimensionMap.The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
requestSummarizedProblems
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedResponderExecutions
public Future<RequestSummarizedResponderExecutionsResponse> requestSummarizedResponderExecutions(RequestSummarizedResponderExecutionsRequest request, AsyncHandler<RequestSummarizedResponderExecutionsRequest,RequestSummarizedResponderExecutionsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the number of responder executions, identified by parameters specified, in a page of ResponderExecutionAggregation resources.Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or indirectly (permissions can be on a resource in a subcompartment). \u201cNot Authorized\u201d is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or indirectly (permissions can be on a resource in a subcompartment). \u201cNot Authorized\u201d is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
- Specified by:
requestSummarizedResponderExecutions
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedRiskScores
public Future<RequestSummarizedRiskScoresResponse> requestSummarizedRiskScores(RequestSummarizedRiskScoresRequest request, AsyncHandler<RequestSummarizedRiskScoresRequest,RequestSummarizedRiskScoresResponse> handler)
Description copied from interface:CloudGuardAsync
DEPRECATED- Specified by:
requestSummarizedRiskScores
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedSecurityScores
public Future<RequestSummarizedSecurityScoresResponse> requestSummarizedSecurityScores(RequestSummarizedSecurityScoresRequest request, AsyncHandler<RequestSummarizedSecurityScoresRequest,RequestSummarizedSecurityScoresResponse> handler)
Description copied from interface:CloudGuardAsync
DEPRECATED- Specified by:
requestSummarizedSecurityScores
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedTopTrendResourceProfileRiskScores
public Future<RequestSummarizedTopTrendResourceProfileRiskScoresResponse> requestSummarizedTopTrendResourceProfileRiskScores(RequestSummarizedTopTrendResourceProfileRiskScoresRequest request, AsyncHandler<RequestSummarizedTopTrendResourceProfileRiskScoresRequest,RequestSummarizedTopTrendResourceProfileRiskScoresResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a list of resource profile risk score aggregation summaries (ResourceProfileRiskScoreAggregationSummaryCollection resource with a page of ResourceProfileRiskScoreAggregationSummary resources) for a specified compartment.- Specified by:
requestSummarizedTopTrendResourceProfileRiskScores
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedTrendProblems
public Future<RequestSummarizedTrendProblemsResponse> requestSummarizedTrendProblems(RequestSummarizedTrendProblemsRequest request, AsyncHandler<RequestSummarizedTrendProblemsRequest,RequestSummarizedTrendProblemsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a ProblemTrendAggregationCollection resource for a compartment, identified by compartmentId, for the specified time period.The ProblemTrendAggregationCollection resource contains a list of ProblemTrendAggregation resources.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
requestSummarizedTrendProblems
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedTrendResourceRiskScores
public Future<RequestSummarizedTrendResourceRiskScoresResponse> requestSummarizedTrendResourceRiskScores(RequestSummarizedTrendResourceRiskScoresRequest request, AsyncHandler<RequestSummarizedTrendResourceRiskScoresRequest,RequestSummarizedTrendResourceRiskScoresResponse> handler)
Description copied from interface:CloudGuardAsync
Returns a summary of risk score trends in a ResourceRiskScoreAggregationCollection resource, with a page of ResourceRiskScoreAggregation resources, filtered by parameters that you specify in a RequestSummarizedTrendResourceRiskScoresDetailsresource.- Specified by:
requestSummarizedTrendResourceRiskScores
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedTrendResponderExecutions
public Future<RequestSummarizedTrendResponderExecutionsResponse> requestSummarizedTrendResponderExecutions(RequestSummarizedTrendResponderExecutionsRequest request, AsyncHandler<RequestSummarizedTrendResponderExecutionsRequest,RequestSummarizedTrendResponderExecutionsResponse> handler)
Description copied from interface:CloudGuardAsync
Returns the number of remediations performed by Responders, for a given time period.The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
- Specified by:
requestSummarizedTrendResponderExecutions
in interfaceCloudGuardAsync
- 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.
-
requestSummarizedTrendSecurityScores
public Future<RequestSummarizedTrendSecurityScoresResponse> requestSummarizedTrendSecurityScores(RequestSummarizedTrendSecurityScoresRequest request, AsyncHandler<RequestSummarizedTrendSecurityScoresRequest,RequestSummarizedTrendSecurityScoresResponse> handler)
Description copied from interface:CloudGuardAsync
DEPRECATED- Specified by:
requestSummarizedTrendSecurityScores
in interfaceCloudGuardAsync
- 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.
-
skipBulkResponderExecution
public Future<SkipBulkResponderExecutionResponse> skipBulkResponderExecution(SkipBulkResponderExecutionRequest request, AsyncHandler<SkipBulkResponderExecutionRequest,SkipBulkResponderExecutionResponse> handler)
Description copied from interface:CloudGuardAsync
Skips the execution for a bulk of responder executions.- Specified by:
skipBulkResponderExecution
in interfaceCloudGuardAsync
- 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.
-
skipResponderExecution
public Future<SkipResponderExecutionResponse> skipResponderExecution(SkipResponderExecutionRequest request, AsyncHandler<SkipResponderExecutionRequest,SkipResponderExecutionResponse> handler)
Description copied from interface:CloudGuardAsync
Skips the execution of the responder execution.When provided, If-Match is checked against etag values of the resource.
- Specified by:
skipResponderExecution
in interfaceCloudGuardAsync
- 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.
-
triggerResponder
public Future<TriggerResponderResponse> triggerResponder(TriggerResponderRequest request, AsyncHandler<TriggerResponderRequest,TriggerResponderResponse> handler)
Description copied from interface:CloudGuardAsync
Sends the problem identified by problemId to the responder engine, to be processed by rule that\u2019s identified by responderRuleId, in the TriggerResponderDetails resource that\u2019s passed.- Specified by:
triggerResponder
in interfaceCloudGuardAsync
- 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.
-
updateBulkProblemStatus
public Future<UpdateBulkProblemStatusResponse> updateBulkProblemStatus(UpdateBulkProblemStatusRequest request, AsyncHandler<UpdateBulkProblemStatusRequest,UpdateBulkProblemStatusResponse> handler)
Description copied from interface:CloudGuardAsync
Changes the status for all problems listed in the problemIds array, passed through the UpdateBulkProblemStatusDetails resource, from the current status to the status set in UpdateBulkProblemStatusDetails.- Specified by:
updateBulkProblemStatus
in interfaceCloudGuardAsync
- 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.
-
updateConfiguration
public Future<UpdateConfigurationResponse> updateConfiguration(UpdateConfigurationRequest request, AsyncHandler<UpdateConfigurationRequest,UpdateConfigurationResponse> handler)
Description copied from interface:CloudGuardAsync
Updates configuration details for a Cloud Guard tenancy, identified by root compartment OCID.The reporting region cannot be updated once created.
- Specified by:
updateConfiguration
in interfaceCloudGuardAsync
- 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.
-
updateDataMaskRule
public Future<UpdateDataMaskRuleResponse> updateDataMaskRule(UpdateDataMaskRuleRequest request, AsyncHandler<UpdateDataMaskRuleRequest,UpdateDataMaskRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a data mask rule (DataMaskRule resource) identified by dataMaskRuleId.- Specified by:
updateDataMaskRule
in interfaceCloudGuardAsync
- 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.
-
updateDataSource
public Future<UpdateDataSourceResponse> updateDataSource(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest,UpdateDataSourceResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a data source (DataSource resource) identified by dataSourceId, using values passed in an UpdateDataSourceDetails resource.- Specified by:
updateDataSource
in interfaceCloudGuardAsync
- 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.
-
updateDetectorRecipe
public Future<UpdateDetectorRecipeResponse> updateDetectorRecipe(UpdateDetectorRecipeRequest request, AsyncHandler<UpdateDetectorRecipeRequest,UpdateDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.- Specified by:
updateDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
updateDetectorRecipeDetectorRule
public Future<UpdateDetectorRecipeDetectorRuleResponse> updateDetectorRecipeDetectorRule(UpdateDetectorRecipeDetectorRuleRequest request, AsyncHandler<UpdateDetectorRecipeDetectorRuleRequest,UpdateDetectorRecipeDetectorRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a detector rule (DetectorRule resource) identified by detectorRuleId.- Specified by:
updateDetectorRecipeDetectorRule
in interfaceCloudGuardAsync
- 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.
-
updateManagedList
public Future<UpdateManagedListResponse> updateManagedList(UpdateManagedListRequest request, AsyncHandler<UpdateManagedListRequest,UpdateManagedListResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a ManagedList resource, identified by managedList.- Specified by:
updateManagedList
in interfaceCloudGuardAsync
- 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.
-
updateProblemStatus
public Future<UpdateProblemStatusResponse> updateProblemStatus(UpdateProblemStatusRequest request, AsyncHandler<UpdateProblemStatusRequest,UpdateProblemStatusResponse> handler)
Description copied from interface:CloudGuardAsync
Changes the current status of the problem, identified by problemId, to the status specified in the UpdateProblemStatusDetails resource that you pass.- Specified by:
updateProblemStatus
in interfaceCloudGuardAsync
- 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.
-
updateResponderRecipe
public Future<UpdateResponderRecipeResponse> updateResponderRecipe(UpdateResponderRecipeRequest request, AsyncHandler<UpdateResponderRecipeRequest,UpdateResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a responder recipe (ResponderRecipe resource) identified by responderRecipeId, passed in an UpdateResponderRecipeDetails resource.- Specified by:
updateResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
updateResponderRecipeResponderRule
public Future<UpdateResponderRecipeResponderRuleResponse> updateResponderRecipeResponderRule(UpdateResponderRecipeResponderRuleRequest request, AsyncHandler<UpdateResponderRecipeResponderRuleRequest,UpdateResponderRecipeResponderRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a responder rule (ResponderRule resource) identified by responderRuleId, passed in a UpdateResponderRecipeResponderRuleDetails resource.- Specified by:
updateResponderRecipeResponderRule
in interfaceCloudGuardAsync
- 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.
-
updateSavedQuery
public Future<UpdateSavedQueryResponse> updateSavedQuery(UpdateSavedQueryRequest request, AsyncHandler<UpdateSavedQueryRequest,UpdateSavedQueryResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a saved query identified by savedQueryId.- Specified by:
updateSavedQuery
in interfaceCloudGuardAsync
- 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.
-
updateSecurityRecipe
public Future<UpdateSecurityRecipeResponse> updateSecurityRecipe(UpdateSecurityRecipeRequest request, AsyncHandler<UpdateSecurityRecipeRequest,UpdateSecurityRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a security zone recipe (SecurityRecipe resource), identified by securityRecipeId, using parameters passed in an UpdateSecurityRecipeDetails resource.- Specified by:
updateSecurityRecipe
in interfaceCloudGuardAsync
- 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.
-
updateSecurityZone
public Future<UpdateSecurityZoneResponse> updateSecurityZone(UpdateSecurityZoneRequest request, AsyncHandler<UpdateSecurityZoneRequest,UpdateSecurityZoneResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a security zone (SecurityZone resource) identified by securityZoneId.Pass parameters through an UpdateSecurityZoneDetails resource.
- Specified by:
updateSecurityZone
in interfaceCloudGuardAsync
- 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.
-
updateTarget
public Future<UpdateTargetResponse> updateTarget(UpdateTargetRequest request, AsyncHandler<UpdateTargetRequest,UpdateTargetResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a target (Target resource) identified by targetId, using parameters passed in an UpdateTargetDetails resource.- Specified by:
updateTarget
in interfaceCloudGuardAsync
- 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.
-
updateTargetDetectorRecipe
public Future<UpdateTargetDetectorRecipeResponse> updateTargetDetectorRecipe(UpdateTargetDetectorRecipeRequest request, AsyncHandler<UpdateTargetDetectorRecipeRequest,UpdateTargetDetectorRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a target detector recipe (TargtetDetectorRecipe resource) identified by targetDetectorRecipeId, using parameters passed in an UpdateTargetDetectorRecipeDetails resource.- Specified by:
updateTargetDetectorRecipe
in interfaceCloudGuardAsync
- 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.
-
updateTargetDetectorRecipeDetectorRule
public Future<UpdateTargetDetectorRecipeDetectorRuleResponse> updateTargetDetectorRecipeDetectorRule(UpdateTargetDetectorRecipeDetectorRuleRequest request, AsyncHandler<UpdateTargetDetectorRecipeDetectorRuleRequest,UpdateTargetDetectorRecipeDetectorRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Updates the DetectorRule resource identified by targetDetectorRecipeId- Specified by:
updateTargetDetectorRecipeDetectorRule
in interfaceCloudGuardAsync
- 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.
-
updateTargetResponderRecipe
public Future<UpdateTargetResponderRecipeResponse> updateTargetResponderRecipe(UpdateTargetResponderRecipeRequest request, AsyncHandler<UpdateTargetResponderRecipeRequest,UpdateTargetResponderRecipeResponse> handler)
Description copied from interface:CloudGuardAsync
Updates the target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, attached to a target identified by targetId.Pass parameters for the update through an UpdateTargetResponderRecipeDetails resource.
- Specified by:
updateTargetResponderRecipe
in interfaceCloudGuardAsync
- 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.
-
updateTargetResponderRecipeResponderRule
public Future<UpdateTargetResponderRecipeResponderRuleResponse> updateTargetResponderRecipeResponderRule(UpdateTargetResponderRecipeResponderRuleRequest request, AsyncHandler<UpdateTargetResponderRecipeResponderRuleRequest,UpdateTargetResponderRecipeResponderRuleResponse> handler)
Description copied from interface:CloudGuardAsync
Updates a responder rule (ResponderRule resource) identified by responderRuleId, for a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, for a target (Target resource) identified by targetId.Parameters for the update are passed through an UpdateTargetResponderRecipeResponderRuleDetails resource.
- Specified by:
updateTargetResponderRecipeResponderRule
in interfaceCloudGuardAsync
- 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.
-
updateWlpAgent
public Future<UpdateWlpAgentResponse> updateWlpAgent(UpdateWlpAgentRequest request, AsyncHandler<UpdateWlpAgentRequest,UpdateWlpAgentResponse> handler)
Description copied from interface:CloudGuardAsync
Updates and renews the certificate for an on-premise WLP agent identified by wlpAgentId.- Specified by:
updateWlpAgent
in interfaceCloudGuardAsync
- 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)
-
-