Class DeploymentConfiguration
- java.lang.Object
-
- com.cloudera.cdp.dfworkload.model.DeploymentConfiguration
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:54.557-07:00") public class DeploymentConfiguration extends Object
Provides all of the configuration that dictates how a flow should be deployed
-
-
Constructor Summary
Constructors Constructor Description DeploymentConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getAutoScaleMaxNodes()
Getter for autoScaleMaxNodes.Integer
getAutoScaleMinNodes()
Getter for autoScaleMinNodes.Boolean
getAutoScalingEnabled()
Getter for autoScalingEnabled.Boolean
getAutoStartFlow()
Getter for autoStartFlow.String
getCfmNifiVersion()
Getter for cfmNifiVersion.String
getClusterSizeName()
Getter for clusterSizeName.Integer
getConfigurationVersion()
Getter for configurationVersion.String
getDeploymentCrn()
Getter for deploymentCrn.String
getDeploymentId()
Getter for deploymentId.Boolean
getFlowMetricsScalingEnabled()
Getter for flowMetricsScalingEnabled.String
getInboundHostname()
Getter for inboundHostname.List<ConfiguredKpi>
getKpis()
Getter for kpis.Boolean
getKpisDirty()
Getter for kpisDirty.String
getLastUpdatedByUsername()
Getter for lastUpdatedByUsername.List<ListenComponent>
getListenComponents()
Getter for listenComponents.String
getName()
Getter for name.List<FlowParameterGroup>
getParameterGroups()
Getter for parameterGroups.Boolean
getParametersDirty()
Getter for parametersDirty.Boolean
getSizingAndScalingDirty()
Getter for sizingAndScalingDirty.Integer
getStaticNodeCount()
Getter for staticNodeCount.int
hashCode()
void
setAutoScaleMaxNodes(Integer autoScaleMaxNodes)
Setter for autoScaleMaxNodes.void
setAutoScaleMinNodes(Integer autoScaleMinNodes)
Setter for autoScaleMinNodes.void
setAutoScalingEnabled(Boolean autoScalingEnabled)
Setter for autoScalingEnabled.void
setAutoStartFlow(Boolean autoStartFlow)
Setter for autoStartFlow.void
setCfmNifiVersion(String cfmNifiVersion)
Setter for cfmNifiVersion.void
setClusterSizeName(String clusterSizeName)
Setter for clusterSizeName.void
setConfigurationVersion(Integer configurationVersion)
Setter for configurationVersion.void
setDeploymentCrn(String deploymentCrn)
Setter for deploymentCrn.void
setDeploymentId(String deploymentId)
Setter for deploymentId.void
setFlowMetricsScalingEnabled(Boolean flowMetricsScalingEnabled)
Setter for flowMetricsScalingEnabled.void
setInboundHostname(String inboundHostname)
Setter for inboundHostname.void
setKpis(List<ConfiguredKpi> kpis)
Setter for kpis.void
setKpisDirty(Boolean kpisDirty)
Setter for kpisDirty.void
setLastUpdatedByUsername(String lastUpdatedByUsername)
Setter for lastUpdatedByUsername.void
setListenComponents(List<ListenComponent> listenComponents)
Setter for listenComponents.void
setName(String name)
Setter for name.void
setParameterGroups(List<FlowParameterGroup> parameterGroups)
Setter for parameterGroups.void
setParametersDirty(Boolean parametersDirty)
Setter for parametersDirty.void
setSizingAndScalingDirty(Boolean sizingAndScalingDirty)
Setter for sizingAndScalingDirty.void
setStaticNodeCount(Integer staticNodeCount)
Setter for staticNodeCount.String
toString()
-
-
-
Method Detail
-
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
-
getParameterGroups
public List<FlowParameterGroup> getParameterGroups()
Getter for parameterGroups. The list of flow parameter groups
-
setParameterGroups
public void setParameterGroups(List<FlowParameterGroup> parameterGroups)
Setter for parameterGroups. The list of flow parameter groups
-
getAutoScalingEnabled
public Boolean getAutoScalingEnabled()
Getter for autoScalingEnabled. Specifies that auto-scaling should be enabled.
-
setAutoScalingEnabled
public void setAutoScalingEnabled(Boolean autoScalingEnabled)
Setter for autoScalingEnabled. Specifies that auto-scaling should be enabled.
-
getFlowMetricsScalingEnabled
public Boolean getFlowMetricsScalingEnabled()
Getter for flowMetricsScalingEnabled. Specifies that Flow metrics should be enabled for scaling.
-
setFlowMetricsScalingEnabled
public void setFlowMetricsScalingEnabled(Boolean flowMetricsScalingEnabled)
Setter for flowMetricsScalingEnabled. Specifies that Flow metrics should be enabled for scaling.
-
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 configured KPIs
-
setKpis
public void setKpis(List<ConfiguredKpi> kpis)
Setter for kpis. The list of configured KPIs
-
getDeploymentId
public String getDeploymentId()
Getter for deploymentId. The id of the deployment.
-
setDeploymentId
public void setDeploymentId(String deploymentId)
Setter for deploymentId. The id of the deployment.
-
getDeploymentCrn
public String getDeploymentCrn()
Getter for deploymentCrn. The CRN of the deployment.
-
setDeploymentCrn
public void setDeploymentCrn(String deploymentCrn)
Setter for deploymentCrn. The CRN of the deployment.
-
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
-
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
-
getAutoStartFlow
public Boolean getAutoStartFlow()
Getter for autoStartFlow. Indicates whether or not the flow should be started during deployment creation
-
setAutoStartFlow
public void setAutoStartFlow(Boolean autoStartFlow)
Setter for autoStartFlow. Indicates whether or not the flow should be started during deployment creation
-
getClusterSizeName
public String getClusterSizeName()
Getter for clusterSizeName. The size of the cluster to deploy
-
setClusterSizeName
public void setClusterSizeName(String clusterSizeName)
Setter for clusterSizeName. The size of the cluster to deploy
-
getParametersDirty
public Boolean getParametersDirty()
Getter for parametersDirty. Indicates whether or not all current parameter values have successfully been applied to NiFi
-
setParametersDirty
public void setParametersDirty(Boolean parametersDirty)
Setter for parametersDirty. Indicates whether or not all current parameter values have successfully been applied to NiFi
-
getKpisDirty
public Boolean getKpisDirty()
Getter for kpisDirty. Indicates whether or not the current KPIs have successfully been deployed as alert rules
-
setKpisDirty
public void setKpisDirty(Boolean kpisDirty)
Setter for kpisDirty. Indicates whether or not the current KPIs have successfully been deployed as alert rules
-
getSizingAndScalingDirty
public Boolean getSizingAndScalingDirty()
Getter for sizingAndScalingDirty. Indicates whether or not the current sizing and scaling configuration has been successfully applied in Kubernetes
-
setSizingAndScalingDirty
public void setSizingAndScalingDirty(Boolean sizingAndScalingDirty)
Setter for sizingAndScalingDirty. Indicates whether or not the current sizing and scaling configuration has been successfully applied in Kubernetes
-
getLastUpdatedByUsername
public String getLastUpdatedByUsername()
Getter for lastUpdatedByUsername. The username of the last person to update the deployment configuration
-
setLastUpdatedByUsername
public void setLastUpdatedByUsername(String lastUpdatedByUsername)
Setter for lastUpdatedByUsername. The username of the last person to update the deployment configuration
-
getInboundHostname
public String getInboundHostname()
Getter for inboundHostname. The inbound hostname
-
setInboundHostname
public void setInboundHostname(String inboundHostname)
Setter for inboundHostname. The inbound hostname
-
getListenComponents
public List<ListenComponent> getListenComponents()
Getter for listenComponents. Listen components port and protocol data
-
setListenComponents
public void setListenComponents(List<ListenComponent> listenComponents)
Setter for listenComponents. Listen components port and protocol data
-
-