Class NetworkSpecFluent<A extends NetworkSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.machine.v1beta1.NetworkSpecFluent<A>
-
- Direct Known Subclasses:
NetworkSpecBuilder,VSphereMachineProviderSpecFluent.NetworkNested
public class NetworkSpecFluent<A extends NetworkSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classNetworkSpecFluent.DevicesNested<N>
-
Constructor Summary
Constructors Constructor Description NetworkSpecFluent()NetworkSpecFluent(NetworkSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
NetworkSpecFluent
public NetworkSpecFluent()
-
NetworkSpecFluent
public NetworkSpecFluent(NetworkSpec instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(NetworkSpec instance)
-
addToDevices
public A addToDevices(int index, NetworkDeviceSpec item)
-
setToDevices
public A setToDevices(int index, NetworkDeviceSpec item)
-
addToDevices
public A addToDevices(NetworkDeviceSpec... items)
-
addAllToDevices
public A addAllToDevices(Collection<NetworkDeviceSpec> items)
-
removeFromDevices
public A removeFromDevices(NetworkDeviceSpec... items)
-
removeAllFromDevices
public A removeAllFromDevices(Collection<NetworkDeviceSpec> items)
-
removeMatchingFromDevices
public A removeMatchingFromDevices(Predicate<NetworkDeviceSpecBuilder> predicate)
-
buildDevices
public List<NetworkDeviceSpec> buildDevices()
-
buildDevice
public NetworkDeviceSpec buildDevice(int index)
-
buildFirstDevice
public NetworkDeviceSpec buildFirstDevice()
-
buildLastDevice
public NetworkDeviceSpec buildLastDevice()
-
buildMatchingDevice
public NetworkDeviceSpec buildMatchingDevice(Predicate<NetworkDeviceSpecBuilder> predicate)
-
hasMatchingDevice
public boolean hasMatchingDevice(Predicate<NetworkDeviceSpecBuilder> predicate)
-
withDevices
public A withDevices(List<NetworkDeviceSpec> devices)
-
withDevices
public A withDevices(NetworkDeviceSpec... devices)
-
hasDevices
public boolean hasDevices()
-
addNewDevice
public NetworkSpecFluent.DevicesNested<A> addNewDevice()
-
addNewDeviceLike
public NetworkSpecFluent.DevicesNested<A> addNewDeviceLike(NetworkDeviceSpec item)
-
setNewDeviceLike
public NetworkSpecFluent.DevicesNested<A> setNewDeviceLike(int index, NetworkDeviceSpec item)
-
editDevice
public NetworkSpecFluent.DevicesNested<A> editDevice(int index)
-
editFirstDevice
public NetworkSpecFluent.DevicesNested<A> editFirstDevice()
-
editLastDevice
public NetworkSpecFluent.DevicesNested<A> editLastDevice()
-
editMatchingDevice
public NetworkSpecFluent.DevicesNested<A> editMatchingDevice(Predicate<NetworkDeviceSpecBuilder> predicate)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classio.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkSpecFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classio.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkSpecFluent<A>>
-
-