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="2023-09-14T10:47:19.717-07:00") public class DfClient extends CdpClient
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
-
Constructor Summary
Constructors Constructor Description DfClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration)
DfClient(CdpRequestContext<?> context)
-
Method Summary
-
Methods inherited from class com.cloudera.cdp.client.CdpClient
invokeAPI, invokeAPI, invokeAPI, invokeAPI, parameterToPair, parameterToPairs, parameterToString, shutdown
-
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DfClient
public DfClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration)
-
DfClient
public DfClient(CdpRequestContext<?> context)
-
-
Method Detail
-
getServiceName
protected String getServiceName()
Description copied from class:CdpClient
Gets the service name.- Specified by:
getServiceName
in classCdpClient
- Returns:
- the service name
-
getRequestContentType
protected String 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
protected String 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
public AddReadyflowResponse addReadyflow(AddReadyflowRequest input)
Add ready flow.- Parameters:
input
-- Returns:
- AddReadyflowResponse
-
deleteAddedReadyflow
public DeleteAddedReadyflowResponse deleteAddedReadyflow(DeleteAddedReadyflowRequest input)
Delete added ready flow.- Parameters:
input
-- Returns:
- DeleteAddedReadyflowResponse
-
deleteFlow
public DeleteFlowResponse deleteFlow(DeleteFlowRequest input)
Delete flow.- Parameters:
input
-- Returns:
- DeleteFlowResponse
-
describeAddedReadyflow
public DescribeAddedReadyflowResponse describeAddedReadyflow(DescribeAddedReadyflowRequest input)
Describe added ready flow detail.- Parameters:
input
-- Returns:
- DescribeAddedReadyflowResponse
-
describeDeployment
public DescribeDeploymentResponse describeDeployment(DescribeDeploymentRequest input)
Describe deployment.- Parameters:
input
-- Returns:
- DescribeDeploymentResponse
-
describeDeploymentEventDetail
public DescribeDeploymentEventDetailResponse describeDeploymentEventDetail(DescribeDeploymentEventDetailRequest input)
Describe event detail for deployment.- Parameters:
input
-- Returns:
- DescribeDeploymentEventDetailResponse
-
describeFlow
public DescribeFlowResponse describeFlow(DescribeFlowRequest input)
Describe flow.- Parameters:
input
-- Returns:
- DescribeFlowResponse
-
describeReadyflow
public DescribeReadyflowResponse describeReadyflow(DescribeReadyflowRequest input)
Describe ready flow.- Parameters:
input
-- Returns:
- DescribeReadyflowResponse
-
describeService
public DescribeServiceResponse describeService(DescribeServiceRequest input)
Describe service.- Parameters:
input
-- Returns:
- DescribeServiceResponse
-
describeServiceEventDetail
public DescribeServiceEventDetailResponse describeServiceEventDetail(DescribeServiceEventDetailRequest input)
Describe event history detail for service.- Parameters:
input
-- Returns:
- DescribeServiceEventDetailResponse
-
disableService
public DisableServiceResponse disableService(DisableServiceRequest input)
Disable service.- Parameters:
input
-- Returns:
- DisableServiceResponse
-
enableService
public EnableServiceResponse enableService(EnableServiceRequest input)
Enable DataFlow service from a CDP environment.- Parameters:
input
-- Returns:
- EnableServiceResponse
-
getFlowVersion
public GetFlowVersionResponse getFlowVersion(GetFlowVersionRequest input)
Get flow version.- Parameters:
input
-- Returns:
- GetFlowVersionResponse
-
getKubeconfig
public GetKubeconfigResponse getKubeconfig(GetKubeconfigRequest input)
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
public ImportFlowDefinitionResponse importFlowDefinition(ImportFlowDefinitionRequest input)
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
public InitiateDeploymentResponse initiateDeployment(InitiateDeploymentRequest input)
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
public ListDeploymentEventsResponse listDeploymentEvents(ListDeploymentEventsRequest input)
List event history for deployment.- Parameters:
input
-- Returns:
- ListDeploymentEventsResponse
-
listDeploymentKPIs
public ListDeploymentKPIsResponse listDeploymentKPIs(ListDeploymentKPIsRequest input)
List deployment KPIs.- Parameters:
input
-- Returns:
- ListDeploymentKPIsResponse
-
listDeploymentSystemMetrics
public ListDeploymentSystemMetricsResponse listDeploymentSystemMetrics(ListDeploymentSystemMetricsRequest input)
List deployment System metrics.- Parameters:
input
-- Returns:
- ListDeploymentSystemMetricsResponse
-
listDeployments
public ListDeploymentsResponse listDeployments(ListDeploymentsRequest input)
List deployments.- Parameters:
input
-- Returns:
- ListDeploymentsResponse
-
listDiagnostics
public ListDiagnosticsResponse listDiagnostics(ListDiagnosticsRequest input)
List diagnostics.- Parameters:
input
-- Returns:
- ListDiagnosticsResponse
-
listFilterOptions
public ListFilterOptionsResponse listFilterOptions(ListFilterOptionsRequest input)
List filter options.- Parameters:
input
-- Returns:
- ListFilterOptionsResponse
-
listFlowDefinitions
public ListFlowDefinitionsResponse listFlowDefinitions(ListFlowDefinitionsRequest input)
List flow definitions.- Parameters:
input
-- Returns:
- ListFlowDefinitionsResponse
-
listNotifications
public ListNotificationsResponse listNotifications(ListNotificationsRequest input)
List notifications.- Parameters:
input
-- Returns:
- ListNotificationsResponse
-
listReadyflows
public ListReadyflowsResponse listReadyflows(ListReadyflowsRequest input)
List ready flows.- Parameters:
input
-- Returns:
- ListReadyflowsResponse
-
listServiceActiveAlerts
public ListServiceActiveAlertsResponse listServiceActiveAlerts(ListServiceActiveAlertsRequest input)
List active alerts for service.- Parameters:
input
-- Returns:
- ListServiceActiveAlertsResponse
-
listServiceEvents
public ListServiceEventsResponse listServiceEvents(ListServiceEventsRequest input)
List events for service.- Parameters:
input
-- Returns:
- ListServiceEventsResponse
-
listServiceSystemMetrics
public ListServiceSystemMetricsResponse listServiceSystemMetrics(ListServiceSystemMetricsRequest input)
List service System metrics.- Parameters:
input
-- Returns:
- ListServiceSystemMetricsResponse
-
listServices
public ListServicesResponse listServices(ListServicesRequest input)
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
public RenewCertificatesResponse renewCertificates(RenewCertificatesRequest input)
Renew workload UI certificates.- Parameters:
input
-- Returns:
- RenewCertificatesResponse
-
resetService
public ResetServiceResponse resetService(ResetServiceRequest input)
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
-
updateService
public UpdateServiceResponse updateService(UpdateServiceRequest input)
Update service.- Parameters:
input
-- Returns:
- UpdateServiceResponse
-
upgradeService
public UpgradeServiceResponse upgradeService(UpgradeServiceRequest input)
Upgrade service.- Parameters:
input
-- Returns:
- UpgradeServiceResponse
-
-