Class LoggingManagementClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.logging.LoggingManagementClient
-
- All Implemented Interfaces:
LoggingManagement,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public class LoggingManagementClient extends BaseSyncClient implements LoggingManagement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoggingManagementClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for LoggingManagement.
-
Constructor Summary
Constructors Constructor Description LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoggingManagementClient.Builderbuilder()Create a builder for this client.ChangeLogGroupCompartmentResponsechangeLogGroupCompartment(ChangeLogGroupCompartmentRequest request)Moves a log group into a different compartment within the same tenancy.ChangeLogLogGroupResponsechangeLogLogGroup(ChangeLogLogGroupRequest request)Moves a log into a different log group within the same tenancy.ChangeLogSavedSearchCompartmentResponsechangeLogSavedSearchCompartment(ChangeLogSavedSearchCompartmentRequest request)Moves a saved search into a different compartment within the same tenancy.ChangeUnifiedAgentConfigurationCompartmentResponsechangeUnifiedAgentConfigurationCompartment(ChangeUnifiedAgentConfigurationCompartmentRequest request)Moves the unified agent configuration into a different compartment within the same tenancy.voidclose()CreateLogResponsecreateLog(CreateLogRequest request)Creates a log within the specified log group.CreateLogGroupResponsecreateLogGroup(CreateLogGroupRequest request)Create a new log group with a unique display name.CreateLogSavedSearchResponsecreateLogSavedSearch(CreateLogSavedSearchRequest request)Creates a new LogSavedSearch.CreateUnifiedAgentConfigurationResponsecreateUnifiedAgentConfiguration(CreateUnifiedAgentConfigurationRequest request)Create unified agent configuration registration.DeleteLogResponsedeleteLog(DeleteLogRequest request)Deletes the log object in a log group.DeleteLogGroupResponsedeleteLogGroup(DeleteLogGroupRequest request)Deletes the specified log group.DeleteLogSavedSearchResponsedeleteLogSavedSearch(DeleteLogSavedSearchRequest request)Deletes the specified LogSavedSearch.DeleteUnifiedAgentConfigurationResponsedeleteUnifiedAgentConfiguration(DeleteUnifiedAgentConfigurationRequest request)Delete unified agent configuration.DeleteWorkRequestResponsedeleteWorkRequest(DeleteWorkRequestRequest request)Cancel a work request that has not started yet.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()GetLogResponsegetLog(GetLogRequest request)Gets the log object configuration for the log object OCID.GetLogGroupResponsegetLogGroup(GetLogGroupRequest request)Get the specified log group’s information.GetLogSavedSearchResponsegetLogSavedSearch(GetLogSavedSearchRequest request)Retrieves a LogSavedSearch.Optional<String>getMinimumClientCommonLibraryVersionFromClient()LoggingManagementPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetUnifiedAgentConfigurationResponsegetUnifiedAgentConfiguration(GetUnifiedAgentConfigurationRequest request)Get the unified agent configuration for an ID.LoggingManagementWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the details of the work request with the given ID.ListLogGroupsResponselistLogGroups(ListLogGroupsRequest request)Lists all log groups for the specified compartment or tenancy.ListLogsResponselistLogs(ListLogsRequest request)Lists the specified log group’s log objects.ListLogSavedSearchesResponselistLogSavedSearches(ListLogSavedSearchesRequest request)Lists LogSavedSearches for this compartment.ListServicesResponselistServices(ListServicesRequest request)Lists all services that support logging.ListUnifiedAgentConfigurationsResponselistUnifiedAgentConfigurations(ListUnifiedAgentConfigurationsRequest request)Lists all unified agent configurations in the specified compartment.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateLogResponseupdateLog(UpdateLogRequest request)Updates the existing log object with the associated configuration.UpdateLogGroupResponseupdateLogGroup(UpdateLogGroupRequest request)Updates the existing log group with the associated configuration.UpdateLogSavedSearchResponseupdateLogSavedSearch(UpdateLogSavedSearchRequest request)Updates an existing LogSavedSearch.UpdateUnifiedAgentConfigurationResponseupdateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)Update an existing unified agent configuration.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
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.logging.LoggingManagement
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-LoggingManagementClient.Builder.executorService
-
-
Method Detail
-
builder
public static LoggingManagementClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:LoggingManagementSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceLoggingManagement- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:LoggingManagementSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceLoggingManagement- Parameters:
regionId- The public region ID.
-
changeLogGroupCompartment
public ChangeLogGroupCompartmentResponse changeLogGroupCompartment(ChangeLogGroupCompartmentRequest request)
Description copied from interface:LoggingManagementMoves a log group into a different compartment within the same tenancy.When provided, the If-Match is checked against the resource ETag values. For information about moving resources between compartments, see Moving Resources Between Compartments.
- Specified by:
changeLogGroupCompartmentin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLogLogGroup
public ChangeLogLogGroupResponse changeLogLogGroup(ChangeLogLogGroupRequest request)
Description copied from interface:LoggingManagementMoves a log into a different log group within the same tenancy.When provided, the If-Match is checked against the ETag values of the resource.
- Specified by:
changeLogLogGroupin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLogSavedSearchCompartment
public ChangeLogSavedSearchCompartmentResponse changeLogSavedSearchCompartment(ChangeLogSavedSearchCompartmentRequest request)
Description copied from interface:LoggingManagementMoves a saved search into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeLogSavedSearchCompartmentin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeUnifiedAgentConfigurationCompartment
public ChangeUnifiedAgentConfigurationCompartmentResponse changeUnifiedAgentConfigurationCompartment(ChangeUnifiedAgentConfigurationCompartmentRequest request)
Description copied from interface:LoggingManagementMoves the unified agent configuration into a different compartment within the same tenancy.When provided, the If-Match is checked against the ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments.
- Specified by:
changeUnifiedAgentConfigurationCompartmentin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLog
public CreateLogResponse createLog(CreateLogRequest request)
Description copied from interface:LoggingManagementCreates a log within the specified log group.This call fails if a log group has already been created with the same displayName or (service, resource, category) triplet.
- Specified by:
createLogin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLogGroup
public CreateLogGroupResponse createLogGroup(CreateLogGroupRequest request)
Description copied from interface:LoggingManagementCreate a new log group with a unique display name.This call fails if the log group is already created with the same displayName in the compartment.
- Specified by:
createLogGroupin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLogSavedSearch
public CreateLogSavedSearchResponse createLogSavedSearch(CreateLogSavedSearchRequest request)
Description copied from interface:LoggingManagementCreates a new LogSavedSearch.- Specified by:
createLogSavedSearchin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createUnifiedAgentConfiguration
public CreateUnifiedAgentConfigurationResponse createUnifiedAgentConfiguration(CreateUnifiedAgentConfigurationRequest request)
Description copied from interface:LoggingManagementCreate unified agent configuration registration.- Specified by:
createUnifiedAgentConfigurationin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLog
public DeleteLogResponse deleteLog(DeleteLogRequest request)
Description copied from interface:LoggingManagementDeletes the log object in a log group.- Specified by:
deleteLogin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLogGroup
public DeleteLogGroupResponse deleteLogGroup(DeleteLogGroupRequest request)
Description copied from interface:LoggingManagementDeletes the specified log group.- Specified by:
deleteLogGroupin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLogSavedSearch
public DeleteLogSavedSearchResponse deleteLogSavedSearch(DeleteLogSavedSearchRequest request)
Description copied from interface:LoggingManagementDeletes the specified LogSavedSearch.- Specified by:
deleteLogSavedSearchin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteUnifiedAgentConfiguration
public DeleteUnifiedAgentConfigurationResponse deleteUnifiedAgentConfiguration(DeleteUnifiedAgentConfigurationRequest request)
Description copied from interface:LoggingManagementDelete unified agent configuration.- Specified by:
deleteUnifiedAgentConfigurationin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteWorkRequest
public DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
Description copied from interface:LoggingManagementCancel a work request that has not started yet.- Specified by:
deleteWorkRequestin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLog
public GetLogResponse getLog(GetLogRequest request)
Description copied from interface:LoggingManagementGets the log object configuration for the log object OCID.- Specified by:
getLogin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogGroup
public GetLogGroupResponse getLogGroup(GetLogGroupRequest request)
Description copied from interface:LoggingManagementGet the specified log group’s information.- Specified by:
getLogGroupin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLogSavedSearch
public GetLogSavedSearchResponse getLogSavedSearch(GetLogSavedSearchRequest request)
Description copied from interface:LoggingManagementRetrieves a LogSavedSearch.- Specified by:
getLogSavedSearchin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getUnifiedAgentConfiguration
public GetUnifiedAgentConfigurationResponse getUnifiedAgentConfiguration(GetUnifiedAgentConfigurationRequest request)
Description copied from interface:LoggingManagementGet the unified agent configuration for an ID.- Specified by:
getUnifiedAgentConfigurationin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:LoggingManagementGets the details of the work request with the given ID.- Specified by:
getWorkRequestin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogGroups
public ListLogGroupsResponse listLogGroups(ListLogGroupsRequest request)
Description copied from interface:LoggingManagementLists all log groups for the specified compartment or tenancy.- Specified by:
listLogGroupsin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogSavedSearches
public ListLogSavedSearchesResponse listLogSavedSearches(ListLogSavedSearchesRequest request)
Description copied from interface:LoggingManagementLists LogSavedSearches for this compartment.- Specified by:
listLogSavedSearchesin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLogs
public ListLogsResponse listLogs(ListLogsRequest request)
Description copied from interface:LoggingManagementLists the specified log group’s log objects.- Specified by:
listLogsin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listServices
public ListServicesResponse listServices(ListServicesRequest request)
Description copied from interface:LoggingManagementLists all services that support logging.- Specified by:
listServicesin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listUnifiedAgentConfigurations
public ListUnifiedAgentConfigurationsResponse listUnifiedAgentConfigurations(ListUnifiedAgentConfigurationsRequest request)
Description copied from interface:LoggingManagementLists all unified agent configurations in the specified compartment.- Specified by:
listUnifiedAgentConfigurationsin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:LoggingManagementReturn a list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:LoggingManagementReturn a list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:LoggingManagementLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLog
public UpdateLogResponse updateLog(UpdateLogRequest request)
Description copied from interface:LoggingManagementUpdates the existing log object with the associated configuration.This call fails if the log object does not exist.
- Specified by:
updateLogin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLogGroup
public UpdateLogGroupResponse updateLogGroup(UpdateLogGroupRequest request)
Description copied from interface:LoggingManagementUpdates the existing log group with the associated configuration.This call fails if the log group does not exist.
- Specified by:
updateLogGroupin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLogSavedSearch
public UpdateLogSavedSearchResponse updateLogSavedSearch(UpdateLogSavedSearchRequest request)
Description copied from interface:LoggingManagementUpdates an existing LogSavedSearch.- Specified by:
updateLogSavedSearchin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateUnifiedAgentConfiguration
public UpdateUnifiedAgentConfigurationResponse updateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)
Description copied from interface:LoggingManagementUpdate an existing unified agent configuration.This call fails if the log group does not exist.
- Specified by:
updateUnifiedAgentConfigurationin interfaceLoggingManagement- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public LoggingManagementWaiters getWaiters()
Description copied from interface:LoggingManagementGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceLoggingManagement- Returns:
- The service waiters.
-
getPaginators
public LoggingManagementPaginators getPaginators()
Description copied from interface:LoggingManagementGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceLoggingManagement- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-