Package io.fabric8.kubernetes.api.model
Class VolumeProjectionFluentImpl<A extends VolumeProjectionFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.VolumeProjectionFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,VolumeProjectionFluent<A>
- Direct Known Subclasses:
ProjectedVolumeSourceFluentImpl.SourcesNestedImpl
,VolumeProjectionBuilder
,WatchEventFluentImpl.VolumeProjectionObjectNestedImpl
public class VolumeProjectionFluentImpl<A extends VolumeProjectionFluent<A>> extends BaseFluent<A> implements VolumeProjectionFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VolumeProjectionFluentImpl.ConfigMapNestedImpl<N>
class
VolumeProjectionFluentImpl.DownwardAPINestedImpl<N>
class
VolumeProjectionFluentImpl.SecretNestedImpl<N>
class
VolumeProjectionFluentImpl.ServiceAccountTokenNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.VolumeProjectionFluent
VolumeProjectionFluent.ConfigMapNested<N>, VolumeProjectionFluent.DownwardAPINested<N>, VolumeProjectionFluent.SecretNested<N>, VolumeProjectionFluent.ServiceAccountTokenNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description VolumeProjectionFluentImpl()
VolumeProjectionFluentImpl(VolumeProjection instance)
-
Method Summary
-
-
-
Constructor Detail
-
VolumeProjectionFluentImpl
public VolumeProjectionFluentImpl()
-
VolumeProjectionFluentImpl
public VolumeProjectionFluentImpl(VolumeProjection instance)
-
-
Method Detail
-
getConfigMap
@Deprecated public ConfigMapProjection getConfigMap()
Deprecated.This method has been deprecated, please use method buildConfigMap instead.- Specified by:
getConfigMap
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
- Returns:
- The buildable object.
-
buildConfigMap
public ConfigMapProjection buildConfigMap()
- Specified by:
buildConfigMap
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withConfigMap
public A withConfigMap(ConfigMapProjection configMap)
- Specified by:
withConfigMap
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
hasConfigMap
public Boolean hasConfigMap()
- Specified by:
hasConfigMap
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewConfigMap
public VolumeProjectionFluent.ConfigMapNested<A> withNewConfigMap()
- Specified by:
withNewConfigMap
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewConfigMapLike
public VolumeProjectionFluent.ConfigMapNested<A> withNewConfigMapLike(ConfigMapProjection item)
- Specified by:
withNewConfigMapLike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editConfigMap
public VolumeProjectionFluent.ConfigMapNested<A> editConfigMap()
- Specified by:
editConfigMap
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewConfigMap
public VolumeProjectionFluent.ConfigMapNested<A> editOrNewConfigMap()
- Specified by:
editOrNewConfigMap
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewConfigMapLike
public VolumeProjectionFluent.ConfigMapNested<A> editOrNewConfigMapLike(ConfigMapProjection item)
- Specified by:
editOrNewConfigMapLike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
getDownwardAPI
@Deprecated public DownwardAPIProjection getDownwardAPI()
Deprecated.This method has been deprecated, please use method buildDownwardAPI instead.- Specified by:
getDownwardAPI
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
- Returns:
- The buildable object.
-
buildDownwardAPI
public DownwardAPIProjection buildDownwardAPI()
- Specified by:
buildDownwardAPI
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withDownwardAPI
public A withDownwardAPI(DownwardAPIProjection downwardAPI)
- Specified by:
withDownwardAPI
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
hasDownwardAPI
public Boolean hasDownwardAPI()
- Specified by:
hasDownwardAPI
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewDownwardAPI
public VolumeProjectionFluent.DownwardAPINested<A> withNewDownwardAPI()
- Specified by:
withNewDownwardAPI
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewDownwardAPILike
public VolumeProjectionFluent.DownwardAPINested<A> withNewDownwardAPILike(DownwardAPIProjection item)
- Specified by:
withNewDownwardAPILike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editDownwardAPI
public VolumeProjectionFluent.DownwardAPINested<A> editDownwardAPI()
- Specified by:
editDownwardAPI
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewDownwardAPI
public VolumeProjectionFluent.DownwardAPINested<A> editOrNewDownwardAPI()
- Specified by:
editOrNewDownwardAPI
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewDownwardAPILike
public VolumeProjectionFluent.DownwardAPINested<A> editOrNewDownwardAPILike(DownwardAPIProjection item)
- Specified by:
editOrNewDownwardAPILike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
getSecret
@Deprecated public SecretProjection getSecret()
Deprecated.This method has been deprecated, please use method buildSecret instead.- Specified by:
getSecret
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
- Returns:
- The buildable object.
-
buildSecret
public SecretProjection buildSecret()
- Specified by:
buildSecret
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withSecret
public A withSecret(SecretProjection secret)
- Specified by:
withSecret
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
hasSecret
public Boolean hasSecret()
- Specified by:
hasSecret
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewSecret
public VolumeProjectionFluent.SecretNested<A> withNewSecret()
- Specified by:
withNewSecret
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewSecretLike
public VolumeProjectionFluent.SecretNested<A> withNewSecretLike(SecretProjection item)
- Specified by:
withNewSecretLike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editSecret
public VolumeProjectionFluent.SecretNested<A> editSecret()
- Specified by:
editSecret
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewSecret
public VolumeProjectionFluent.SecretNested<A> editOrNewSecret()
- Specified by:
editOrNewSecret
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewSecretLike
public VolumeProjectionFluent.SecretNested<A> editOrNewSecretLike(SecretProjection item)
- Specified by:
editOrNewSecretLike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
getServiceAccountToken
@Deprecated public ServiceAccountTokenProjection getServiceAccountToken()
Deprecated.This method has been deprecated, please use method buildServiceAccountToken instead.- Specified by:
getServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
- Returns:
- The buildable object.
-
buildServiceAccountToken
public ServiceAccountTokenProjection buildServiceAccountToken()
- Specified by:
buildServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withServiceAccountToken
public A withServiceAccountToken(ServiceAccountTokenProjection serviceAccountToken)
- Specified by:
withServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
hasServiceAccountToken
public Boolean hasServiceAccountToken()
- Specified by:
hasServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewServiceAccountToken
public A withNewServiceAccountToken(String audience, Long expirationSeconds, String path)
- Specified by:
withNewServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewServiceAccountToken
public VolumeProjectionFluent.ServiceAccountTokenNested<A> withNewServiceAccountToken()
- Specified by:
withNewServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
withNewServiceAccountTokenLike
public VolumeProjectionFluent.ServiceAccountTokenNested<A> withNewServiceAccountTokenLike(ServiceAccountTokenProjection item)
- Specified by:
withNewServiceAccountTokenLike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editServiceAccountToken
public VolumeProjectionFluent.ServiceAccountTokenNested<A> editServiceAccountToken()
- Specified by:
editServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewServiceAccountToken
public VolumeProjectionFluent.ServiceAccountTokenNested<A> editOrNewServiceAccountToken()
- Specified by:
editOrNewServiceAccountToken
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
editOrNewServiceAccountTokenLike
public VolumeProjectionFluent.ServiceAccountTokenNested<A> editOrNewServiceAccountTokenLike(ServiceAccountTokenProjection item)
- Specified by:
editOrNewServiceAccountTokenLike
in interfaceVolumeProjectionFluent<A extends VolumeProjectionFluent<A>>
-
-