Class BlockchainPlatformClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.blockchain.BlockchainPlatformClient
-
- All Implemented Interfaces:
BlockchainPlatform,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20191010") public class BlockchainPlatformClient extends BaseSyncClient implements BlockchainPlatform
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockchainPlatformClient.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 BlockchainPlatform.
-
Constructor Summary
Constructors Constructor Description BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.BlockchainPlatformClient(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 BlockchainPlatformClient.Builderbuilder()Create a builder for this client.ChangeBlockchainPlatformCompartmentResponsechangeBlockchainPlatformCompartment(ChangeBlockchainPlatformCompartmentRequest request)Change Blockchain Platform Compartmentvoidclose()CreateBlockchainPlatformResponsecreateBlockchainPlatform(CreateBlockchainPlatformRequest request)Creates a new Blockchain Platform.CreateOsnResponsecreateOsn(CreateOsnRequest request)Create Blockchain Platform OsnCreatePeerResponsecreatePeer(CreatePeerRequest request)Create Blockchain Platform PeerDeleteBlockchainPlatformResponsedeleteBlockchainPlatform(DeleteBlockchainPlatformRequest request)Delete a particular of a Blockchain PlatformDeleteOsnResponsedeleteOsn(DeleteOsnRequest request)Delete a particular OSN of a Blockchain PlatformDeletePeerResponsedeletePeer(DeletePeerRequest request)Delete a particular peer of a Blockchain PlatformDeleteWorkRequestResponsedeleteWorkRequest(DeleteWorkRequestRequest request)Attempts to cancel the work request with the given ID.GetBlockchainPlatformResponsegetBlockchainPlatform(GetBlockchainPlatformRequest request)Gets information about a Blockchain Platform identified by the specific idStringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()GetOsnResponsegetOsn(GetOsnRequest request)Gets information about an OSN identified by the specific idBlockchainPlatformPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetPeerResponsegetPeer(GetPeerRequest request)Gets information about a peer identified by the specific idBlockchainPlatformWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given ID.ListBlockchainPlatformPatchesResponselistBlockchainPlatformPatches(ListBlockchainPlatformPatchesRequest request)List Blockchain Platform PatchesListBlockchainPlatformsResponselistBlockchainPlatforms(ListBlockchainPlatformsRequest request)Returns a list Blockchain Platform Instances in a compartmentListOsnsResponselistOsns(ListOsnsRequest request)List Blockchain Platform OSNsListPeersResponselistPeers(ListPeersRequest request)List Blockchain Platform PeersListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a (paginated) 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.PreviewScaleBlockchainPlatformResponsepreviewScaleBlockchainPlatform(PreviewScaleBlockchainPlatformRequest request)Preview Scale Blockchain PlatformvoidrefreshClient()Rebuild the backingHttpClient.ScaleBlockchainPlatformResponsescaleBlockchainPlatform(ScaleBlockchainPlatformRequest request)Scale Blockchain PlatformvoidsetEndpoint(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’).StartBlockchainPlatformResponsestartBlockchainPlatform(StartBlockchainPlatformRequest request)Start a Blockchain PlatformStopBlockchainPlatformResponsestopBlockchainPlatform(StopBlockchainPlatformRequest request)Stop a Blockchain PlatformvoidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateBlockchainPlatformResponseupdateBlockchainPlatform(UpdateBlockchainPlatformRequest request)Update a particular of a Blockchain PlatformUpdateOsnResponseupdateOsn(UpdateOsnRequest request)Update Blockchain Platform OSNUpdatePeerResponseupdatePeer(UpdatePeerRequest request)Update Blockchain Platform PeerUpgradeBlockchainPlatformResponseupgradeBlockchainPlatform(UpgradeBlockchainPlatformRequest request)Upgrade a Blockchain Platform versionvoiduseRealmSpecificEndpointTemplate(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.blockchain.BlockchainPlatform
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBlockchainPlatformClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBlockchainPlatformClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBlockchainPlatformClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBlockchainPlatformClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBlockchainPlatformClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(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 (seeBlockchainPlatformClient.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)
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(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 (seeBlockchainPlatformClient.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
-
BlockchainPlatformClient
@Deprecated public BlockchainPlatformClient(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 (seeBlockchainPlatformClient.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-BlockchainPlatformClient.Builder.executorService
-
-
Method Detail
-
builder
public static BlockchainPlatformClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:BlockchainPlatformSets 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 interfaceBlockchainPlatform- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface: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 callsetEndpoint.- Specified by:
setRegionin interfaceBlockchainPlatform- Parameters:
regionId- The public region ID.
-
changeBlockchainPlatformCompartment
public ChangeBlockchainPlatformCompartmentResponse changeBlockchainPlatformCompartment(ChangeBlockchainPlatformCompartmentRequest request)
Description copied from interface:BlockchainPlatformChange Blockchain Platform Compartment- Specified by:
changeBlockchainPlatformCompartmentin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createBlockchainPlatform
public CreateBlockchainPlatformResponse createBlockchainPlatform(CreateBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformCreates a new Blockchain Platform.- Specified by:
createBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createOsn
public CreateOsnResponse createOsn(CreateOsnRequest request)
Description copied from interface:BlockchainPlatformCreate Blockchain Platform Osn- Specified by:
createOsnin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createPeer
public CreatePeerResponse createPeer(CreatePeerRequest request)
Description copied from interface:BlockchainPlatformCreate Blockchain Platform Peer- Specified by:
createPeerin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteBlockchainPlatform
public DeleteBlockchainPlatformResponse deleteBlockchainPlatform(DeleteBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformDelete a particular of a Blockchain Platform- Specified by:
deleteBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteOsn
public DeleteOsnResponse deleteOsn(DeleteOsnRequest request)
Description copied from interface:BlockchainPlatformDelete a particular OSN of a Blockchain Platform- Specified by:
deleteOsnin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deletePeer
public DeletePeerResponse deletePeer(DeletePeerRequest request)
Description copied from interface:BlockchainPlatformDelete a particular peer of a Blockchain Platform- Specified by:
deletePeerin interfaceBlockchainPlatform- 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:BlockchainPlatformAttempts to cancel the work request with the given ID.- Specified by:
deleteWorkRequestin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBlockchainPlatform
public GetBlockchainPlatformResponse getBlockchainPlatform(GetBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformGets information about a Blockchain Platform identified by the specific id- Specified by:
getBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getOsn
public GetOsnResponse getOsn(GetOsnRequest request)
Description copied from interface:BlockchainPlatformGets information about an OSN identified by the specific id- Specified by:
getOsnin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPeer
public GetPeerResponse getPeer(GetPeerRequest request)
Description copied from interface:BlockchainPlatformGets information about a peer identified by the specific id- Specified by:
getPeerin interfaceBlockchainPlatform- 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:BlockchainPlatformGets the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listBlockchainPlatformPatches
public ListBlockchainPlatformPatchesResponse listBlockchainPlatformPatches(ListBlockchainPlatformPatchesRequest request)
Description copied from interface:BlockchainPlatformList Blockchain Platform Patches- Specified by:
listBlockchainPlatformPatchesin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listBlockchainPlatforms
public ListBlockchainPlatformsResponse listBlockchainPlatforms(ListBlockchainPlatformsRequest request)
Description copied from interface:BlockchainPlatformReturns a list Blockchain Platform Instances in a compartment- Specified by:
listBlockchainPlatformsin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listOsns
public ListOsnsResponse listOsns(ListOsnsRequest request)
Description copied from interface:BlockchainPlatformList Blockchain Platform OSNs- Specified by:
listOsnsin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPeers
public ListPeersResponse listPeers(ListPeersRequest request)
Description copied from interface:BlockchainPlatformList Blockchain Platform Peers- Specified by:
listPeersin interfaceBlockchainPlatform- 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:BlockchainPlatformReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceBlockchainPlatform- 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:BlockchainPlatformReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceBlockchainPlatform- 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:BlockchainPlatformLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
previewScaleBlockchainPlatform
public PreviewScaleBlockchainPlatformResponse previewScaleBlockchainPlatform(PreviewScaleBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformPreview Scale Blockchain Platform- Specified by:
previewScaleBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
scaleBlockchainPlatform
public ScaleBlockchainPlatformResponse scaleBlockchainPlatform(ScaleBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformScale Blockchain Platform- Specified by:
scaleBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
startBlockchainPlatform
public StartBlockchainPlatformResponse startBlockchainPlatform(StartBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformStart a Blockchain Platform- Specified by:
startBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
stopBlockchainPlatform
public StopBlockchainPlatformResponse stopBlockchainPlatform(StopBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformStop a Blockchain Platform- Specified by:
stopBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateBlockchainPlatform
public UpdateBlockchainPlatformResponse updateBlockchainPlatform(UpdateBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformUpdate a particular of a Blockchain Platform- Specified by:
updateBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateOsn
public UpdateOsnResponse updateOsn(UpdateOsnRequest request)
Description copied from interface:BlockchainPlatformUpdate Blockchain Platform OSN- Specified by:
updateOsnin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePeer
public UpdatePeerResponse updatePeer(UpdatePeerRequest request)
Description copied from interface:BlockchainPlatformUpdate Blockchain Platform Peer- Specified by:
updatePeerin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upgradeBlockchainPlatform
public UpgradeBlockchainPlatformResponse upgradeBlockchainPlatform(UpgradeBlockchainPlatformRequest request)
Description copied from interface:BlockchainPlatformUpgrade a Blockchain Platform version- Specified by:
upgradeBlockchainPlatformin interfaceBlockchainPlatform- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public BlockchainPlatformWaiters getWaiters()
Description copied from interface:BlockchainPlatformGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceBlockchainPlatform- Returns:
- The service waiters.
-
getPaginators
public BlockchainPlatformPaginators getPaginators()
Description copied from interface:BlockchainPlatformGets 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 interfaceBlockchainPlatform- 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()
-
-