Class SoftwareSourceClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.osmanagementhub.SoftwareSourceClient
-
- All Implemented Interfaces:
SoftwareSource,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class SoftwareSourceClient extends BaseSyncClient implements SoftwareSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoftwareSourceClient.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 SoftwareSource.
-
Constructor Summary
Constructors Constructor Description SoftwareSourceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.SoftwareSourceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.SoftwareSourceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.SoftwareSourceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.SoftwareSourceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.SoftwareSourceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.SoftwareSourceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.SoftwareSourceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AddPackagesToSoftwareSourceResponseaddPackagesToSoftwareSource(AddPackagesToSoftwareSourceRequest request)Adds packages to a software source.static SoftwareSourceClient.Builderbuilder()Create a builder for this client.ChangeAvailabilityOfSoftwareSourcesResponsechangeAvailabilityOfSoftwareSources(ChangeAvailabilityOfSoftwareSourcesRequest request)Updates the availability for a list of specified software sources.ChangeSoftwareSourceCompartmentResponsechangeSoftwareSourceCompartment(ChangeSoftwareSourceCompartmentRequest request)Moves the specified software sources to a different compartment within the same tenancy.voidclose()CreateEntitlementResponsecreateEntitlement(CreateEntitlementRequest request)Registers the necessary entitlement credentials for OS vendor software sources for a tenancy.CreateSoftwareSourceResponsecreateSoftwareSource(CreateSoftwareSourceRequest request)Creates a new software source.DeleteSoftwareSourceResponsedeleteSoftwareSource(DeleteSoftwareSourceRequest request)Deletes the specified software source.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()GetErratumResponsegetErratum(GetErratumRequest request)Returns information about the specified erratum based on its advisory name.Optional<String>getMinimumClientCommonLibraryVersionFromClient()GetModuleStreamResponsegetModuleStream(GetModuleStreamRequest request)Returns information about the specified module stream in a software source.GetModuleStreamProfileResponsegetModuleStreamProfile(GetModuleStreamProfileRequest request)Returns information about the specified module stream profile in a software source.GetPackageGroupResponsegetPackageGroup(GetPackageGroupRequest request)Returns information about the specified package group from a software source.SoftwareSourcePaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetSoftwarePackageResponsegetSoftwarePackage(GetSoftwarePackageRequest request)Returns information about the specified software package.GetSoftwarePackageByNameResponsegetSoftwarePackageByName(GetSoftwarePackageByNameRequest request)Returns information about the specified software package based on its fully qualified name (NVRA or NEVRA).GetSoftwareSourceResponsegetSoftwareSource(GetSoftwareSourceRequest request)Returns information about the specified software source.GetSoftwareSourceManifestResponsegetSoftwareSourceManifest(GetSoftwareSourceManifestRequest request)Returns an archive containing the list of packages in the software source.SoftwareSourceWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.ListAllSoftwarePackagesResponselistAllSoftwarePackages(ListAllSoftwarePackagesRequest request)Lists software packages available through the OS Management Hub service.ListAvailableSoftwarePackagesResponselistAvailableSoftwarePackages(ListAvailableSoftwarePackagesRequest request)Lists software packages that are available to be added to a custom software source of type MANIFEST.ListEntitlementsResponselistEntitlements(ListEntitlementsRequest request)Lists entitlements in the specified tenancy OCID.ListErrataResponselistErrata(ListErrataRequest request)Lists all of the currently available errata.ListModuleStreamProfilesResponselistModuleStreamProfiles(ListModuleStreamProfilesRequest request)Lists module stream profiles from the specified software source OCID.ListModuleStreamsResponselistModuleStreams(ListModuleStreamsRequest request)Lists module streams from the specified software source OCID.ListPackageGroupsResponselistPackageGroups(ListPackageGroupsRequest request)Lists package groups that are associated with the specified software source OCID.ListSoftwarePackagesResponselistSoftwarePackages(ListSoftwarePackagesRequest request)Lists software packages in the specified software source.ListSoftwarePackageSoftwareSourcesResponselistSoftwarePackageSoftwareSources(ListSoftwarePackageSoftwareSourcesRequest request)Lists the software sources in the tenancy that contain the software package.ListSoftwareSourcesResponselistSoftwareSources(ListSoftwareSourcesRequest request)Lists software sources that match the specified tenancy or software source OCID.ListSoftwareSourceVendorsResponselistSoftwareSourceVendors(ListSoftwareSourceVendorsRequest request)Lists available software source vendors.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.RemovePackagesFromSoftwareSourceResponseremovePackagesFromSoftwareSource(RemovePackagesFromSoftwareSourceRequest request)Removes packages from a software source.ReplacePackagesInSoftwareSourceResponsereplacePackagesInSoftwareSource(ReplacePackagesInSoftwareSourceRequest request)Replaces packages in a software source with the provided list of packages.SearchSoftwareSourceModulesResponsesearchSoftwareSourceModules(SearchSoftwareSourceModulesRequest request)Lists modules from a list of software sources.SearchSoftwareSourceModuleStreamsResponsesearchSoftwareSourceModuleStreams(SearchSoftwareSourceModuleStreamsRequest request)Returns a list of module streams from the specified software sources.SearchSoftwareSourcePackageGroupsResponsesearchSoftwareSourcePackageGroups(SearchSoftwareSourcePackageGroupsRequest request)Searches the package groups from the specified list of software sources.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’).SoftwareSourceGenerateMetadataResponsesoftwareSourceGenerateMetadata(SoftwareSourceGenerateMetadataRequest request)Regenerates metadata for the specified custom software source.voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateSoftwareSourceResponseupdateSoftwareSource(UpdateSoftwareSourceRequest request)Updates the specified software source’s details, including but not limited to name, description, and tags.UpdateSoftwareSourceManifestResponseupdateSoftwareSourceManifest(UpdateSoftwareSourceManifestRequest request)Updates the package list document for the software source.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.osmanagementhub.SoftwareSource
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeSoftwareSourceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeSoftwareSourceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeSoftwareSourceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeSoftwareSourceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeSoftwareSourceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(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 (seeSoftwareSourceClient.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)
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(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 (seeSoftwareSourceClient.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
-
SoftwareSourceClient
@Deprecated public SoftwareSourceClient(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 (seeSoftwareSourceClient.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-SoftwareSourceClient.Builder.executorService
-
-
Method Detail
-
builder
public static SoftwareSourceClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:SoftwareSourceSets 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 interfaceSoftwareSource- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:SoftwareSourceSets 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 interfaceSoftwareSource- Parameters:
regionId- The public region ID.
-
addPackagesToSoftwareSource
public AddPackagesToSoftwareSourceResponse addPackagesToSoftwareSource(AddPackagesToSoftwareSourceRequest request)
Description copied from interface:SoftwareSourceAdds packages to a software source.This operation can only be done for custom and versioned custom software sources that are not created using filters. For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable. Packages can be of the format: * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added. * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64) * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
- Specified by:
addPackagesToSoftwareSourcein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeAvailabilityOfSoftwareSources
public ChangeAvailabilityOfSoftwareSourcesResponse changeAvailabilityOfSoftwareSources(ChangeAvailabilityOfSoftwareSourcesRequest request)
Description copied from interface:SoftwareSourceUpdates the availability for a list of specified software sources.- Specified by:
changeAvailabilityOfSoftwareSourcesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeSoftwareSourceCompartment
public ChangeSoftwareSourceCompartmentResponse changeSoftwareSourceCompartment(ChangeSoftwareSourceCompartmentRequest request)
Description copied from interface:SoftwareSourceMoves the specified software sources to a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeSoftwareSourceCompartmentin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createEntitlement
public CreateEntitlementResponse createEntitlement(CreateEntitlementRequest request)
Description copied from interface:SoftwareSourceRegisters the necessary entitlement credentials for OS vendor software sources for a tenancy.- Specified by:
createEntitlementin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createSoftwareSource
public CreateSoftwareSourceResponse createSoftwareSource(CreateSoftwareSourceRequest request)
Description copied from interface:SoftwareSourceCreates a new software source.- Specified by:
createSoftwareSourcein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteSoftwareSource
public DeleteSoftwareSourceResponse deleteSoftwareSource(DeleteSoftwareSourceRequest request)
Description copied from interface:SoftwareSourceDeletes the specified software source.- Specified by:
deleteSoftwareSourcein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getErratum
public GetErratumResponse getErratum(GetErratumRequest request)
Description copied from interface:SoftwareSourceReturns information about the specified erratum based on its advisory name.- Specified by:
getErratumin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModuleStream
public GetModuleStreamResponse getModuleStream(GetModuleStreamRequest request)
Description copied from interface:SoftwareSourceReturns information about the specified module stream in a software source.- Specified by:
getModuleStreamin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModuleStreamProfile
public GetModuleStreamProfileResponse getModuleStreamProfile(GetModuleStreamProfileRequest request)
Description copied from interface:SoftwareSourceReturns information about the specified module stream profile in a software source.- Specified by:
getModuleStreamProfilein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPackageGroup
public GetPackageGroupResponse getPackageGroup(GetPackageGroupRequest request)
Description copied from interface:SoftwareSourceReturns information about the specified package group from a software source.- Specified by:
getPackageGroupin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getSoftwarePackage
public GetSoftwarePackageResponse getSoftwarePackage(GetSoftwarePackageRequest request)
Description copied from interface:SoftwareSourceReturns information about the specified software package.- Specified by:
getSoftwarePackagein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getSoftwarePackageByName
public GetSoftwarePackageByNameResponse getSoftwarePackageByName(GetSoftwarePackageByNameRequest request)
Description copied from interface:SoftwareSourceReturns information about the specified software package based on its fully qualified name (NVRA or NEVRA).- Specified by:
getSoftwarePackageByNamein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getSoftwareSource
public GetSoftwareSourceResponse getSoftwareSource(GetSoftwareSourceRequest request)
Description copied from interface:SoftwareSourceReturns information about the specified software source.- Specified by:
getSoftwareSourcein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getSoftwareSourceManifest
public GetSoftwareSourceManifestResponse getSoftwareSourceManifest(GetSoftwareSourceManifestRequest request)
Description copied from interface:SoftwareSourceReturns an archive containing the list of packages in the software source.- Specified by:
getSoftwareSourceManifestin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAllSoftwarePackages
public ListAllSoftwarePackagesResponse listAllSoftwarePackages(ListAllSoftwarePackagesRequest request)
Description copied from interface:SoftwareSourceLists software packages available through the OS Management Hub service.Filter the list against a variety of criteria including but not limited to its name.
- Specified by:
listAllSoftwarePackagesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAvailableSoftwarePackages
public ListAvailableSoftwarePackagesResponse listAvailableSoftwarePackages(ListAvailableSoftwarePackagesRequest request)
Description copied from interface:SoftwareSourceLists software packages that are available to be added to a custom software source of type MANIFEST.Filter the list against a variety of criteria including but not limited to its name.
- Specified by:
listAvailableSoftwarePackagesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listEntitlements
public ListEntitlementsResponse listEntitlements(ListEntitlementsRequest request)
Description copied from interface:SoftwareSourceLists entitlements in the specified tenancy OCID.Filter the list against a variety of criteria including but not limited to its Customer Support Identifier (CSI), and vendor name.
- Specified by:
listEntitlementsin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listErrata
public ListErrataResponse listErrata(ListErrataRequest request)
Description copied from interface:SoftwareSourceLists all of the currently available errata.Filter the list against a variety of criteria including but not limited to its name, classification type, advisory severity, and OS family.
- Specified by:
listErratain interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listModuleStreamProfiles
public ListModuleStreamProfilesResponse listModuleStreamProfiles(ListModuleStreamProfilesRequest request)
Description copied from interface:SoftwareSourceLists module stream profiles from the specified software source OCID.Filter the list against a variety of criteria including but not limited to its module name, stream name, and profile name.
- Specified by:
listModuleStreamProfilesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listModuleStreams
public ListModuleStreamsResponse listModuleStreams(ListModuleStreamsRequest request)
Description copied from interface:SoftwareSourceLists module streams from the specified software source OCID.Filter the list against a variety of criteria including but not limited to its module name and (stream) name.
- Specified by:
listModuleStreamsin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPackageGroups
public ListPackageGroupsResponse listPackageGroups(ListPackageGroupsRequest request)
Description copied from interface:SoftwareSourceLists package groups that are associated with the specified software source OCID.Filter the list against a variety of criteria including but not limited to its name, and package group type.
- Specified by:
listPackageGroupsin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSoftwarePackageSoftwareSources
public ListSoftwarePackageSoftwareSourcesResponse listSoftwarePackageSoftwareSources(ListSoftwarePackageSoftwareSourcesRequest request)
Description copied from interface:SoftwareSourceLists the software sources in the tenancy that contain the software package.Filter the list against a variety of criteria including but not limited to its name, type, architecture, and OS family.
- Specified by:
listSoftwarePackageSoftwareSourcesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSoftwarePackages
public ListSoftwarePackagesResponse listSoftwarePackages(ListSoftwarePackagesRequest request)
Description copied from interface:SoftwareSourceLists software packages in the specified software source.Filter the list against a variety of criteria including but not limited to its name.
- Specified by:
listSoftwarePackagesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSoftwareSourceVendors
public ListSoftwareSourceVendorsResponse listSoftwareSourceVendors(ListSoftwareSourceVendorsRequest request)
Description copied from interface:SoftwareSourceLists available software source vendors.Filter the list against a variety of criteria including but not limited to its name.
- Specified by:
listSoftwareSourceVendorsin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listSoftwareSources
public ListSoftwareSourcesResponse listSoftwareSources(ListSoftwareSourcesRequest request)
Description copied from interface:SoftwareSourceLists software sources that match the specified tenancy or software source OCID.Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
- Specified by:
listSoftwareSourcesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removePackagesFromSoftwareSource
public RemovePackagesFromSoftwareSourceResponse removePackagesFromSoftwareSource(RemovePackagesFromSoftwareSourceRequest request)
Description copied from interface:SoftwareSourceRemoves packages from a software source.This operation can only be done for custom software sources that are not created using filters. Packages can be of the format: * name (for example: git). This removes all versions of the package. * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64) * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
- Specified by:
removePackagesFromSoftwareSourcein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
replacePackagesInSoftwareSource
public ReplacePackagesInSoftwareSourceResponse replacePackagesInSoftwareSource(ReplacePackagesInSoftwareSourceRequest request)
Description copied from interface:SoftwareSourceReplaces packages in a software source with the provided list of packages.This operation can only be done for custom software sources that are not created using filters. Packages can be of the format: * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added. * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64) * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
- Specified by:
replacePackagesInSoftwareSourcein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
searchSoftwareSourceModuleStreams
public SearchSoftwareSourceModuleStreamsResponse searchSoftwareSourceModuleStreams(SearchSoftwareSourceModuleStreamsRequest request)
Description copied from interface:SoftwareSourceReturns a list of module streams from the specified software sources.Filter the list against a variety of criteria including the module name.
- Specified by:
searchSoftwareSourceModuleStreamsin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
searchSoftwareSourceModules
public SearchSoftwareSourceModulesResponse searchSoftwareSourceModules(SearchSoftwareSourceModulesRequest request)
Description copied from interface:SoftwareSourceLists modules from a list of software sources.Filter the list against a variety of criteria including the module name.
- Specified by:
searchSoftwareSourceModulesin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
searchSoftwareSourcePackageGroups
public SearchSoftwareSourcePackageGroupsResponse searchSoftwareSourcePackageGroups(SearchSoftwareSourcePackageGroupsRequest request)
Description copied from interface:SoftwareSourceSearches the package groups from the specified list of software sources.Filter the list against a variety of criteria including but not limited to its name, and group type.
- Specified by:
searchSoftwareSourcePackageGroupsin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
softwareSourceGenerateMetadata
public SoftwareSourceGenerateMetadataResponse softwareSourceGenerateMetadata(SoftwareSourceGenerateMetadataRequest request)
Description copied from interface:SoftwareSourceRegenerates metadata for the specified custom software source.- Specified by:
softwareSourceGenerateMetadatain interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateSoftwareSource
public UpdateSoftwareSourceResponse updateSoftwareSource(UpdateSoftwareSourceRequest request)
Description copied from interface:SoftwareSourceUpdates the specified software source’s details, including but not limited to name, description, and tags.- Specified by:
updateSoftwareSourcein interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateSoftwareSourceManifest
public UpdateSoftwareSourceManifestResponse updateSoftwareSourceManifest(UpdateSoftwareSourceManifestRequest request)
Description copied from interface:SoftwareSourceUpdates the package list document for the software source.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
updateSoftwareSourceManifestin interfaceSoftwareSource- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public SoftwareSourceWaiters getWaiters()
Description copied from interface:SoftwareSourceGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceSoftwareSource- Returns:
- The service waiters.
-
getPaginators
public SoftwareSourcePaginators getPaginators()
Description copied from interface:SoftwareSourceGets 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 interfaceSoftwareSource- 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()
-
-