public class ConfigFluentImpl<T extends ConfigFluent<T>> extends BaseFluent<T> implements ConfigFluent<T>
Modifier and Type | Class and Description |
---|---|
class |
ConfigFluentImpl.ClustersNestedImpl<N> |
class |
ConfigFluentImpl.ContextsNestedImpl<N> |
class |
ConfigFluentImpl.ExtensionsNestedImpl<N> |
class |
ConfigFluentImpl.PreferencesNestedImpl<N> |
class |
ConfigFluentImpl.UsersNestedImpl<N> |
ConfigFluent.ClustersNested<N>, ConfigFluent.ContextsNested<N>, ConfigFluent.ExtensionsNested<N>, ConfigFluent.PreferencesNested<N>, ConfigFluent.UsersNested<N>
_visitables
Constructor and Description |
---|
ConfigFluentImpl() |
ConfigFluentImpl(Config instance) |
public ConfigFluentImpl()
public ConfigFluentImpl(Config instance)
public String getApiVersion()
getApiVersion
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withApiVersion(String apiVersion)
withApiVersion
in interface ConfigFluent<T extends ConfigFluent<T>>
public T addToClusters(NamedCluster... items)
addToClusters
in interface ConfigFluent<T extends ConfigFluent<T>>
public T removeFromClusters(NamedCluster... items)
removeFromClusters
in interface ConfigFluent<T extends ConfigFluent<T>>
public List<NamedCluster> getClusters()
getClusters
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withClusters(List<NamedCluster> clusters)
withClusters
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withClusters(NamedCluster... clusters)
withClusters
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.ClustersNested<T> addNewCluster()
addNewCluster
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.ClustersNested<T> addNewClusterLike(NamedCluster item)
addNewClusterLike
in interface ConfigFluent<T extends ConfigFluent<T>>
public T addToContexts(NamedContext... items)
addToContexts
in interface ConfigFluent<T extends ConfigFluent<T>>
public T removeFromContexts(NamedContext... items)
removeFromContexts
in interface ConfigFluent<T extends ConfigFluent<T>>
public List<NamedContext> getContexts()
getContexts
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withContexts(List<NamedContext> contexts)
withContexts
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withContexts(NamedContext... contexts)
withContexts
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.ContextsNested<T> addNewContext()
addNewContext
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.ContextsNested<T> addNewContextLike(NamedContext item)
addNewContextLike
in interface ConfigFluent<T extends ConfigFluent<T>>
public String getCurrentContext()
getCurrentContext
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withCurrentContext(String currentContext)
withCurrentContext
in interface ConfigFluent<T extends ConfigFluent<T>>
public T addToExtensions(NamedExtension... items)
addToExtensions
in interface ConfigFluent<T extends ConfigFluent<T>>
public T removeFromExtensions(NamedExtension... items)
removeFromExtensions
in interface ConfigFluent<T extends ConfigFluent<T>>
public List<NamedExtension> getExtensions()
getExtensions
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withExtensions(List<NamedExtension> extensions)
withExtensions
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withExtensions(NamedExtension... extensions)
withExtensions
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.ExtensionsNested<T> addNewExtension()
addNewExtension
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.ExtensionsNested<T> addNewExtensionLike(NamedExtension item)
addNewExtensionLike
in interface ConfigFluent<T extends ConfigFluent<T>>
public String getKind()
getKind
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withKind(String kind)
withKind
in interface ConfigFluent<T extends ConfigFluent<T>>
public Preferences getPreferences()
getPreferences
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withPreferences(Preferences preferences)
withPreferences
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.PreferencesNested<T> withNewPreferences()
withNewPreferences
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.PreferencesNested<T> withNewPreferencesLike(Preferences item)
withNewPreferencesLike
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.PreferencesNested<T> editPreferences()
editPreferences
in interface ConfigFluent<T extends ConfigFluent<T>>
public T addToUsers(NamedAuthInfo... items)
addToUsers
in interface ConfigFluent<T extends ConfigFluent<T>>
public T removeFromUsers(NamedAuthInfo... items)
removeFromUsers
in interface ConfigFluent<T extends ConfigFluent<T>>
public List<NamedAuthInfo> getUsers()
getUsers
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withUsers(List<NamedAuthInfo> users)
withUsers
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withUsers(NamedAuthInfo... users)
withUsers
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.UsersNested<T> addNewUser()
addNewUser
in interface ConfigFluent<T extends ConfigFluent<T>>
public ConfigFluent.UsersNested<T> addNewUserLike(NamedAuthInfo item)
addNewUserLike
in interface ConfigFluent<T extends ConfigFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface ConfigFluent<T extends ConfigFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface ConfigFluent<T extends ConfigFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface ConfigFluent<T extends ConfigFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface ConfigFluent<T extends ConfigFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface ConfigFluent<T extends ConfigFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface ConfigFluent<T extends ConfigFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.