Class DeploymentConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.DeploymentConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentConfig()No args constructor for use in serializationDeploymentConfig(String deploymentName, io.fabric8.kubernetes.api.model.ResourceRequirements resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDeploymentName()DeploymentName is the name of one of the Deployments/StatefulSets managed by hive-operator.io.fabric8.kubernetes.api.model.ResourceRequirementsgetResources()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDeploymentName(String deploymentName)DeploymentName is the name of one of the Deployments/StatefulSets managed by hive-operator.voidsetResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)DeploymentConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
DeploymentConfig
public DeploymentConfig()
No args constructor for use in serialization
-
DeploymentConfig
public DeploymentConfig(String deploymentName, io.fabric8.kubernetes.api.model.ResourceRequirements resources)
-
-
Method Detail
-
getDeploymentName
public String getDeploymentName()
DeploymentName is the name of one of the Deployments/StatefulSets managed by hive-operator. NOTE: At this time each deployment has only one container. In the future, we may provide a way to specify which container this DeploymentConfig will be applied to.
-
setDeploymentName
public void setDeploymentName(String deploymentName)
DeploymentName is the name of one of the Deployments/StatefulSets managed by hive-operator. NOTE: At this time each deployment has only one container. In the future, we may provide a way to specify which container this DeploymentConfig will be applied to.
-
getResources
public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
-
setResources
public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
-
edit
public DeploymentConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentConfigBuilder>
-
toBuilder
public DeploymentConfigBuilder toBuilder()
-
-