Class IotClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.iot.IotClient
-
- All Implemented Interfaces:
Iot,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20250531") public class IotClient extends BaseSyncClient implements Iot
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIotClient.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 Iot.
-
Constructor Summary
Constructors Constructor Description IotClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.IotClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.IotClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.IotClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.IotClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.IotClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.IotClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.IotClient(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 IotClient.Builderbuilder()Create a builder for this client.ChangeIotDomainCompartmentResponsechangeIotDomainCompartment(ChangeIotDomainCompartmentRequest request)Moves an IoT domain to a different compartment within the same tenancy.ChangeIotDomainDataRetentionPeriodResponsechangeIotDomainDataRetentionPeriod(ChangeIotDomainDataRetentionPeriodRequest request)Updates Data Retention Period of the IoT Domain.ChangeIotDomainGroupCompartmentResponsechangeIotDomainGroupCompartment(ChangeIotDomainGroupCompartmentRequest request)Moves an IoT domain group to a different compartment within the same tenancy.voidclose()ConfigureIotDomainDataAccessResponseconfigureIotDomainDataAccess(ConfigureIotDomainDataAccessRequest request)Updates an IoT domain Data Access.ConfigureIotDomainGroupDataAccessResponseconfigureIotDomainGroupDataAccess(ConfigureIotDomainGroupDataAccessRequest request)Updates an IoT domain Group Data Access.CreateDigitalTwinAdapterResponsecreateDigitalTwinAdapter(CreateDigitalTwinAdapterRequest request)Creates a new digital twin adapter.CreateDigitalTwinInstanceResponsecreateDigitalTwinInstance(CreateDigitalTwinInstanceRequest request)Creates a new digital twin instance.CreateDigitalTwinModelResponsecreateDigitalTwinModel(CreateDigitalTwinModelRequest request)Creates a new digital twin model.CreateDigitalTwinRelationshipResponsecreateDigitalTwinRelationship(CreateDigitalTwinRelationshipRequest request)Creates a new digital twin relationship.CreateIotDomainResponsecreateIotDomain(CreateIotDomainRequest request)Creates a new IoT domain.CreateIotDomainGroupResponsecreateIotDomainGroup(CreateIotDomainGroupRequest request)Creates a new IoT domain group.DeleteDigitalTwinAdapterResponsedeleteDigitalTwinAdapter(DeleteDigitalTwinAdapterRequest request)Deletes the digital twin adapter identified by the specified OCID.DeleteDigitalTwinInstanceResponsedeleteDigitalTwinInstance(DeleteDigitalTwinInstanceRequest request)Deletes the digital twin instance identified by the specified OCID.DeleteDigitalTwinModelResponsedeleteDigitalTwinModel(DeleteDigitalTwinModelRequest request)Deletes the digital twin model identified by the specified OCID.DeleteDigitalTwinRelationshipResponsedeleteDigitalTwinRelationship(DeleteDigitalTwinRelationshipRequest request)Deletes the digital twin relationship identified by the specified OCID.DeleteIotDomainResponsedeleteIotDomain(DeleteIotDomainRequest request)Deletes the IoT domain identified by the specified OCID.DeleteIotDomainGroupResponsedeleteIotDomainGroup(DeleteIotDomainGroupRequest request)Deletes the IoT domain group identified by the specified OCID.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()GetDigitalTwinAdapterResponsegetDigitalTwinAdapter(GetDigitalTwinAdapterRequest request)Retrieves the digital twin adapter identified by the specified OCID.GetDigitalTwinInstanceResponsegetDigitalTwinInstance(GetDigitalTwinInstanceRequest request)Retrieves the digital twin instance identified by the specified OCID.GetDigitalTwinInstanceContentResponsegetDigitalTwinInstanceContent(GetDigitalTwinInstanceContentRequest request)Retrieves the latest snapshot data of digital twin instance identified by the specified OCID.GetDigitalTwinModelResponsegetDigitalTwinModel(GetDigitalTwinModelRequest request)Retrieves the digital twin model identified by the specified OCID.GetDigitalTwinModelSpecResponsegetDigitalTwinModelSpec(GetDigitalTwinModelSpecRequest request)Retrieves the spec of digital twin model identified by the specified OCID.GetDigitalTwinRelationshipResponsegetDigitalTwinRelationship(GetDigitalTwinRelationshipRequest request)Retrieves the digital twin relationship identified by the specified OCID.StringgetEndpoint()GetIotDomainResponsegetIotDomain(GetIotDomainRequest request)Retrieves the IoT domain identified by the specified OCID.GetIotDomainGroupResponsegetIotDomainGroup(GetIotDomainGroupRequest request)Retrieves the IoT domain group identified by the specified OCID.Optional<String>getMinimumClientCommonLibraryVersionFromClient()IotPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.IotWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Retrieves the status of the work request with the given ID.InvokeRawCommandResponseinvokeRawCommand(InvokeRawCommandRequest request)Invokes the raw command on the specified digital twin instance.ListDigitalTwinAdaptersResponselistDigitalTwinAdapters(ListDigitalTwinAdaptersRequest request)Retrieves a list of digital twin adapters within the specified IoT domain.ListDigitalTwinInstancesResponselistDigitalTwinInstances(ListDigitalTwinInstancesRequest request)Retrieves a list of digital twin instances within the specified IoT domain.ListDigitalTwinModelsResponselistDigitalTwinModels(ListDigitalTwinModelsRequest request)Retrieves a list of digital twin models within the specified IoT domain.ListDigitalTwinRelationshipsResponselistDigitalTwinRelationships(ListDigitalTwinRelationshipsRequest request)Retrieves a list of digital twin relationships within the specified IoT domain.ListIotDomainGroupsResponselistIotDomainGroups(ListIotDomainGroupsRequest request)Retrieves a list of IoT domain groups within the specified compartment.ListIotDomainsResponselistIotDomains(ListIotDomainsRequest request)Retrieves a list of IoT domains within the specified compartment.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Lists errors associated with the specified work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Lists the logs associated with the specified work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists work requests in the specified compartment.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.voidsetEndpoint(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.UpdateDigitalTwinAdapterResponseupdateDigitalTwinAdapter(UpdateDigitalTwinAdapterRequest request)Updates the details of digital twin adapter identified by the specified OCID.UpdateDigitalTwinInstanceResponseupdateDigitalTwinInstance(UpdateDigitalTwinInstanceRequest request)Updates the details of digital twin instance identified by the specified OCID.UpdateDigitalTwinModelResponseupdateDigitalTwinModel(UpdateDigitalTwinModelRequest request)Updates the details of the digital twin model identified by the specified OCID.UpdateDigitalTwinRelationshipResponseupdateDigitalTwinRelationship(UpdateDigitalTwinRelationshipRequest request)Updates the details of digital twin relationship identified by the specified OCID.UpdateIotDomainResponseupdateIotDomain(UpdateIotDomainRequest request)Updates the details of IoT domain identified by the specified OCID.UpdateIotDomainGroupResponseupdateIotDomainGroup(UpdateIotDomainGroupRequest request)Updates the details of IoT domain group identified by the specified OCID.voiduseRealmSpecificEndpointTemplate(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.iot.Iot
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
IotClient
@Deprecated public IotClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeIotClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
IotClient
@Deprecated public IotClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeIotClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
IotClient
@Deprecated public IotClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeIotClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
IotClient
@Deprecated public IotClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeIotClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
IotClient
@Deprecated public IotClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeIotClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
IotClient
@Deprecated public IotClient(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 (seeIotClient.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)
-
IotClient
@Deprecated public IotClient(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 (seeIotClient.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
-
IotClient
@Deprecated public IotClient(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 (seeIotClient.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-IotClient.Builder.executorService
-
-
Method Detail
-
builder
public static IotClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:IotSets 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.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:IotSets 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.
-
changeIotDomainCompartment
public ChangeIotDomainCompartmentResponse changeIotDomainCompartment(ChangeIotDomainCompartmentRequest request)
Description copied from interface:IotMoves an IoT domain to a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeIotDomainCompartmentin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeIotDomainDataRetentionPeriod
public ChangeIotDomainDataRetentionPeriodResponse changeIotDomainDataRetentionPeriod(ChangeIotDomainDataRetentionPeriodRequest request)
Description copied from interface:IotUpdates Data Retention Period of the IoT Domain.- Specified by:
changeIotDomainDataRetentionPeriodin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeIotDomainGroupCompartment
public ChangeIotDomainGroupCompartmentResponse changeIotDomainGroupCompartment(ChangeIotDomainGroupCompartmentRequest request)
Description copied from interface:IotMoves an IoT domain group to a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeIotDomainGroupCompartmentin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
configureIotDomainDataAccess
public ConfigureIotDomainDataAccessResponse configureIotDomainDataAccess(ConfigureIotDomainDataAccessRequest request)
Description copied from interface:IotUpdates an IoT domain Data Access.- Specified by:
configureIotDomainDataAccessin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
configureIotDomainGroupDataAccess
public ConfigureIotDomainGroupDataAccessResponse configureIotDomainGroupDataAccess(ConfigureIotDomainGroupDataAccessRequest request)
Description copied from interface:IotUpdates an IoT domain Group Data Access.- Specified by:
configureIotDomainGroupDataAccessin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDigitalTwinAdapter
public CreateDigitalTwinAdapterResponse createDigitalTwinAdapter(CreateDigitalTwinAdapterRequest request)
Description copied from interface:IotCreates a new digital twin adapter.- Specified by:
createDigitalTwinAdapterin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDigitalTwinInstance
public CreateDigitalTwinInstanceResponse createDigitalTwinInstance(CreateDigitalTwinInstanceRequest request)
Description copied from interface:IotCreates a new digital twin instance.- Specified by:
createDigitalTwinInstancein interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDigitalTwinModel
public CreateDigitalTwinModelResponse createDigitalTwinModel(CreateDigitalTwinModelRequest request)
Description copied from interface:IotCreates a new digital twin model.- Specified by:
createDigitalTwinModelin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDigitalTwinRelationship
public CreateDigitalTwinRelationshipResponse createDigitalTwinRelationship(CreateDigitalTwinRelationshipRequest request)
Description copied from interface:IotCreates a new digital twin relationship.- Specified by:
createDigitalTwinRelationshipin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createIotDomain
public CreateIotDomainResponse createIotDomain(CreateIotDomainRequest request)
Description copied from interface:IotCreates a new IoT domain.- Specified by:
createIotDomainin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createIotDomainGroup
public CreateIotDomainGroupResponse createIotDomainGroup(CreateIotDomainGroupRequest request)
Description copied from interface:IotCreates a new IoT domain group.- Specified by:
createIotDomainGroupin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDigitalTwinAdapter
public DeleteDigitalTwinAdapterResponse deleteDigitalTwinAdapter(DeleteDigitalTwinAdapterRequest request)
Description copied from interface:IotDeletes the digital twin adapter identified by the specified OCID.- Specified by:
deleteDigitalTwinAdapterin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDigitalTwinInstance
public DeleteDigitalTwinInstanceResponse deleteDigitalTwinInstance(DeleteDigitalTwinInstanceRequest request)
Description copied from interface:IotDeletes the digital twin instance identified by the specified OCID.- Specified by:
deleteDigitalTwinInstancein interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDigitalTwinModel
public DeleteDigitalTwinModelResponse deleteDigitalTwinModel(DeleteDigitalTwinModelRequest request)
Description copied from interface:IotDeletes the digital twin model identified by the specified OCID.- Specified by:
deleteDigitalTwinModelin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDigitalTwinRelationship
public DeleteDigitalTwinRelationshipResponse deleteDigitalTwinRelationship(DeleteDigitalTwinRelationshipRequest request)
Description copied from interface:IotDeletes the digital twin relationship identified by the specified OCID.- Specified by:
deleteDigitalTwinRelationshipin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteIotDomain
public DeleteIotDomainResponse deleteIotDomain(DeleteIotDomainRequest request)
Description copied from interface:IotDeletes the IoT domain identified by the specified OCID.- Specified by:
deleteIotDomainin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteIotDomainGroup
public DeleteIotDomainGroupResponse deleteIotDomainGroup(DeleteIotDomainGroupRequest request)
Description copied from interface:IotDeletes the IoT domain group identified by the specified OCID.- Specified by:
deleteIotDomainGroupin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDigitalTwinAdapter
public GetDigitalTwinAdapterResponse getDigitalTwinAdapter(GetDigitalTwinAdapterRequest request)
Description copied from interface:IotRetrieves the digital twin adapter identified by the specified OCID.- Specified by:
getDigitalTwinAdapterin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDigitalTwinInstance
public GetDigitalTwinInstanceResponse getDigitalTwinInstance(GetDigitalTwinInstanceRequest request)
Description copied from interface:IotRetrieves the digital twin instance identified by the specified OCID.- Specified by:
getDigitalTwinInstancein interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDigitalTwinInstanceContent
public GetDigitalTwinInstanceContentResponse getDigitalTwinInstanceContent(GetDigitalTwinInstanceContentRequest request)
Description copied from interface:IotRetrieves the latest snapshot data of digital twin instance identified by the specified OCID.- Specified by:
getDigitalTwinInstanceContentin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDigitalTwinModel
public GetDigitalTwinModelResponse getDigitalTwinModel(GetDigitalTwinModelRequest request)
Description copied from interface:IotRetrieves the digital twin model identified by the specified OCID.- Specified by:
getDigitalTwinModelin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDigitalTwinModelSpec
public GetDigitalTwinModelSpecResponse getDigitalTwinModelSpec(GetDigitalTwinModelSpecRequest request)
Description copied from interface:IotRetrieves the spec of digital twin model identified by the specified OCID.- Specified by:
getDigitalTwinModelSpecin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDigitalTwinRelationship
public GetDigitalTwinRelationshipResponse getDigitalTwinRelationship(GetDigitalTwinRelationshipRequest request)
Description copied from interface:IotRetrieves the digital twin relationship identified by the specified OCID.- Specified by:
getDigitalTwinRelationshipin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getIotDomain
public GetIotDomainResponse getIotDomain(GetIotDomainRequest request)
Description copied from interface:IotRetrieves the IoT domain identified by the specified OCID.- Specified by:
getIotDomainin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getIotDomainGroup
public GetIotDomainGroupResponse getIotDomainGroup(GetIotDomainGroupRequest request)
Description copied from interface:IotRetrieves the IoT domain group identified by the specified OCID.- Specified by:
getIotDomainGroupin interfaceIot- 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:IotRetrieves the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
invokeRawCommand
public InvokeRawCommandResponse invokeRawCommand(InvokeRawCommandRequest request)
Description copied from interface:IotInvokes the raw command on the specified digital twin instance.- Specified by:
invokeRawCommandin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDigitalTwinAdapters
public ListDigitalTwinAdaptersResponse listDigitalTwinAdapters(ListDigitalTwinAdaptersRequest request)
Description copied from interface:IotRetrieves a list of digital twin adapters within the specified IoT domain.- Specified by:
listDigitalTwinAdaptersin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDigitalTwinInstances
public ListDigitalTwinInstancesResponse listDigitalTwinInstances(ListDigitalTwinInstancesRequest request)
Description copied from interface:IotRetrieves a list of digital twin instances within the specified IoT domain.- Specified by:
listDigitalTwinInstancesin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDigitalTwinModels
public ListDigitalTwinModelsResponse listDigitalTwinModels(ListDigitalTwinModelsRequest request)
Description copied from interface:IotRetrieves a list of digital twin models within the specified IoT domain.- Specified by:
listDigitalTwinModelsin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDigitalTwinRelationships
public ListDigitalTwinRelationshipsResponse listDigitalTwinRelationships(ListDigitalTwinRelationshipsRequest request)
Description copied from interface:IotRetrieves a list of digital twin relationships within the specified IoT domain.- Specified by:
listDigitalTwinRelationshipsin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listIotDomainGroups
public ListIotDomainGroupsResponse listIotDomainGroups(ListIotDomainGroupsRequest request)
Description copied from interface:IotRetrieves a list of IoT domain groups within the specified compartment.- Specified by:
listIotDomainGroupsin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listIotDomains
public ListIotDomainsResponse listIotDomains(ListIotDomainsRequest request)
Description copied from interface:IotRetrieves a list of IoT domains within the specified compartment.- Specified by:
listIotDomainsin interfaceIot- 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:IotLists errors associated with the specified work request.- Specified by:
listWorkRequestErrorsin interfaceIot- 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:IotLists the logs associated with the specified work request.- Specified by:
listWorkRequestLogsin interfaceIot- 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:IotLists work requests in the specified compartment.- Specified by:
listWorkRequestsin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDigitalTwinAdapter
public UpdateDigitalTwinAdapterResponse updateDigitalTwinAdapter(UpdateDigitalTwinAdapterRequest request)
Description copied from interface:IotUpdates the details of digital twin adapter identified by the specified OCID.- Specified by:
updateDigitalTwinAdapterin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDigitalTwinInstance
public UpdateDigitalTwinInstanceResponse updateDigitalTwinInstance(UpdateDigitalTwinInstanceRequest request)
Description copied from interface:IotUpdates the details of digital twin instance identified by the specified OCID.- Specified by:
updateDigitalTwinInstancein interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDigitalTwinModel
public UpdateDigitalTwinModelResponse updateDigitalTwinModel(UpdateDigitalTwinModelRequest request)
Description copied from interface:IotUpdates the details of the digital twin model identified by the specified OCID.- Specified by:
updateDigitalTwinModelin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDigitalTwinRelationship
public UpdateDigitalTwinRelationshipResponse updateDigitalTwinRelationship(UpdateDigitalTwinRelationshipRequest request)
Description copied from interface:IotUpdates the details of digital twin relationship identified by the specified OCID.- Specified by:
updateDigitalTwinRelationshipin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateIotDomain
public UpdateIotDomainResponse updateIotDomain(UpdateIotDomainRequest request)
Description copied from interface:IotUpdates the details of IoT domain identified by the specified OCID.- Specified by:
updateIotDomainin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateIotDomainGroup
public UpdateIotDomainGroupResponse updateIotDomainGroup(UpdateIotDomainGroupRequest request)
Description copied from interface:IotUpdates the details of IoT domain group identified by the specified OCID.- Specified by:
updateIotDomainGroupin interfaceIot- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public IotWaiters getWaiters()
Description copied from interface:IotGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceIot- Returns:
- The service waiters.
-
getPaginators
public IotPaginators getPaginators()
Description copied from interface:IotGets 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 interfaceIot- 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()
-
-