@Generated(value="OracleSDKGenerator", comments="API Version: 20191010") public interface BlockchainPlatformAsync extends AutoCloseable
Blockchain Platform Control Plane API
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
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.
region
- The region of the service.void setRegion(String regionId)
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
.
regionId
- The public region ID.void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not. Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateFuture<ChangeBlockchainPlatformCompartmentResponse> changeBlockchainPlatformCompartment(ChangeBlockchainPlatformCompartmentRequest request, AsyncHandler<ChangeBlockchainPlatformCompartmentRequest,ChangeBlockchainPlatformCompartmentResponse> handler)
Change Blockchain Platform Compartment
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateBlockchainPlatformResponse> createBlockchainPlatform(CreateBlockchainPlatformRequest request, AsyncHandler<CreateBlockchainPlatformRequest,CreateBlockchainPlatformResponse> handler)
Creates a new Blockchain Platform.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateOsnResponse> createOsn(CreateOsnRequest request, AsyncHandler<CreateOsnRequest,CreateOsnResponse> handler)
Create Blockchain Platform Osn
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreatePeerResponse> createPeer(CreatePeerRequest request, AsyncHandler<CreatePeerRequest,CreatePeerResponse> handler)
Create Blockchain Platform Peer
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteBlockchainPlatformResponse> deleteBlockchainPlatform(DeleteBlockchainPlatformRequest request, AsyncHandler<DeleteBlockchainPlatformRequest,DeleteBlockchainPlatformResponse> handler)
Delete a particular of a Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteOsnResponse> deleteOsn(DeleteOsnRequest request, AsyncHandler<DeleteOsnRequest,DeleteOsnResponse> handler)
Delete a particular OSN of a Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeletePeerResponse> deletePeer(DeletePeerRequest request, AsyncHandler<DeletePeerRequest,DeletePeerResponse> handler)
Delete a particular peer of a Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteWorkRequestResponse> deleteWorkRequest(DeleteWorkRequestRequest request, AsyncHandler<DeleteWorkRequestRequest,DeleteWorkRequestResponse> handler)
Attempts to cancel the work request with the given ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBlockchainPlatformResponse> getBlockchainPlatform(GetBlockchainPlatformRequest request, AsyncHandler<GetBlockchainPlatformRequest,GetBlockchainPlatformResponse> handler)
Gets information about a Blockchain Platform identified by the specific id
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetOsnResponse> getOsn(GetOsnRequest request, AsyncHandler<GetOsnRequest,GetOsnResponse> handler)
Gets information about an OSN identified by the specific id
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPeerResponse> getPeer(GetPeerRequest request, AsyncHandler<GetPeerRequest,GetPeerResponse> handler)
Gets information about a peer identified by the specific id
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Gets the status of the work request with the given ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBlockchainPlatformPatchesResponse> listBlockchainPlatformPatches(ListBlockchainPlatformPatchesRequest request, AsyncHandler<ListBlockchainPlatformPatchesRequest,ListBlockchainPlatformPatchesResponse> handler)
List Blockchain Platform Patches
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBlockchainPlatformsResponse> listBlockchainPlatforms(ListBlockchainPlatformsRequest request, AsyncHandler<ListBlockchainPlatformsRequest,ListBlockchainPlatformsResponse> handler)
Returns a list Blockchain Platform Instances in a compartment
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListOsnsResponse> listOsns(ListOsnsRequest request, AsyncHandler<ListOsnsRequest,ListOsnsResponse> handler)
List Blockchain Platform OSNs
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPeersResponse> listPeers(ListPeersRequest request, AsyncHandler<ListPeersRequest,ListPeersResponse> handler)
List Blockchain Platform Peers
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Return a (paginated) list of errors for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Return a (paginated) list of logs for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists the work requests in a compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<PreviewScaleBlockchainPlatformResponse> previewScaleBlockchainPlatform(PreviewScaleBlockchainPlatformRequest request, AsyncHandler<PreviewScaleBlockchainPlatformRequest,PreviewScaleBlockchainPlatformResponse> handler)
Preview Scale Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ScaleBlockchainPlatformResponse> scaleBlockchainPlatform(ScaleBlockchainPlatformRequest request, AsyncHandler<ScaleBlockchainPlatformRequest,ScaleBlockchainPlatformResponse> handler)
Scale Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StartBlockchainPlatformResponse> startBlockchainPlatform(StartBlockchainPlatformRequest request, AsyncHandler<StartBlockchainPlatformRequest,StartBlockchainPlatformResponse> handler)
Start a Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<StopBlockchainPlatformResponse> stopBlockchainPlatform(StopBlockchainPlatformRequest request, AsyncHandler<StopBlockchainPlatformRequest,StopBlockchainPlatformResponse> handler)
Stop a Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateBlockchainPlatformResponse> updateBlockchainPlatform(UpdateBlockchainPlatformRequest request, AsyncHandler<UpdateBlockchainPlatformRequest,UpdateBlockchainPlatformResponse> handler)
Update a particular of a Blockchain Platform
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateOsnResponse> updateOsn(UpdateOsnRequest request, AsyncHandler<UpdateOsnRequest,UpdateOsnResponse> handler)
Update Blockchain Platform OSN
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdatePeerResponse> updatePeer(UpdatePeerRequest request, AsyncHandler<UpdatePeerRequest,UpdatePeerResponse> handler)
Update Blockchain Platform Peer
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpgradeBlockchainPlatformResponse> upgradeBlockchainPlatform(UpgradeBlockchainPlatformRequest request, AsyncHandler<UpgradeBlockchainPlatformRequest,UpgradeBlockchainPlatformResponse> handler)
Upgrade a Blockchain Platform version
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2024. All rights reserved.