@Generated(value="OracleSDKGenerator", comments="API Version: 20191010") public class BlockchainPlatformClient extends Object implements BlockchainPlatform
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockchainPlatformClient.Builder
Builder class for this client.
|
| Modifier and Type | Field and Description |
|---|---|
static Service |
SERVICE
Service instance for BlockchainPlatform.
|
| Modifier | Constructor and Description |
|---|---|
|
BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockchainPlatformClient(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.
|
|
BlockchainPlatformClient(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.
|
|
BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration.
|
protected |
BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
|
BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
|
BlockchainPlatformClient(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 BlockchainPlatformClient.Builder |
builder()
Create a builder for this client.
|
ChangeBlockchainPlatformCompartmentResponse |
changeBlockchainPlatformCompartment(ChangeBlockchainPlatformCompartmentRequest request)
Change Blockchain Platform Compartment
|
void |
close() |
CreateBlockchainPlatformResponse |
createBlockchainPlatform(CreateBlockchainPlatformRequest request)
Creates a new Blockchain Platform.
|
CreateOsnResponse |
createOsn(CreateOsnRequest request)
Create Blockchain Platform Osn
|
CreatePeerResponse |
createPeer(CreatePeerRequest request)
Create Blockchain Platform Peer
|
DeleteBlockchainPlatformResponse |
deleteBlockchainPlatform(DeleteBlockchainPlatformRequest request)
Delete a particular of a Blockchain Platform
|
DeleteOsnResponse |
deleteOsn(DeleteOsnRequest request)
Delete a particular OSN of a Blockchain Platform
|
DeletePeerResponse |
deletePeer(DeletePeerRequest request)
Delete a particular peer of a Blockchain Platform
|
DeleteWorkRequestResponse |
deleteWorkRequest(DeleteWorkRequestRequest request)
Attempts to cancel the work request with the given ID.
|
GetBlockchainPlatformResponse |
getBlockchainPlatform(GetBlockchainPlatformRequest request)
Gets information about a Blockchain Platform identified by the specific id
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
GetOsnResponse |
getOsn(GetOsnRequest request)
Gets information about an OSN identified by the specific id
|
BlockchainPlatformPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
GetPeerResponse |
getPeer(GetPeerRequest request)
Gets information about a peer identified by the specific id
|
BlockchainPlatformWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Gets the status of the work request with the given ID.
|
ListBlockchainPlatformsResponse |
listBlockchainPlatforms(ListBlockchainPlatformsRequest request)
Returns a list Blockchain Platform Instances in a compartment
|
ListOsnsResponse |
listOsns(ListOsnsRequest request)
List Blockchain Platform OSNs
|
ListPeersResponse |
listPeers(ListPeersRequest request)
List Blockchain Platform Peers
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a (paginated) list of logs for a given work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
|
PreviewScaleBlockchainPlatformResponse |
previewScaleBlockchainPlatform(PreviewScaleBlockchainPlatformRequest request)
Preview Scale Blockchain Platform
|
ScaleBlockchainPlatformResponse |
scaleBlockchainPlatform(ScaleBlockchainPlatformRequest request)
Scale Blockchain Platform
|
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’).
|
StartBlockchainPlatformResponse |
startBlockchainPlatform(StartBlockchainPlatformRequest request)
Start a Blockchain Platform
|
StopBlockchainPlatformResponse |
stopBlockchainPlatform(StopBlockchainPlatformRequest request)
Stop a Blockchain Platform
|
UpdateBlockchainPlatformResponse |
updateBlockchainPlatform(UpdateBlockchainPlatformRequest request)
Update a particular of a Blockchain Platform
|
UpdateOsnResponse |
updateOsn(UpdateOsnRequest request)
Update Blockchain Platform OSN
|
UpdatePeerResponse |
updatePeer(UpdatePeerRequest request)
Update Blockchain Platform Peer
|
public static final Service SERVICE
Service instance for BlockchainPlatform.
public BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider - The authentication details provider, required.public BlockchainPlatformClient(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 BlockchainPlatformClient(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 BlockchainPlatformClient(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 BlockchainPlatformClient(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 BlockchainPlatformClient(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 BlockchainPlatformClient(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)public BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
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)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorprotected BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService, com.oracle.bmc.http.internal.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 BlockchainPlatformClient.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)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorrestClientFactoryBuilder - the builder for the RestClientFactorypublic static BlockchainPlatformClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
BlockchainPlatformSets the endpoint to call (ex, https://www.example.com).
setEndpoint in interface BlockchainPlatformendpoint - The endpoint of the service.public String getEndpoint()
BlockchainPlatformGets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint in interface BlockchainPlatformpublic void setRegion(Region region)
BlockchainPlatformSets 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 BlockchainPlatformregion - The region of the service.public void setRegion(String regionId)
BlockchainPlatformSets 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 BlockchainPlatformregionId - The public region ID.public void close()
close in interface AutoCloseablepublic ChangeBlockchainPlatformCompartmentResponse changeBlockchainPlatformCompartment(ChangeBlockchainPlatformCompartmentRequest request)
BlockchainPlatformChange Blockchain Platform Compartment
changeBlockchainPlatformCompartment in interface BlockchainPlatformrequest - The request object containing the details to sendpublic CreateBlockchainPlatformResponse createBlockchainPlatform(CreateBlockchainPlatformRequest request)
BlockchainPlatformCreates a new Blockchain Platform.
createBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic CreateOsnResponse createOsn(CreateOsnRequest request)
BlockchainPlatformCreate Blockchain Platform Osn
createOsn in interface BlockchainPlatformrequest - The request object containing the details to sendpublic CreatePeerResponse createPeer(CreatePeerRequest request)
BlockchainPlatformCreate Blockchain Platform Peer
createPeer in interface BlockchainPlatformrequest - The request object containing the details to sendpublic DeleteBlockchainPlatformResponse deleteBlockchainPlatform(DeleteBlockchainPlatformRequest request)
BlockchainPlatformDelete a particular of a Blockchain Platform
deleteBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic DeleteOsnResponse deleteOsn(DeleteOsnRequest request)
BlockchainPlatformDelete a particular OSN of a Blockchain Platform
deleteOsn in interface BlockchainPlatformrequest - The request object containing the details to sendpublic DeletePeerResponse deletePeer(DeletePeerRequest request)
BlockchainPlatformDelete a particular peer of a Blockchain Platform
deletePeer in interface BlockchainPlatformrequest - The request object containing the details to sendpublic DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
BlockchainPlatformAttempts to cancel the work request with the given ID.
deleteWorkRequest in interface BlockchainPlatformrequest - The request object containing the details to sendpublic GetBlockchainPlatformResponse getBlockchainPlatform(GetBlockchainPlatformRequest request)
BlockchainPlatformGets information about a Blockchain Platform identified by the specific id
getBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic GetOsnResponse getOsn(GetOsnRequest request)
BlockchainPlatformGets information about an OSN identified by the specific id
getOsn in interface BlockchainPlatformrequest - The request object containing the details to sendpublic GetPeerResponse getPeer(GetPeerRequest request)
BlockchainPlatformGets information about a peer identified by the specific id
getPeer in interface BlockchainPlatformrequest - The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
BlockchainPlatformGets the status of the work request with the given ID.
getWorkRequest in interface BlockchainPlatformrequest - The request object containing the details to sendpublic ListBlockchainPlatformsResponse listBlockchainPlatforms(ListBlockchainPlatformsRequest request)
BlockchainPlatformReturns a list Blockchain Platform Instances in a compartment
listBlockchainPlatforms in interface BlockchainPlatformrequest - The request object containing the details to sendpublic ListOsnsResponse listOsns(ListOsnsRequest request)
BlockchainPlatformList Blockchain Platform OSNs
listOsns in interface BlockchainPlatformrequest - The request object containing the details to sendpublic ListPeersResponse listPeers(ListPeersRequest request)
BlockchainPlatformList Blockchain Platform Peers
listPeers in interface BlockchainPlatformrequest - The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
BlockchainPlatformReturn a (paginated) list of errors for a given work request.
listWorkRequestErrors in interface BlockchainPlatformrequest - The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
BlockchainPlatformReturn a (paginated) list of logs for a given work request.
listWorkRequestLogs in interface BlockchainPlatformrequest - The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
BlockchainPlatformLists the work requests in a compartment.
listWorkRequests in interface BlockchainPlatformrequest - The request object containing the details to sendpublic PreviewScaleBlockchainPlatformResponse previewScaleBlockchainPlatform(PreviewScaleBlockchainPlatformRequest request)
BlockchainPlatformPreview Scale Blockchain Platform
previewScaleBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic ScaleBlockchainPlatformResponse scaleBlockchainPlatform(ScaleBlockchainPlatformRequest request)
BlockchainPlatformScale Blockchain Platform
scaleBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic StartBlockchainPlatformResponse startBlockchainPlatform(StartBlockchainPlatformRequest request)
BlockchainPlatformStart a Blockchain Platform
startBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic StopBlockchainPlatformResponse stopBlockchainPlatform(StopBlockchainPlatformRequest request)
BlockchainPlatformStop a Blockchain Platform
stopBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic UpdateBlockchainPlatformResponse updateBlockchainPlatform(UpdateBlockchainPlatformRequest request)
BlockchainPlatformUpdate a particular of a Blockchain Platform
updateBlockchainPlatform in interface BlockchainPlatformrequest - The request object containing the details to sendpublic UpdateOsnResponse updateOsn(UpdateOsnRequest request)
BlockchainPlatformUpdate Blockchain Platform OSN
updateOsn in interface BlockchainPlatformrequest - The request object containing the details to sendpublic UpdatePeerResponse updatePeer(UpdatePeerRequest request)
BlockchainPlatformUpdate Blockchain Platform Peer
updatePeer in interface BlockchainPlatformrequest - The request object containing the details to sendpublic BlockchainPlatformWaiters getWaiters()
BlockchainPlatformGets the pre-configured waiters available for resources for this service.
getWaiters in interface BlockchainPlatformpublic BlockchainPlatformPaginators getPaginators()
BlockchainPlatformGets 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 BlockchainPlatformCopyright © 2016–2021. All rights reserved.