Class ResourceSliceSpecFluent<A extends ResourceSliceSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.ResourceSliceSpecFluent<A>
-
- Direct Known Subclasses:
ResourceSliceFluent.SpecNested
,ResourceSliceSpecBuilder
public class ResourceSliceSpecFluent<A extends ResourceSliceSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ResourceSliceSpecFluent.DevicesNested<N>
class
ResourceSliceSpecFluent.PoolNested<N>
-
Constructor Summary
Constructors Constructor Description ResourceSliceSpecFluent()
ResourceSliceSpecFluent(ResourceSliceSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
ResourceSliceSpecFluent
public ResourceSliceSpecFluent()
-
ResourceSliceSpecFluent
public ResourceSliceSpecFluent(ResourceSliceSpec instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(ResourceSliceSpec instance)
-
getAllNodes
public Boolean getAllNodes()
-
hasAllNodes
public boolean hasAllNodes()
-
addAllToDevices
public A addAllToDevices(Collection<Device> items)
-
removeAllFromDevices
public A removeAllFromDevices(Collection<Device> items)
-
removeMatchingFromDevices
public A removeMatchingFromDevices(Predicate<DeviceBuilder> predicate)
-
buildDevice
public Device buildDevice(int index)
-
buildFirstDevice
public Device buildFirstDevice()
-
buildLastDevice
public Device buildLastDevice()
-
buildMatchingDevice
public Device buildMatchingDevice(Predicate<DeviceBuilder> predicate)
-
hasMatchingDevice
public boolean hasMatchingDevice(Predicate<DeviceBuilder> predicate)
-
hasDevices
public boolean hasDevices()
-
addNewDevice
public ResourceSliceSpecFluent.DevicesNested<A> addNewDevice()
-
addNewDeviceLike
public ResourceSliceSpecFluent.DevicesNested<A> addNewDeviceLike(Device item)
-
setNewDeviceLike
public ResourceSliceSpecFluent.DevicesNested<A> setNewDeviceLike(int index, Device item)
-
editDevice
public ResourceSliceSpecFluent.DevicesNested<A> editDevice(int index)
-
editFirstDevice
public ResourceSliceSpecFluent.DevicesNested<A> editFirstDevice()
-
editLastDevice
public ResourceSliceSpecFluent.DevicesNested<A> editLastDevice()
-
editMatchingDevice
public ResourceSliceSpecFluent.DevicesNested<A> editMatchingDevice(Predicate<DeviceBuilder> predicate)
-
getDriver
public String getDriver()
-
hasDriver
public boolean hasDriver()
-
getNodeName
public String getNodeName()
-
hasNodeName
public boolean hasNodeName()
-
getNodeSelector
public io.fabric8.kubernetes.api.model.NodeSelector getNodeSelector()
-
withNodeSelector
public A withNodeSelector(io.fabric8.kubernetes.api.model.NodeSelector nodeSelector)
-
hasNodeSelector
public boolean hasNodeSelector()
-
buildPool
public ResourcePool buildPool()
-
withPool
public A withPool(ResourcePool pool)
-
hasPool
public boolean hasPool()
-
withNewPool
public ResourceSliceSpecFluent.PoolNested<A> withNewPool()
-
withNewPoolLike
public ResourceSliceSpecFluent.PoolNested<A> withNewPoolLike(ResourcePool item)
-
editPool
public ResourceSliceSpecFluent.PoolNested<A> editPool()
-
editOrNewPool
public ResourceSliceSpecFluent.PoolNested<A> editOrNewPool()
-
editOrNewPoolLike
public ResourceSliceSpecFluent.PoolNested<A> editOrNewPoolLike(ResourcePool item)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ResourceSliceSpecFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ResourceSliceSpecFluent<A>>
-
withAllNodes
public A withAllNodes()
-
-