@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class ApmSyntheticClient extends Object implements ApmSynthetic
Modifier and Type | Class and Description |
---|---|
static class |
ApmSyntheticClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
static Service |
SERVICE
Service instance for ApmSynthetic.
|
Modifier | Constructor and Description |
---|---|
|
ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
|
ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
|
ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
protected |
ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
|
ApmSyntheticClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
|
ApmSyntheticClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
|
ApmSyntheticClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
Modifier and Type | Method and Description |
---|---|
static ApmSyntheticClient.Builder |
builder()
Create a builder for this client.
|
void |
close() |
CreateDedicatedVantagePointResponse |
createDedicatedVantagePoint(CreateDedicatedVantagePointRequest request)
Registers a new dedicated vantage point.
|
CreateMonitorResponse |
createMonitor(CreateMonitorRequest request)
Creates a new monitor.
|
CreateScriptResponse |
createScript(CreateScriptRequest request)
Creates a new script.
|
DeleteDedicatedVantagePointResponse |
deleteDedicatedVantagePoint(DeleteDedicatedVantagePointRequest request)
Deregisters the specified dedicated vantage point.
|
DeleteMonitorResponse |
deleteMonitor(DeleteMonitorRequest request)
Deletes the specified monitor.
|
DeleteScriptResponse |
deleteScript(DeleteScriptRequest request)
Deletes the specified script.
|
GetDedicatedVantagePointResponse |
getDedicatedVantagePoint(GetDedicatedVantagePointRequest request)
Gets the details of the dedicated vantage point identified by the OCID.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
GetMonitorResponse |
getMonitor(GetMonitorRequest request)
Gets the configuration of the monitor identified by the OCID.
|
GetMonitorResultResponse |
getMonitorResult(GetMonitorResultRequest request)
Gets the results for a specific execution of a monitor identified by OCID.
|
ApmSyntheticPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
GetScriptResponse |
getScript(GetScriptRequest request)
Gets the configuration of the script identified by the OCID.
|
ListDedicatedVantagePointsResponse |
listDedicatedVantagePoints(ListDedicatedVantagePointsRequest request)
Returns a list of dedicated vantage points.
|
ListMonitorsResponse |
listMonitors(ListMonitorsRequest request)
Returns a list of monitors.
|
ListPublicVantagePointsResponse |
listPublicVantagePoints(ListPublicVantagePointsRequest request)
Returns a list of public vantage points.
|
ListScriptsResponse |
listScripts(ListScriptsRequest request)
Returns a list of scripts.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
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’).
|
UpdateDedicatedVantagePointResponse |
updateDedicatedVantagePoint(UpdateDedicatedVantagePointRequest request)
Updates the dedicated vantage point.
|
UpdateMonitorResponse |
updateMonitor(UpdateMonitorRequest request)
Updates the monitor.
|
UpdateScriptResponse |
updateScript(UpdateScriptRequest request)
Updates the script.
|
public static final Service SERVICE
Service instance for ApmSynthetic.
public ApmSyntheticClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider
- The authentication details provider, required.public ApmSyntheticClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.public ApmSyntheticClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.public ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.public ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.additionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)public ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)protected ApmSyntheticClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
Use the ApmSyntheticClient.Builder
to get access to all these parameters.
authenticationDetailsProvider
- The authentication details provider, required.configuration
- The client configuration, optional.clientConfigurator
- ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory
- The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories
- The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators
- Additional client configurators to be run after the primary configurator.endpoint
- Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider
)restClientFactoryBuilder
- the builder for the RestClientFactory
public static ApmSyntheticClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
ApmSynthetic
Sets the endpoint to call (ex, https://www.example.com).
setEndpoint
in interface ApmSynthetic
endpoint
- The endpoint of the service.public String getEndpoint()
ApmSynthetic
Gets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint
in interface ApmSynthetic
public void setRegion(Region region)
ApmSynthetic
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.
setRegion
in interface ApmSynthetic
region
- The region of the service.public void setRegion(String regionId)
ApmSynthetic
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 call setEndpoint
.
setRegion
in interface ApmSynthetic
regionId
- The public region ID.public void close()
close
in interface AutoCloseable
public CreateDedicatedVantagePointResponse createDedicatedVantagePoint(CreateDedicatedVantagePointRequest request)
ApmSynthetic
Registers a new dedicated vantage point.
createDedicatedVantagePoint
in interface ApmSynthetic
request
- The request object containing the details to sendpublic CreateMonitorResponse createMonitor(CreateMonitorRequest request)
ApmSynthetic
Creates a new monitor.
createMonitor
in interface ApmSynthetic
request
- The request object containing the details to sendpublic CreateScriptResponse createScript(CreateScriptRequest request)
ApmSynthetic
Creates a new script.
createScript
in interface ApmSynthetic
request
- The request object containing the details to sendpublic DeleteDedicatedVantagePointResponse deleteDedicatedVantagePoint(DeleteDedicatedVantagePointRequest request)
ApmSynthetic
Deregisters the specified dedicated vantage point.
deleteDedicatedVantagePoint
in interface ApmSynthetic
request
- The request object containing the details to sendpublic DeleteMonitorResponse deleteMonitor(DeleteMonitorRequest request)
ApmSynthetic
Deletes the specified monitor.
deleteMonitor
in interface ApmSynthetic
request
- The request object containing the details to sendpublic DeleteScriptResponse deleteScript(DeleteScriptRequest request)
ApmSynthetic
Deletes the specified script.
deleteScript
in interface ApmSynthetic
request
- The request object containing the details to sendpublic GetDedicatedVantagePointResponse getDedicatedVantagePoint(GetDedicatedVantagePointRequest request)
ApmSynthetic
Gets the details of the dedicated vantage point identified by the OCID.
getDedicatedVantagePoint
in interface ApmSynthetic
request
- The request object containing the details to sendpublic GetMonitorResponse getMonitor(GetMonitorRequest request)
ApmSynthetic
Gets the configuration of the monitor identified by the OCID.
getMonitor
in interface ApmSynthetic
request
- The request object containing the details to sendpublic GetMonitorResultResponse getMonitorResult(GetMonitorResultRequest request)
ApmSynthetic
Gets the results for a specific execution of a monitor identified by OCID. The results are in a HAR file, Screenshot, Console Log or Network details.
getMonitorResult
in interface ApmSynthetic
request
- The request object containing the details to sendpublic GetScriptResponse getScript(GetScriptRequest request)
ApmSynthetic
Gets the configuration of the script identified by the OCID.
getScript
in interface ApmSynthetic
request
- The request object containing the details to sendpublic ListDedicatedVantagePointsResponse listDedicatedVantagePoints(ListDedicatedVantagePointsRequest request)
ApmSynthetic
Returns a list of dedicated vantage points.
listDedicatedVantagePoints
in interface ApmSynthetic
request
- The request object containing the details to sendpublic ListMonitorsResponse listMonitors(ListMonitorsRequest request)
ApmSynthetic
Returns a list of monitors.
listMonitors
in interface ApmSynthetic
request
- The request object containing the details to sendpublic ListPublicVantagePointsResponse listPublicVantagePoints(ListPublicVantagePointsRequest request)
ApmSynthetic
Returns a list of public vantage points.
listPublicVantagePoints
in interface ApmSynthetic
request
- The request object containing the details to sendpublic ListScriptsResponse listScripts(ListScriptsRequest request)
ApmSynthetic
Returns a list of scripts.
listScripts
in interface ApmSynthetic
request
- The request object containing the details to sendpublic UpdateDedicatedVantagePointResponse updateDedicatedVantagePoint(UpdateDedicatedVantagePointRequest request)
ApmSynthetic
Updates the dedicated vantage point.
updateDedicatedVantagePoint
in interface ApmSynthetic
request
- The request object containing the details to sendpublic UpdateMonitorResponse updateMonitor(UpdateMonitorRequest request)
ApmSynthetic
Updates the monitor.
updateMonitor
in interface ApmSynthetic
request
- The request object containing the details to sendpublic UpdateScriptResponse updateScript(UpdateScriptRequest request)
ApmSynthetic
Updates the script.
updateScript
in interface ApmSynthetic
request
- The request object containing the details to sendpublic ApmSyntheticPaginators getPaginators()
ApmSynthetic
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.
getPaginators
in interface ApmSynthetic
Copyright © 2016–2022. All rights reserved.