Package com.cloudera.cdp.df.api
Class DfClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.df.api.DfClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:28.348-07:00")
public class DfClient
extends CdpClient
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
Constructor Summary
ConstructorDescriptionDfClient
(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) DfClient
(CdpRequestContext<?> context) -
Method Summary
Modifier and TypeMethodDescriptionaddReadyflow
(AddReadyflowRequest input) Add ready flow.Cancels deletion of a Project.Create flow version tag.Creates a Project.Delete added ready flow.deleteFlow
(DeleteFlowRequest input) Delete flow.Delete flow version tag.Deletes a Project.Describe added ready flow detail.Describe deployment.Describe event detail for deployment.describeFlow
(DescribeFlowRequest input) Describe flow.Describes a Project.Describe ready flow.Describe service.Describe event history detail for service.Disable service.Enable DataFlow service from a CDP environment.Get flow version.Get Kubeconfig.protected String
Gets the request Content-Type, used by 'Conent-Type' request header.protected String
Gets the expected response Content-Type, used by 'Accept' request header.protected String
Gets the service name.Grant remote user access to the service's cluster.Import a new flow definition.Import a new flow definition version to an existing flow.Initiate a deployment creation.List services that a DataFlow Admin can deploy to.List active alerts for deployment.List event history for deployment.List deployment KPIs.List deployments.List deployment System metrics.List diagnostics.List filter options.List flow definitions.List flow definition versions.List flow version tags.List notifications.List filter options.listProjects
(ListProjectsRequest input) List Projects.List ready flows.List active alerts for service.List events for service.listServices
(ListServicesRequest input) List services.List service System metrics.List users that have access to the service's cluster.Renew workload UI certificates.resetService
(ResetServiceRequest input) Resets all references to a service.Revoke access for the remote user from the service's cluster.Start diagnostics collection.Updates a Project.Update service.Upgrade service.Methods inherited from class com.cloudera.cdp.client.CdpClient
invokeAPI, invokeAPI, invokeAPI, invokeAPI, parameterToPair, parameterToPairs, parameterToString, shutdown
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
DfClient
public DfClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
DfClient
-
-
Method Details
-
getServiceName
Description copied from class:CdpClient
Gets the service name.- Specified by:
getServiceName
in classCdpClient
- Returns:
- the service name
-
getRequestContentType
Description copied from class:CdpClient
Gets the request Content-Type, used by 'Conent-Type' request header.- Overrides:
getRequestContentType
in classCdpClient
- Returns:
- the request Content-Type
-
getResponseContentType
Description copied from class:CdpClient
Gets the expected response Content-Type, used by 'Accept' request header.- Overrides:
getResponseContentType
in classCdpClient
- Returns:
- the response Content-Type
-
addReadyflow
Add ready flow.- Parameters:
input
-- Returns:
- AddReadyflowResponse
-
cancelDeleteProject
Cancels deletion of a Project.- Parameters:
input
-- Returns:
- CancelDeleteProjectResponse
-
createFlowVersionTag
Create flow version tag.- Parameters:
input
-- Returns:
- CreateFlowVersionTagResponse
-
createProject
Creates a Project.- Parameters:
input
-- Returns:
- CreateProjectResponse
-
deleteAddedReadyflow
Delete added ready flow.- Parameters:
input
-- Returns:
- DeleteAddedReadyflowResponse
-
deleteFlow
Delete flow.- Parameters:
input
-- Returns:
- DeleteFlowResponse
-
deleteFlowVersionTag
Delete flow version tag.- Parameters:
input
-- Returns:
- DeleteFlowVersionTagResponse
-
deleteProject
Deletes a Project.- Parameters:
input
-- Returns:
- DeleteProjectResponse
-
describeAddedReadyflow
Describe added ready flow detail.- Parameters:
input
-- Returns:
- DescribeAddedReadyflowResponse
-
describeDeployment
Describe deployment.- Parameters:
input
-- Returns:
- DescribeDeploymentResponse
-
describeDeploymentEventDetail
public DescribeDeploymentEventDetailResponse describeDeploymentEventDetail(DescribeDeploymentEventDetailRequest input) Describe event detail for deployment.- Parameters:
input
-- Returns:
- DescribeDeploymentEventDetailResponse
-
describeFlow
Describe flow.- Parameters:
input
-- Returns:
- DescribeFlowResponse
-
describeProject
Describes a Project.- Parameters:
input
-- Returns:
- DescribeProjectResponse
-
describeReadyflow
Describe ready flow.- Parameters:
input
-- Returns:
- DescribeReadyflowResponse
-
describeService
Describe service.- Parameters:
input
-- Returns:
- DescribeServiceResponse
-
describeServiceEventDetail
public DescribeServiceEventDetailResponse describeServiceEventDetail(DescribeServiceEventDetailRequest input) Describe event history detail for service.- Parameters:
input
-- Returns:
- DescribeServiceEventDetailResponse
-
disableService
Disable service.- Parameters:
input
-- Returns:
- DisableServiceResponse
-
enableService
Enable DataFlow service from a CDP environment.- Parameters:
input
-- Returns:
- EnableServiceResponse
-
getFlowVersion
Get flow version.- Parameters:
input
-- Returns:
- GetFlowVersionResponse
-
getKubeconfig
Get Kubeconfig.- Parameters:
input
-- Returns:
- GetKubeconfigResponse
-
grantUserKubernetesAccess
public GrantUserKubernetesAccessResponse grantUserKubernetesAccess(GrantUserKubernetesAccessRequest input) Grant remote user access to the service's cluster.- Parameters:
input
-- Returns:
- GrantUserKubernetesAccessResponse
-
importFlowDefinition
Import a new flow definition.- Parameters:
input
-- Returns:
- ImportFlowDefinitionResponse
-
importFlowDefinitionVersion
public ImportFlowDefinitionVersionResponse importFlowDefinitionVersion(ImportFlowDefinitionVersionRequest input) Import a new flow definition version to an existing flow.- Parameters:
input
-- Returns:
- ImportFlowDefinitionVersionResponse
-
initiateDeployment
Initiate a deployment creation.- Parameters:
input
-- Returns:
- InitiateDeploymentResponse
-
listDeployableServicesForNewDeployments
public ListDeployableServicesForNewDeploymentsResponse listDeployableServicesForNewDeployments(ListDeployableServicesForNewDeploymentsRequest input) List services that a DataFlow Admin can deploy to.- Parameters:
input
-- Returns:
- ListDeployableServicesForNewDeploymentsResponse
-
listDeploymentActiveAlerts
public ListDeploymentActiveAlertsResponse listDeploymentActiveAlerts(ListDeploymentActiveAlertsRequest input) List active alerts for deployment.- Parameters:
input
-- Returns:
- ListDeploymentActiveAlertsResponse
-
listDeploymentEvents
List event history for deployment.- Parameters:
input
-- Returns:
- ListDeploymentEventsResponse
-
listDeploymentKPIs
List deployment KPIs.- Parameters:
input
-- Returns:
- ListDeploymentKPIsResponse
-
listDeploymentSystemMetrics
public ListDeploymentSystemMetricsResponse listDeploymentSystemMetrics(ListDeploymentSystemMetricsRequest input) List deployment System metrics.- Parameters:
input
-- Returns:
- ListDeploymentSystemMetricsResponse
-
listDeployments
List deployments.- Parameters:
input
-- Returns:
- ListDeploymentsResponse
-
listDiagnostics
List diagnostics.- Parameters:
input
-- Returns:
- ListDiagnosticsResponse
-
listFilterOptions
List filter options.- Parameters:
input
-- Returns:
- ListFilterOptionsResponse
-
listFlowDefinitionVersions
public ListFlowDefinitionVersionsResponse listFlowDefinitionVersions(ListFlowDefinitionVersionsRequest input) List flow definition versions.- Parameters:
input
-- Returns:
- ListFlowDefinitionVersionsResponse
-
listFlowDefinitions
List flow definitions.- Parameters:
input
-- Returns:
- ListFlowDefinitionsResponse
-
listFlowVersionTags
List flow version tags.- Parameters:
input
-- Returns:
- ListFlowVersionTagsResponse
-
listNotifications
List notifications.- Parameters:
input
-- Returns:
- ListNotificationsResponse
-
listProjectFilterOptions
public ListProjectFilterOptionsResponse listProjectFilterOptions(ListProjectFilterOptionsRequest input) List filter options.- Parameters:
input
-- Returns:
- ListProjectFilterOptionsResponse
-
listProjects
List Projects.- Parameters:
input
-- Returns:
- ListProjectsResponse
-
listReadyflows
List ready flows.- Parameters:
input
-- Returns:
- ListReadyflowsResponse
-
listServiceActiveAlerts
public ListServiceActiveAlertsResponse listServiceActiveAlerts(ListServiceActiveAlertsRequest input) List active alerts for service.- Parameters:
input
-- Returns:
- ListServiceActiveAlertsResponse
-
listServiceEvents
List events for service.- Parameters:
input
-- Returns:
- ListServiceEventsResponse
-
listServiceSystemMetrics
public ListServiceSystemMetricsResponse listServiceSystemMetrics(ListServiceSystemMetricsRequest input) List service System metrics.- Parameters:
input
-- Returns:
- ListServiceSystemMetricsResponse
-
listServices
List services.- Parameters:
input
-- Returns:
- ListServicesResponse
-
listUserKubernetesAccess
public ListUserKubernetesAccessResponse listUserKubernetesAccess(ListUserKubernetesAccessRequest input) List users that have access to the service's cluster.- Parameters:
input
-- Returns:
- ListUserKubernetesAccessResponse
-
renewCertificates
Renew workload UI certificates.- Parameters:
input
-- Returns:
- RenewCertificatesResponse
-
resetService
Resets all references to a service. Only not-enabled services can be reset. Makes no attempt to clean-up resources.- Parameters:
input
-- Returns:
- ResetServiceResponse
-
revokeUserKubernetesAccess
public RevokeUserKubernetesAccessResponse revokeUserKubernetesAccess(RevokeUserKubernetesAccessRequest input) Revoke access for the remote user from the service's cluster.- Parameters:
input
-- Returns:
- RevokeUserKubernetesAccessResponse
-
startGetDiagnosticsCollection
public StartGetDiagnosticsCollectionResponse startGetDiagnosticsCollection(StartGetDiagnosticsCollectionRequest input) Start diagnostics collection.- Parameters:
input
-- Returns:
- StartGetDiagnosticsCollectionResponse
-
updateProject
Updates a Project.- Parameters:
input
-- Returns:
- UpdateProjectResponse
-
updateService
Update service.- Parameters:
input
-- Returns:
- UpdateServiceResponse
-
upgradeService
Upgrade service.- Parameters:
input
-- Returns:
- UpgradeServiceResponse
-