Class RpcDeployment

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.696-07:00") public class RpcDeployment extends Object
Provides details about a deployment.
  • Constructor Details

    • RpcDeployment

      public RpcDeployment()
  • Method Details

    • getName

      public String getName()
      Getter for name. The name of the deployment.
    • setName

      public void setName(String name)
      Setter for name. The name of the deployment.
    • getStatus

      public DeploymentStatus getStatus()
      Getter for status. The status of the deployment.
    • setStatus

      public void setStatus(DeploymentStatus status)
      Setter for status. The status of the deployment.
    • getService

      public ServiceMeta getService()
      Getter for service. Simple information about the DataFlow service of the deployment.
    • setService

      public void setService(ServiceMeta service)
      Setter for service. Simple information about the DataFlow service of the deployment.
    • getCrn

      public String getCrn()
      Getter for crn. The CRN of the deployment.
    • setCrn

      public void setCrn(String crn)
      Setter for crn. The CRN of the deployment.
    • getActiveInfoAlertCount

      public Long getActiveInfoAlertCount()
      Getter for activeInfoAlertCount. Current count of active alerts classified as an info.
    • setActiveInfoAlertCount

      public void setActiveInfoAlertCount(Long activeInfoAlertCount)
      Setter for activeInfoAlertCount. Current count of active alerts classified as an info.
    • getActiveWarningAlertCount

      public Long getActiveWarningAlertCount()
      Getter for activeWarningAlertCount. Current count of active alerts classified as a warning.
    • setActiveWarningAlertCount

      public void setActiveWarningAlertCount(Long activeWarningAlertCount)
      Setter for activeWarningAlertCount. Current count of active alerts classified as a warning.
    • getActiveErrorAlertCount

      public Long getActiveErrorAlertCount()
      Getter for activeErrorAlertCount. Current count of active alerts classified as an error.
    • setActiveErrorAlertCount

      public void setActiveErrorAlertCount(Long activeErrorAlertCount)
      Setter for activeErrorAlertCount. Current count of active alerts classified as an error.
    • getCreated

      public Long getCreated()
      Getter for created. Timestamp of the creation of the deployment.
    • setCreated

      public void setCreated(Long created)
      Setter for created. Timestamp of the creation of the deployment.
    • getUpdated

      public Long getUpdated()
      Getter for updated. Timestamp of the last time the deployment was modified.
    • setUpdated

      public void setUpdated(Long updated)
      Setter for updated. Timestamp of the last time the deployment was modified.
    • getValidActions

      public List<String> getValidActions()
      Getter for validActions. Valid actions that can be applied to the deployment in its current state.
    • setValidActions

      public void setValidActions(List<String> validActions)
      Setter for validActions. Valid actions that can be applied to the deployment in its current state.
    • getProject

      public ProjectMeta getProject()
      Getter for project. Simple information about the project this deployment belongs to, or null if does not belong to a project.
    • setProject

      public void setProject(ProjectMeta project)
      Setter for project. Simple information about the project this deployment belongs to, or null if does not belong to a project.
    • getNifiUrl

      public String getNifiUrl()
      Getter for nifiUrl. The url to open the deployed flow in NiFi.
    • setNifiUrl

      public void setNifiUrl(String nifiUrl)
      Setter for nifiUrl. The url to open the deployed flow in NiFi.
    • getClusterSize

      @Deprecated public String getClusterSize()
      Deprecated.
      Getter for clusterSize. The initial size of the deployment. Deprecated. Use 'clusterSizeParams.name' instead.
    • setClusterSize

      @Deprecated public void setClusterSize(String clusterSize)
      Deprecated.
      Setter for clusterSize. The initial size of the deployment. Deprecated. Use 'clusterSizeParams.name' instead.
    • getCoresPerNode

      @Deprecated public Integer getCoresPerNode()
      Deprecated.
      Getter for coresPerNode. The number of cores per node for the deployment. Deprecated. Use 'clusterSizeParams.coresPerNode' instead.
    • setCoresPerNode

      @Deprecated public void setCoresPerNode(Integer coresPerNode)
      Deprecated.
      Setter for coresPerNode. The number of cores per node for the deployment. Deprecated. Use 'clusterSizeParams.coresPerNode' instead.
    • getHeapSize

      @Deprecated public Double getHeapSize()
      Deprecated.
      Getter for heapSize. The heap size for the deployment. Deprecated. Use 'clusterSizeParams.heapSize' instead.
    • setHeapSize

      @Deprecated public void setHeapSize(Double heapSize)
      Deprecated.
      Setter for heapSize. The heap size for the deployment. Deprecated. Use 'clusterSizeParams.heapSize' instead.
    • getMemoryLimit

      @Deprecated public Double getMemoryLimit()
      Deprecated.
      Getter for memoryLimit. The memory limit of the deployment. Deprecated. Use 'clusterSizeParams.memoryLimit' instead.
    • setMemoryLimit

      @Deprecated public void setMemoryLimit(Double memoryLimit)
      Deprecated.
      Setter for memoryLimit. The memory limit of the deployment. Deprecated. Use 'clusterSizeParams.memoryLimit' instead.
    • getClusterSizeParams

      public ClusterSize getClusterSizeParams()
      Getter for clusterSizeParams. The initial size of the deployment.
    • setClusterSizeParams

      public void setClusterSizeParams(ClusterSize clusterSizeParams)
      Setter for clusterSizeParams. The initial size of the deployment.
    • getAutoscalingEnabled

      public Boolean getAutoscalingEnabled()
      Getter for autoscalingEnabled. Whether or not autoscaling is enabled for this deployment.
    • setAutoscalingEnabled

      public void setAutoscalingEnabled(Boolean autoscalingEnabled)
      Setter for autoscalingEnabled. Whether or not autoscaling is enabled for this deployment.
    • getFlowMetricsScalingEnabled

      public Boolean getFlowMetricsScalingEnabled()
      Getter for flowMetricsScalingEnabled. Whether or not flow metrics scaling is enabled for this deployment.
    • setFlowMetricsScalingEnabled

      public void setFlowMetricsScalingEnabled(Boolean flowMetricsScalingEnabled)
      Setter for flowMetricsScalingEnabled. Whether or not flow metrics scaling is enabled for this deployment.
    • getAutoscaleMinNodes

      public Integer getAutoscaleMinNodes()
      Getter for autoscaleMinNodes. The minimum number of nodes that the deployment will allocate; can only be used when autoscalingEnabled is true.
    • setAutoscaleMinNodes

      public void setAutoscaleMinNodes(Integer autoscaleMinNodes)
      Setter for autoscaleMinNodes. The minimum number of nodes that the deployment will allocate; can only be used when autoscalingEnabled is true.
    • getAutoscaleMaxNodes

      public Integer getAutoscaleMaxNodes()
      Getter for autoscaleMaxNodes. The maximum number of nodes that the deployment can scale up to; can only be used when autoscalingEnabled is true.
    • setAutoscaleMaxNodes

      public void setAutoscaleMaxNodes(Integer autoscaleMaxNodes)
      Setter for autoscaleMaxNodes. The maximum number of nodes that the deployment can scale up to; can only be used when autoscalingEnabled is true.
    • getStaticNodeCount

      public Integer getStaticNodeCount()
      Getter for staticNodeCount. The static number of nodes of the deployment; can only be used when autoscalingEnabled is false.
    • setStaticNodeCount

      public void setStaticNodeCount(Integer staticNodeCount)
      Setter for staticNodeCount. The static number of nodes of the deployment; can only be used when autoscalingEnabled is false.
    • getFlowName

      public String getFlowName()
      Getter for flowName. The name of the flow.
    • setFlowName

      public void setFlowName(String flowName)
      Setter for flowName. The name of the flow.
    • getFlowVersion

      public Integer getFlowVersion()
      Getter for flowVersion. The version of the flow.
    • setFlowVersion

      public void setFlowVersion(Integer flowVersion)
      Setter for flowVersion. The version of the flow.
    • getFlowVersionCrn

      public String getFlowVersionCrn()
      Getter for flowVersionCrn. The deployment's current flow version CRN.
    • setFlowVersionCrn

      public void setFlowVersionCrn(String flowVersionCrn)
      Setter for flowVersionCrn. The deployment's current flow version CRN.
    • getFlowCrn

      public String getFlowCrn()
      Getter for flowCrn. The deployment's current flow CRN.
    • setFlowCrn

      public void setFlowCrn(String flowCrn)
      Setter for flowCrn. The deployment's current flow CRN.
    • getCreatorCrn

      public String getCreatorCrn()
      Getter for creatorCrn. The CRN of the user who deployed the flow.
    • setCreatorCrn

      public void setCreatorCrn(String creatorCrn)
      Setter for creatorCrn. The CRN of the user who deployed the flow.
    • getArtifactTypeName

      public String getArtifactTypeName()
      Getter for artifactTypeName. The type of artifact of the flow.
    • setArtifactTypeName

      public void setArtifactTypeName(String artifactTypeName)
      Setter for artifactTypeName. The type of artifact of the flow.
    • getCurrentNodeCount

      public Integer getCurrentNodeCount()
      Getter for currentNodeCount. The current node count.
    • setCurrentNodeCount

      public void setCurrentNodeCount(Integer currentNodeCount)
      Setter for currentNodeCount. The current node count.
    • getDeployedByUsername

      public String getDeployedByUsername()
      Getter for deployedByUsername. The username of the person who deployed the flow.
    • setDeployedByUsername

      public void setDeployedByUsername(String deployedByUsername)
      Setter for deployedByUsername. The username of the person who deployed the flow.
    • getDeployedByName

      public String getDeployedByName()
      Getter for deployedByName. The name of the person who deployed the flow.
    • setDeployedByName

      public void setDeployedByName(String deployedByName)
      Setter for deployedByName. The name of the person who deployed the flow.
    • getDfxLocalUrl

      public String getDfxLocalUrl()
      Getter for dfxLocalUrl. Base URL to the CDF Local instance running this deployment.
    • setDfxLocalUrl

      public void setDfxLocalUrl(String dfxLocalUrl)
      Setter for dfxLocalUrl. Base URL to the CDF Local instance running this deployment.
    • getConfigurationVersion

      public Integer getConfigurationVersion()
      Getter for configurationVersion. The current version of the deployment's configuration.
    • setConfigurationVersion

      public void setConfigurationVersion(Integer configurationVersion)
      Setter for configurationVersion. The current version of the deployment's configuration.
    • getLastUpdatedByUsername

      public String getLastUpdatedByUsername()
      Getter for lastUpdatedByUsername. The username of the last person to update the deployment.
    • setLastUpdatedByUsername

      public void setLastUpdatedByUsername(String lastUpdatedByUsername)
      Setter for lastUpdatedByUsername. The username of the last person to update the deployment.
    • getCfmNifiVersion

      public String getCfmNifiVersion()
      Getter for cfmNifiVersion. The CFM NiFi version associated with the deployment.
    • setCfmNifiVersion

      public void setCfmNifiVersion(String cfmNifiVersion)
      Setter for cfmNifiVersion. The CFM NiFi version associated with the deployment.
    • getInboundConnectionEndpointId

      public String getInboundConnectionEndpointId()
      Getter for inboundConnectionEndpointId. The ID of Inbound Connection Endpoint assigned to the deployment.
    • setInboundConnectionEndpointId

      public void setInboundConnectionEndpointId(String inboundConnectionEndpointId)
      Setter for inboundConnectionEndpointId. The ID of Inbound Connection Endpoint assigned to the deployment.
    • getTestSession

      public Boolean getTestSession()
      Getter for testSession. Indicates this deployment was created as a test session for designing a flow.
    • setTestSession

      public void setTestSession(Boolean testSession)
      Setter for testSession. Indicates this deployment was created as a test session for designing a flow.
    • getFlowDesignerId

      public String getFlowDesignerId()
      Getter for flowDesignerId. The ID of the flow design for a test session deployment.
    • setFlowDesignerId

      public void setFlowDesignerId(String flowDesignerId)
      Setter for flowDesignerId. The ID of the flow design for a test session deployment.
    • getCustomNarConfigurationId

      public String getCustomNarConfigurationId()
      Getter for customNarConfigurationId. The identifier of the custom NAR configuration, if used.
    • setCustomNarConfigurationId

      public void setCustomNarConfigurationId(String customNarConfigurationId)
      Setter for customNarConfigurationId. The identifier of the custom NAR configuration, if used.
    • getCustomPythonConfigurationId

      public String getCustomPythonConfigurationId()
      Getter for customPythonConfigurationId. The identifier of the custom python configuration, if used.
    • setCustomPythonConfigurationId

      public void setCustomPythonConfigurationId(String customPythonConfigurationId)
      Setter for customPythonConfigurationId. The identifier of the custom python configuration, if used.
    • getNodeStorageProfile

      public String getNodeStorageProfile()
      Getter for nodeStorageProfile. The node storage profile.
    • setNodeStorageProfile

      public void setNodeStorageProfile(String nodeStorageProfile)
      Setter for nodeStorageProfile. The node storage profile.
    • getProjectCrn

      public String getProjectCrn()
      Getter for projectCrn. The crn of the project this deployment belongs to, or null if does not belong to a project.
    • setProjectCrn

      public void setProjectCrn(String projectCrn)
      Setter for projectCrn. The crn of the project this deployment belongs to, or null if does not belong to a project.
    • 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