Package com.mypurecloud.sdk.v2.api
Class DataPrivacyApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.DataPrivacyApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteDataprivacyMaskingruleAsync(DeleteDataprivacyMaskingruleRequest request, AsyncApiCallback<Void> callback) Delete a masking rule.deleteDataprivacyMaskingruleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a masking rule.getDataprivacyMaskingruleAsync(GetDataprivacyMaskingruleRequest request, AsyncApiCallback<MaskingRule> callback) Fetch details about a masking rule.getDataprivacyMaskingruleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MaskingRule>> callback) Fetch details about a masking rule.getDataprivacyMaskingrulesAsync(GetDataprivacyMaskingrulesRequest request, AsyncApiCallback<MaskingRuleListing> callback) Retrieve the list of masking rules.getDataprivacyMaskingrulesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MaskingRuleListing>> callback) Retrieve the list of masking rules.patchDataprivacyMaskingruleAsync(PatchDataprivacyMaskingruleRequest request, AsyncApiCallback<MaskingRule> callback) Update information about a masking rule.patchDataprivacyMaskingruleAsync(ApiRequest<MaskingRule> request, AsyncApiCallback<ApiResponse<MaskingRule>> callback) Update information about a masking rule.postDataprivacyMaskingrulesAsync(PostDataprivacyMaskingrulesRequest request, AsyncApiCallback<MaskingRule> callback) Create a new masking rule resource.postDataprivacyMaskingrulesAsync(ApiRequest<MaskingRule> request, AsyncApiCallback<ApiResponse<MaskingRule>> callback) Create a new masking rule resource.postDataprivacyMaskingrulesValidateAsync(PostDataprivacyMaskingrulesValidateRequest request, AsyncApiCallback<MaskingRuleValidateResponse> callback) Validate masking before creating.postDataprivacyMaskingrulesValidateAsync(ApiRequest<MaskingRuleValidateRequest> request, AsyncApiCallback<ApiResponse<MaskingRuleValidateResponse>> callback) Validate masking before creating.
-
Constructor Details
-
DataPrivacyApiAsync
public DataPrivacyApiAsync() -
DataPrivacyApiAsync
-
-
Method Details
-
deleteDataprivacyMaskingruleAsync
public Future<Void> deleteDataprivacyMaskingruleAsync(DeleteDataprivacyMaskingruleRequest request, AsyncApiCallback<Void> callback) Delete a masking rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteDataprivacyMaskingruleAsync
public Future<ApiResponse<Void>> deleteDataprivacyMaskingruleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a masking rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getDataprivacyMaskingruleAsync
public Future<MaskingRule> getDataprivacyMaskingruleAsync(GetDataprivacyMaskingruleRequest request, AsyncApiCallback<MaskingRule> callback) Fetch details about a masking rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getDataprivacyMaskingruleAsync
public Future<ApiResponse<MaskingRule>> getDataprivacyMaskingruleAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MaskingRule>> callback) Fetch details about a masking rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getDataprivacyMaskingrulesAsync
public Future<MaskingRuleListing> getDataprivacyMaskingrulesAsync(GetDataprivacyMaskingrulesRequest request, AsyncApiCallback<MaskingRuleListing> callback) Retrieve the list of masking rules.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getDataprivacyMaskingrulesAsync
public Future<ApiResponse<MaskingRuleListing>> getDataprivacyMaskingrulesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MaskingRuleListing>> callback) Retrieve the list of masking rules.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchDataprivacyMaskingruleAsync
public Future<MaskingRule> patchDataprivacyMaskingruleAsync(PatchDataprivacyMaskingruleRequest request, AsyncApiCallback<MaskingRule> callback) Update information about a masking rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchDataprivacyMaskingruleAsync
public Future<ApiResponse<MaskingRule>> patchDataprivacyMaskingruleAsync(ApiRequest<MaskingRule> request, AsyncApiCallback<ApiResponse<MaskingRule>> callback) Update information about a masking rule.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postDataprivacyMaskingrulesAsync
public Future<MaskingRule> postDataprivacyMaskingrulesAsync(PostDataprivacyMaskingrulesRequest request, AsyncApiCallback<MaskingRule> callback) Create a new masking rule resource.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postDataprivacyMaskingrulesAsync
public Future<ApiResponse<MaskingRule>> postDataprivacyMaskingrulesAsync(ApiRequest<MaskingRule> request, AsyncApiCallback<ApiResponse<MaskingRule>> callback) Create a new masking rule resource.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postDataprivacyMaskingrulesValidateAsync
public Future<MaskingRuleValidateResponse> postDataprivacyMaskingrulesValidateAsync(PostDataprivacyMaskingrulesValidateRequest request, AsyncApiCallback<MaskingRuleValidateResponse> callback) Validate masking before creating.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postDataprivacyMaskingrulesValidateAsync
public Future<ApiResponse<MaskingRuleValidateResponse>> postDataprivacyMaskingrulesValidateAsync(ApiRequest<MaskingRuleValidateRequest> request, AsyncApiCallback<ApiResponse<MaskingRuleValidateResponse>> callback) Validate masking before creating.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-