Class UpdateDeploymentRequest

java.lang.Object
com.cloudera.cdp.dfworkload.model.UpdateDeploymentRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2026-03-31T14:25:34.176-07:00") public class UpdateDeploymentRequest extends Object
Provides all of the configuration that dictates how a deployment should be updated.
  • Constructor Details

    • UpdateDeploymentRequest

      public UpdateDeploymentRequest()
  • Method Details

    • getEnvironmentCrn

      public String getEnvironmentCrn()
      Getter for environmentCrn. The CRN of an environment to execute the command.
    • setEnvironmentCrn

      public void setEnvironmentCrn(String environmentCrn)
      Setter for environmentCrn. The CRN of an environment to execute the command.
    • getDeploymentCrn

      public String getDeploymentCrn()
      Getter for deploymentCrn. The CRN of the existing deployment to be updated.
    • setDeploymentCrn

      public void setDeploymentCrn(String deploymentCrn)
      Setter for deploymentCrn. The CRN of the existing deployment to be updated.
    • getConfigurationVersion

      public Integer getConfigurationVersion()
      Getter for configurationVersion. The version of this configuration.
    • setConfigurationVersion

      public void setConfigurationVersion(Integer configurationVersion)
      Setter for configurationVersion. The version of this configuration.
    • getAssetUpdateRequestCrn

      @Deprecated public String getAssetUpdateRequestCrn()
      Deprecated.
      Getter for assetUpdateRequestCrn. The CRN of the asset update request. Required when updating assets of an existing deployment. Deprecated, use asset-update-request-crn in the update-flow-in-deployment command.
    • setAssetUpdateRequestCrn

      @Deprecated public void setAssetUpdateRequestCrn(String assetUpdateRequestCrn)
      Deprecated.
      Setter for assetUpdateRequestCrn. The CRN of the asset update request. Required when updating assets of an existing deployment. Deprecated, use asset-update-request-crn in the update-flow-in-deployment command.
    • getClusterSize

      public BasicClusterSize getClusterSize()
      Getter for clusterSize. The deployment t-shirt size.
    • setClusterSize

      public void setClusterSize(BasicClusterSize clusterSize)
      Setter for clusterSize. The deployment t-shirt size.
    • getParameterGroups

      @Deprecated public List<FlowParameterGroup> getParameterGroups()
      Deprecated.
      Getter for parameterGroups. The list of flow parameter groups, for the first deployed flow. Deprecated, use parameter-groups in the update-flow-in-deployment command.
    • setParameterGroups

      @Deprecated public void setParameterGroups(List<FlowParameterGroup> parameterGroups)
      Deprecated.
      Setter for parameterGroups. The list of flow parameter groups, for the first deployed flow. Deprecated, use parameter-groups in the update-flow-in-deployment command.
    • getAutoScaleMinNodes

      public Integer getAutoScaleMinNodes()
      Getter for autoScaleMinNodes. The minimum number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is true.
    • setAutoScaleMinNodes

      public void setAutoScaleMinNodes(Integer autoScaleMinNodes)
      Setter for autoScaleMinNodes. The minimum number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is true.
    • getAutoScaleMaxNodes

      public Integer getAutoScaleMaxNodes()
      Getter for autoScaleMaxNodes. The maximum number of nodes that the cluster should scale to. May only be specified when autoScalingEnabled is true.
    • setAutoScaleMaxNodes

      public void setAutoScaleMaxNodes(Integer autoScaleMaxNodes)
      Setter for autoScaleMaxNodes. The maximum number of nodes that the cluster should scale to. May only be specified when autoScalingEnabled is true.
    • getStaticNodeCount

      public Integer getStaticNodeCount()
      Getter for staticNodeCount. The static number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is false.
    • setStaticNodeCount

      public void setStaticNodeCount(Integer staticNodeCount)
      Setter for staticNodeCount. The static number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is false.
    • getKpis

      public List<ConfiguredKpi> getKpis()
      Getter for kpis. The list of Key Performance Indicators (KPIs) with which to replace the current list of configured KPIs. Only deployment-level KPIs are allowed. To configure flow-level KPIs, use update-flow-in-deployment. If the list is empty, all KPIs are deleted; however, if it is not specified, the current KPI settings are not updated.
    • setKpis

      public void setKpis(List<ConfiguredKpi> kpis)
      Setter for kpis. The list of Key Performance Indicators (KPIs) with which to replace the current list of configured KPIs. Only deployment-level KPIs are allowed. To configure flow-level KPIs, use update-flow-in-deployment. If the list is empty, all KPIs are deleted; however, if it is not specified, the current KPI settings are not updated.
    • getInboundHostname

      public String getInboundHostname()
      Getter for inboundHostname. The FQDN of inbound hostname or just the prefix part.
    • setInboundHostname

      public void setInboundHostname(String inboundHostname)
      Setter for inboundHostname. The FQDN of inbound hostname or just the prefix part.
    • getListenComponents

      public List<SimpleListenComponent> getListenComponents()
      Getter for listenComponents. Listen components port and protocol data.
    • setListenComponents

      public void setListenComponents(List<SimpleListenComponent> listenComponents)
      Setter for listenComponents. Listen components port and protocol data.
    • getInboundConnectionAuthorizedIpRanges

      public List<String> getInboundConnectionAuthorizedIpRanges()
      Getter for inboundConnectionAuthorizedIpRanges. Set of authorized CIDR ranges for the inbound connections.
    • setInboundConnectionAuthorizedIpRanges

      public void setInboundConnectionAuthorizedIpRanges(List<String> inboundConnectionAuthorizedIpRanges)
      Setter for inboundConnectionAuthorizedIpRanges. Set of authorized CIDR ranges for the inbound connections.
    • getDeactivateInboundConnection

      public Boolean getDeactivateInboundConnection()
      Getter for deactivateInboundConnection. Specifies that the inbound connection be deactivated.
    • setDeactivateInboundConnection

      public void setDeactivateInboundConnection(Boolean deactivateInboundConnection)
      Setter for deactivateInboundConnection. Specifies that the inbound connection be deactivated.
    • getCustomNarConfigurationCrn

      public String getCustomNarConfigurationCrn()
      Getter for customNarConfigurationCrn. The CRN of the Custom NAR configuration.
    • setCustomNarConfigurationCrn

      public void setCustomNarConfigurationCrn(String customNarConfigurationCrn)
      Setter for customNarConfigurationCrn. The CRN of the Custom NAR configuration.
    • getCustomPythonConfigurationCrn

      public String getCustomPythonConfigurationCrn()
      Getter for customPythonConfigurationCrn. The CRN of the Custom Python configuration.
    • setCustomPythonConfigurationCrn

      public void setCustomPythonConfigurationCrn(String customPythonConfigurationCrn)
      Setter for customPythonConfigurationCrn. The CRN of the Custom Python configuration.
    • getCliSupportsMultiFlow

      @Deprecated public Boolean getCliSupportsMultiFlow()
      Deprecated.
      Getter for cliSupportsMultiFlow. Specifies whether the CDP CLI supports the multi-flow. Deprecated, this argument is only for internal use.
    • setCliSupportsMultiFlow

      @Deprecated public void setCliSupportsMultiFlow(Boolean cliSupportsMultiFlow)
      Deprecated.
      Setter for cliSupportsMultiFlow. Specifies whether the CDP CLI supports the multi-flow. Deprecated, this argument is only for internal use.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object