Class RoverNodeClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.rover.RoverNodeClient
 
 
- 
- All Implemented Interfaces:
- RoverNode,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201210") public class RoverNodeClient extends BaseSyncClient implements RoverNode
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classRoverNodeClient.BuilderBuilder class for this client.
 - 
Field SummaryFields 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 RoverNode.
 - 
Constructor SummaryConstructors Constructor Description RoverNodeClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.RoverNodeClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.RoverNodeClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.RoverNodeClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.RoverNodeClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.RoverNodeClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.RoverNodeClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.RoverNodeClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoverNodeClient.Builderbuilder()Create a builder for this client.ChangeRoverNodeCompartmentResponsechangeRoverNodeCompartment(ChangeRoverNodeCompartmentRequest request)Moves a rover node into a different compartment.voidclose()CreateRoverNodeResponsecreateRoverNode(CreateRoverNodeRequest request)Creates a new RoverNode.DeleteRoverNodeResponsedeleteRoverNode(DeleteRoverNodeRequest request)Deletes a RoverNode resource by identifierStringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()RoverNodePaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetRoverNodeResponsegetRoverNode(GetRoverNodeRequest request)Gets a RoverNode by identifier.GetRoverNodeCertificateResponsegetRoverNodeCertificate(GetRoverNodeCertificateRequest request)Get the certificate for a rover nodeGetRoverNodeEncryptionKeyResponsegetRoverNodeEncryptionKey(GetRoverNodeEncryptionKeyRequest request)Get the data encryption key for a rover node.GetRoverNodeGetRptResponsegetRoverNodeGetRpt(GetRoverNodeGetRptRequest request)Get the resource principal token for a rover nodeRoverNodeWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.ListRoverNodesResponselistRoverNodes(ListRoverNodesRequest request)Returns a list of RoverNodes.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.RoverNodeActionRetrieveCaBundleResponseroverNodeActionRetrieveCaBundle(RoverNodeActionRetrieveCaBundleRequest request)Retrieve Ca Bundle for a rover nodeRoverNodeActionSetKeyResponseroverNodeActionSetKey(RoverNodeActionSetKeyRequest request)Get the resource principal public key for a rover nodeRoverNodeGenerateCertificateResponseroverNodeGenerateCertificate(RoverNodeGenerateCertificateRequest request)Request to generate certificate for a roverNode.RoverNodeRenewCertificateResponseroverNodeRenewCertificate(RoverNodeRenewCertificateRequest request)Request to renew certificate for a roverNode.RoverNodeReplaceCertificateAuthorityResponseroverNodeReplaceCertificateAuthority(RoverNodeReplaceCertificateAuthorityRequest request)Request to replace certificate authority for a roverNode.RoverNodeRetrieveLeafCertificateResponseroverNodeRetrieveLeafCertificate(RoverNodeRetrieveLeafCertificateRequest request)Retrieve the leaf certificate info for a rover nodevoidsetEndpoint(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’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateRoverNodeResponseupdateRoverNode(UpdateRoverNodeRequest request)Updates the RoverNodevoiduseRealmSpecificEndpointTemplate(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.BaseSyncClientclientCall
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 - 
Methods inherited from interface com.oracle.bmc.rover.RoverNodegetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
RoverNodeClient@Deprecated public RoverNodeClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- RoverNodeClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
RoverNodeClient@Deprecated public RoverNodeClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- RoverNodeClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
RoverNodeClient@Deprecated public RoverNodeClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- RoverNodeClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
RoverNodeClient@Deprecated public RoverNodeClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- RoverNodeClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
RoverNodeClient@Deprecated public RoverNodeClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- RoverNodeClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
RoverNodeClient@Deprecated public RoverNodeClient(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 (see- RoverNodeClient.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)
 
 - 
RoverNodeClient@Deprecated public RoverNodeClient(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 (see- RoverNodeClient.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
 
 - 
RoverNodeClient@Deprecated public RoverNodeClient(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 (see- RoverNodeClient.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-- RoverNodeClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
builderpublic static RoverNodeClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:RoverNodeSets 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.
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:RoverNodeSets 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.
 - 
changeRoverNodeCompartmentpublic ChangeRoverNodeCompartmentResponse changeRoverNodeCompartment(ChangeRoverNodeCompartmentRequest request) Description copied from interface:RoverNodeMoves a rover node into a different compartment.- Specified by:
- changeRoverNodeCompartmentin interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createRoverNodepublic CreateRoverNodeResponse createRoverNode(CreateRoverNodeRequest request) Description copied from interface:RoverNodeCreates a new RoverNode.- Specified by:
- createRoverNodein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteRoverNodepublic DeleteRoverNodeResponse deleteRoverNode(DeleteRoverNodeRequest request) Description copied from interface:RoverNodeDeletes a RoverNode resource by identifier- Specified by:
- deleteRoverNodein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getRoverNodepublic GetRoverNodeResponse getRoverNode(GetRoverNodeRequest request) Description copied from interface:RoverNodeGets a RoverNode by identifier.- Specified by:
- getRoverNodein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getRoverNodeCertificatepublic GetRoverNodeCertificateResponse getRoverNodeCertificate(GetRoverNodeCertificateRequest request) Description copied from interface:RoverNodeGet the certificate for a rover node- Specified by:
- getRoverNodeCertificatein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getRoverNodeEncryptionKeypublic GetRoverNodeEncryptionKeyResponse getRoverNodeEncryptionKey(GetRoverNodeEncryptionKeyRequest request) Description copied from interface:RoverNodeGet the data encryption key for a rover node.- Specified by:
- getRoverNodeEncryptionKeyin interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getRoverNodeGetRptpublic GetRoverNodeGetRptResponse getRoverNodeGetRpt(GetRoverNodeGetRptRequest request) Description copied from interface:RoverNodeGet the resource principal token for a rover node- Specified by:
- getRoverNodeGetRptin interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listRoverNodespublic ListRoverNodesResponse listRoverNodes(ListRoverNodesRequest request) Description copied from interface:RoverNodeReturns a list of RoverNodes.- Specified by:
- listRoverNodesin interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
roverNodeActionRetrieveCaBundlepublic RoverNodeActionRetrieveCaBundleResponse roverNodeActionRetrieveCaBundle(RoverNodeActionRetrieveCaBundleRequest request) Description copied from interface:RoverNodeRetrieve Ca Bundle for a rover node- Specified by:
- roverNodeActionRetrieveCaBundlein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
roverNodeActionSetKeypublic RoverNodeActionSetKeyResponse roverNodeActionSetKey(RoverNodeActionSetKeyRequest request) Description copied from interface:RoverNodeGet the resource principal public key for a rover node- Specified by:
- roverNodeActionSetKeyin interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
roverNodeGenerateCertificatepublic RoverNodeGenerateCertificateResponse roverNodeGenerateCertificate(RoverNodeGenerateCertificateRequest request) Description copied from interface:RoverNodeRequest to generate certificate for a roverNode.- Specified by:
- roverNodeGenerateCertificatein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
roverNodeRenewCertificatepublic RoverNodeRenewCertificateResponse roverNodeRenewCertificate(RoverNodeRenewCertificateRequest request) Description copied from interface:RoverNodeRequest to renew certificate for a roverNode.- Specified by:
- roverNodeRenewCertificatein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
roverNodeReplaceCertificateAuthoritypublic RoverNodeReplaceCertificateAuthorityResponse roverNodeReplaceCertificateAuthority(RoverNodeReplaceCertificateAuthorityRequest request) Description copied from interface:RoverNodeRequest to replace certificate authority for a roverNode.- Specified by:
- roverNodeReplaceCertificateAuthorityin interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
roverNodeRetrieveLeafCertificatepublic RoverNodeRetrieveLeafCertificateResponse roverNodeRetrieveLeafCertificate(RoverNodeRetrieveLeafCertificateRequest request) Description copied from interface:RoverNodeRetrieve the leaf certificate info for a rover node- Specified by:
- roverNodeRetrieveLeafCertificatein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateRoverNodepublic UpdateRoverNodeResponse updateRoverNode(UpdateRoverNodeRequest request) Description copied from interface:RoverNodeUpdates the RoverNode- Specified by:
- updateRoverNodein interface- RoverNode
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic RoverNodeWaiters getWaiters() Description copied from interface:RoverNodeGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- RoverNode
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic RoverNodePaginators getPaginators() Description copied from interface:RoverNodeGets 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 interface- RoverNode
- Returns:
- The service paginators.
 
 - 
getDefaultConfiguratorprotected ClientConfigurator getDefaultConfigurator() 
 - 
useRealmSpecificEndpointTemplatepublic 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
 
 - 
populateServiceParametersInEndpointpublic 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 use
- requiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
 
 - 
updateBaseEndpointpublic 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
 
 - 
setEndpointpublic final void setEndpoint(String endpoint) 
 - 
getEndpointpublic final String getEndpoint() 
 - 
refreshClientpublic final void refreshClient() Rebuild the backingHttpClient.This will call ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 
- 
 
-