public class DeploymentSpecFluentImpl<T extends DeploymentSpecFluent<T>> extends BaseFluent<T> implements DeploymentSpecFluent<T>
Modifier and Type | Class and Description |
---|---|
class |
DeploymentSpecFluentImpl.StrategyNestedImpl<N> |
class |
DeploymentSpecFluentImpl.TemplateNestedImpl<N> |
DeploymentSpecFluent.StrategyNested<N>, DeploymentSpecFluent.TemplateNested<N>
_visitables
Constructor and Description |
---|
DeploymentSpecFluentImpl() |
DeploymentSpecFluentImpl(DeploymentSpec instance) |
public DeploymentSpecFluentImpl()
public DeploymentSpecFluentImpl(DeploymentSpec instance)
public Integer getReplicas()
getReplicas
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T withReplicas(Integer replicas)
withReplicas
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T addToSelector(String key, String value)
addToSelector
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T addToSelector(Map<String,String> map)
addToSelector
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T removeFromSelector(String key)
removeFromSelector
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T removeFromSelector(Map<String,String> map)
removeFromSelector
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public Map<String,String> getSelector()
getSelector
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T withSelector(Map<String,String> selector)
withSelector
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public DeploymentStrategy getStrategy()
getStrategy
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T withStrategy(DeploymentStrategy strategy)
withStrategy
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public DeploymentSpecFluent.StrategyNested<T> withNewStrategy()
withNewStrategy
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public DeploymentSpecFluent.StrategyNested<T> withNewStrategyLike(DeploymentStrategy item)
withNewStrategyLike
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public DeploymentSpecFluent.StrategyNested<T> editStrategy()
editStrategy
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public PodTemplateSpec getTemplate()
getTemplate
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T withTemplate(PodTemplateSpec template)
withTemplate
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public DeploymentSpecFluent.TemplateNested<T> withNewTemplate()
withNewTemplate
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public DeploymentSpecFluent.TemplateNested<T> withNewTemplateLike(PodTemplateSpec item)
withNewTemplateLike
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public DeploymentSpecFluent.TemplateNested<T> editTemplate()
editTemplate
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public String getUniqueLabelKey()
getUniqueLabelKey
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T withUniqueLabelKey(String uniqueLabelKey)
withUniqueLabelKey
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface DeploymentSpecFluent<T extends DeploymentSpecFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.