Interface FleetAppsManagementAdminAsync
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
FleetAppsManagementAdminAsyncClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public interface FleetAppsManagementAdminAsync extends AutoCloseable
Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise.
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the serice.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Parameters:
region
- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
createCompliancePolicyRule
Future<CreateCompliancePolicyRuleResponse> createCompliancePolicyRule(CreateCompliancePolicyRuleRequest request, AsyncHandler<CreateCompliancePolicyRuleRequest,CreateCompliancePolicyRuleResponse> handler)
Creates a CompliancePolicyRule.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createOnboarding
Future<CreateOnboardingResponse> createOnboarding(CreateOnboardingRequest request, AsyncHandler<CreateOnboardingRequest,CreateOnboardingResponse> handler)
Onboard a tenant to Fleet Application Management.The onboarding process lets Fleet Application Management create a few required policies that you need to start using it and its features.
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPlatformConfiguration
Future<CreatePlatformConfigurationResponse> createPlatformConfiguration(CreatePlatformConfigurationRequest request, AsyncHandler<CreatePlatformConfigurationRequest,CreatePlatformConfigurationResponse> handler)
Creates a new PlatformConfiguration.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createProperty
Future<CreatePropertyResponse> createProperty(CreatePropertyRequest request, AsyncHandler<CreatePropertyRequest,CreatePropertyResponse> handler)
Create a business-specific metadata property in Fleet Application Management and capture the business metadata classifications.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteCompliancePolicyRule
Future<DeleteCompliancePolicyRuleResponse> deleteCompliancePolicyRule(DeleteCompliancePolicyRuleRequest request, AsyncHandler<DeleteCompliancePolicyRuleRequest,DeleteCompliancePolicyRuleResponse> handler)
Deletes a CompliancePolicyRule.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteOnboarding
Future<DeleteOnboardingResponse> deleteOnboarding(DeleteOnboardingRequest request, AsyncHandler<DeleteOnboardingRequest,DeleteOnboardingResponse> handler)
Deletes Fleet Application Management onboarding resource by identifier- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePlatformConfiguration
Future<DeletePlatformConfigurationResponse> deletePlatformConfiguration(DeletePlatformConfigurationRequest request, AsyncHandler<DeletePlatformConfigurationRequest,DeletePlatformConfigurationResponse> handler)
Deletes a PlatformConfiguration resource by identifier- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteProperty
Future<DeletePropertyResponse> deleteProperty(DeletePropertyRequest request, AsyncHandler<DeletePropertyRequest,DeletePropertyResponse> handler)
Delete a property in Fleet Application Management.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
enableLatestPolicy
Future<EnableLatestPolicyResponse> enableLatestPolicy(EnableLatestPolicyRequest request, AsyncHandler<EnableLatestPolicyRequest,EnableLatestPolicyResponse> handler)
Enable Policies for a newer version of Fleet Application Management- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCompliancePolicy
Future<GetCompliancePolicyResponse> getCompliancePolicy(GetCompliancePolicyRequest request, AsyncHandler<GetCompliancePolicyRequest,GetCompliancePolicyResponse> handler)
Gets information about a CompliancePolicy.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCompliancePolicyRule
Future<GetCompliancePolicyRuleResponse> getCompliancePolicyRule(GetCompliancePolicyRuleRequest request, AsyncHandler<GetCompliancePolicyRuleRequest,GetCompliancePolicyRuleResponse> handler)
Gets information about a CompliancePolicyRule.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getOnboarding
Future<GetOnboardingResponse> getOnboarding(GetOnboardingRequest request, AsyncHandler<GetOnboardingRequest,GetOnboardingResponse> handler)
Gets a Fleet Application Management Onboarding by identifier.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPlatformConfiguration
Future<GetPlatformConfigurationResponse> getPlatformConfiguration(GetPlatformConfigurationRequest request, AsyncHandler<GetPlatformConfigurationRequest,GetPlatformConfigurationResponse> handler)
Gets a PlatformConfiguration by identifier- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getProperty
Future<GetPropertyResponse> getProperty(GetPropertyRequest request, AsyncHandler<GetPropertyRequest,GetPropertyResponse> handler)
Gets a Property by identifier- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCompliancePolicies
Future<ListCompliancePoliciesResponse> listCompliancePolicies(ListCompliancePoliciesRequest request, AsyncHandler<ListCompliancePoliciesRequest,ListCompliancePoliciesResponse> handler)
Gets a list of compliancePolicies.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCompliancePolicyRules
Future<ListCompliancePolicyRulesResponse> listCompliancePolicyRules(ListCompliancePolicyRulesRequest request, AsyncHandler<ListCompliancePolicyRulesRequest,ListCompliancePolicyRulesResponse> handler)
Gets a list of CompliancePolicyRules.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listOnboardingPolicies
Future<ListOnboardingPoliciesResponse> listOnboardingPolicies(ListOnboardingPoliciesRequest request, AsyncHandler<ListOnboardingPoliciesRequest,ListOnboardingPoliciesResponse> handler)
Returns a list of onboarding policy information for Fleet Application Management.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listOnboardings
Future<ListOnboardingsResponse> listOnboardings(ListOnboardingsRequest request, AsyncHandler<ListOnboardingsRequest,ListOnboardingsResponse> handler)
Returns a list of onboarding information for the Tenancy.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPlatformConfigurations
Future<ListPlatformConfigurationsResponse> listPlatformConfigurations(ListPlatformConfigurationsRequest request, AsyncHandler<ListPlatformConfigurationsRequest,ListPlatformConfigurationsResponse> handler)
Returns a list of PlatformConfiguration for Tenancy.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listProperties
Future<ListPropertiesResponse> listProperties(ListPropertiesRequest request, AsyncHandler<ListPropertiesRequest,ListPropertiesResponse> handler)
List properties and their values for a tenancy in Fleet Application Management.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
manageSettings
Future<ManageSettingsResponse> manageSettings(ManageSettingsRequest request, AsyncHandler<ManageSettingsRequest,ManageSettingsResponse> handler)
Updates the Onboarding setting- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateCompliancePolicyRule
Future<UpdateCompliancePolicyRuleResponse> updateCompliancePolicyRule(UpdateCompliancePolicyRuleRequest request, AsyncHandler<UpdateCompliancePolicyRuleRequest,UpdateCompliancePolicyRuleResponse> handler)
Updates a CompliancePolicyRule.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateOnboarding
Future<UpdateOnboardingResponse> updateOnboarding(UpdateOnboardingRequest request, AsyncHandler<UpdateOnboardingRequest,UpdateOnboardingResponse> handler)
Updates the Onboarding- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePlatformConfiguration
Future<UpdatePlatformConfigurationResponse> updatePlatformConfiguration(UpdatePlatformConfigurationRequest request, AsyncHandler<UpdatePlatformConfigurationRequest,UpdatePlatformConfigurationResponse> handler)
Updates the PlatformConfiguration- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateProperty
Future<UpdatePropertyResponse> updateProperty(UpdatePropertyRequest request, AsyncHandler<UpdatePropertyRequest,UpdatePropertyResponse> handler)
Update a property in Fleet Application Management.- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
-