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 class
LoggingManagementClient.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 LoggingManagement.
-
Constructor Summary
Constructors Constructor Description LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.LoggingManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoggingManagementClient.Builder
builder()
Create a builder for this client.ChangeLogGroupCompartmentResponse
changeLogGroupCompartment(ChangeLogGroupCompartmentRequest request)
Moves a log group into a different compartment within the same tenancy.ChangeLogLogGroupResponse
changeLogLogGroup(ChangeLogLogGroupRequest request)
Moves a log into a different log group within the same tenancy.ChangeLogSavedSearchCompartmentResponse
changeLogSavedSearchCompartment(ChangeLogSavedSearchCompartmentRequest request)
Moves a saved search into a different compartment within the same tenancy.ChangeUnifiedAgentConfigurationCompartmentResponse
changeUnifiedAgentConfigurationCompartment(ChangeUnifiedAgentConfigurationCompartmentRequest request)
Moves the unified agent configuration into a different compartment within the same tenancy.void
close()
CreateLogResponse
createLog(CreateLogRequest request)
Creates a log within the specified log group.CreateLogGroupResponse
createLogGroup(CreateLogGroupRequest request)
Create a new log group with a unique display name.CreateLogSavedSearchResponse
createLogSavedSearch(CreateLogSavedSearchRequest request)
Creates a new LogSavedSearch.CreateUnifiedAgentConfigurationResponse
createUnifiedAgentConfiguration(CreateUnifiedAgentConfigurationRequest request)
Create unified agent configuration registration.DeleteLogResponse
deleteLog(DeleteLogRequest request)
Deletes the log object in a log group.DeleteLogGroupResponse
deleteLogGroup(DeleteLogGroupRequest request)
Deletes the specified log group.DeleteLogSavedSearchResponse
deleteLogSavedSearch(DeleteLogSavedSearchRequest request)
Deletes the specified LogSavedSearch.DeleteUnifiedAgentConfigurationResponse
deleteUnifiedAgentConfiguration(DeleteUnifiedAgentConfigurationRequest request)
Delete unified agent configuration.DeleteWorkRequestResponse
deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request that has not started yet.String
getClientCommonLibraryVersion()
protected ClientConfigurator
getDefaultConfigurator()
String
getEndpoint()
GetLogResponse
getLog(GetLogRequest request)
Gets the log object configuration for the log object OCID.GetLogGroupResponse
getLogGroup(GetLogGroupRequest request)
Get the specified log group’s information.GetLogSavedSearchResponse
getLogSavedSearch(GetLogSavedSearchRequest request)
Retrieves a LogSavedSearch.Optional<String>
getMinimumClientCommonLibraryVersionFromClient()
LoggingManagementPaginators
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetUnifiedAgentConfigurationResponse
getUnifiedAgentConfiguration(GetUnifiedAgentConfigurationRequest request)
Get the unified agent configuration for an ID.LoggingManagementWaiters
getWaiters()
Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponse
getWorkRequest(GetWorkRequestRequest request)
Gets the details of the work request with the given ID.ListLogGroupsResponse
listLogGroups(ListLogGroupsRequest request)
Lists all log groups for the specified compartment or tenancy.ListLogsResponse
listLogs(ListLogsRequest request)
Lists the specified log group’s log objects.ListLogSavedSearchesResponse
listLogSavedSearches(ListLogSavedSearchesRequest request)
Lists LogSavedSearches for this compartment.ListServicesResponse
listServices(ListServicesRequest request)
Lists all services that support logging.ListUnifiedAgentConfigurationsResponse
listUnifiedAgentConfigurations(ListUnifiedAgentConfigurationsRequest request)
Lists all unified agent configurations in the specified compartment.ListWorkRequestErrorsResponse
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a list of errors for a given work request.ListWorkRequestLogsResponse
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a list of logs for a given work request.ListWorkRequestsResponse
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.void
populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.void
refreshClient()
Rebuild the backingHttpClient
.void
setEndpoint(String endpoint)
void
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).void
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).void
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.UpdateLogResponse
updateLog(UpdateLogRequest request)
Updates the existing log object with the associated configuration.UpdateLogGroupResponse
updateLogGroup(UpdateLogGroupRequest request)
Updates the existing log group with the associated configuration.UpdateLogSavedSearchResponse
updateLogSavedSearch(UpdateLogSavedSearchRequest request)
Updates an existing LogSavedSearch.UpdateUnifiedAgentConfigurationResponse
updateUnifiedAgentConfiguration(UpdateUnifiedAgentConfigurationRequest request)
Update an existing unified agent configuration.void
useRealmSpecificEndpointTemplate(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 thebuilder
instead.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 thebuilder
instead.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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLoggingManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(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 (seeLoggingManagementClient.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)
-
LoggingManagementClient
@Deprecated public LoggingManagementClient(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 (seeLoggingManagementClient.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
-
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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeLoggingManagementClient.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
executorService
-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:LoggingManagement
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 interfaceLoggingManagement
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:LoggingManagement
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 interfaceLoggingManagement
- Parameters:
regionId
- The public region ID.
-
changeLogGroupCompartment
public ChangeLogGroupCompartmentResponse changeLogGroupCompartment(ChangeLogGroupCompartmentRequest request)
Description copied from interface:LoggingManagement
Moves 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:
changeLogGroupCompartment
in 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:LoggingManagement
Moves 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:
changeLogLogGroup
in 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:LoggingManagement
Moves 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:
changeLogSavedSearchCompartment
in 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:LoggingManagement
Moves 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:
changeUnifiedAgentConfigurationCompartment
in 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:LoggingManagement
Creates 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:
createLog
in 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:LoggingManagement
Create 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:
createLogGroup
in 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:LoggingManagement
Creates a new LogSavedSearch.- Specified by:
createLogSavedSearch
in 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:LoggingManagement
Create unified agent configuration registration.- Specified by:
createUnifiedAgentConfiguration
in 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:LoggingManagement
Deletes the log object in a log group.- Specified by:
deleteLog
in 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:LoggingManagement
Deletes the specified log group.- Specified by:
deleteLogGroup
in 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:LoggingManagement
Deletes the specified LogSavedSearch.- Specified by:
deleteLogSavedSearch
in 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:LoggingManagement
Delete unified agent configuration.- Specified by:
deleteUnifiedAgentConfiguration
in 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:LoggingManagement
Cancel a work request that has not started yet.- Specified by:
deleteWorkRequest
in 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:LoggingManagement
Gets the log object configuration for the log object OCID.- Specified by:
getLog
in 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:LoggingManagement
Get the specified log group’s information.- Specified by:
getLogGroup
in 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:LoggingManagement
Retrieves a LogSavedSearch.- Specified by:
getLogSavedSearch
in 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:LoggingManagement
Get the unified agent configuration for an ID.- Specified by:
getUnifiedAgentConfiguration
in 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:LoggingManagement
Gets the details of the work request with the given ID.- Specified by:
getWorkRequest
in 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:LoggingManagement
Lists all log groups for the specified compartment or tenancy.- Specified by:
listLogGroups
in 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:LoggingManagement
Lists LogSavedSearches for this compartment.- Specified by:
listLogSavedSearches
in 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:LoggingManagement
Lists the specified log group’s log objects.- Specified by:
listLogs
in 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:LoggingManagement
Lists all services that support logging.- Specified by:
listServices
in 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:LoggingManagement
Lists all unified agent configurations in the specified compartment.- Specified by:
listUnifiedAgentConfigurations
in 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:LoggingManagement
Return a list of errors for a given work request.- Specified by:
listWorkRequestErrors
in 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:LoggingManagement
Return a list of logs for a given work request.- Specified by:
listWorkRequestLogs
in 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:LoggingManagement
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in 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:LoggingManagement
Updates the existing log object with the associated configuration.This call fails if the log object does not exist.
- Specified by:
updateLog
in 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:LoggingManagement
Updates the existing log group with the associated configuration.This call fails if the log group does not exist.
- Specified by:
updateLogGroup
in 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:LoggingManagement
Updates an existing LogSavedSearch.- Specified by:
updateLogSavedSearch
in 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:LoggingManagement
Update an existing unified agent configuration.This call fails if the log group does not exist.
- Specified by:
updateUnifiedAgentConfiguration
in 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:LoggingManagement
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceLoggingManagement
- Returns:
- The service waiters.
-
getPaginators
public LoggingManagementPaginators getPaginators()
Description copied from interface:LoggingManagement
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginators
in 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
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()
-
-