io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.HardwareDetailsFluent Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.fabric8.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.LinkedHashMap;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.List;
import java.lang.Boolean;
import io.fabric8.kubernetes.api.builder.Fluent;
import java.lang.Integer;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
/**
* Generated
*/
public interface HardwareDetailsFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildCpu instead.
* @return The buildable object.
*/
@Deprecated
public CPU getCpu();
public CPU buildCpu();
public A withCpu(CPU cpu);
public Boolean hasCpu();
public HardwareDetailsFluent.CpuNested withNewCpu();
public HardwareDetailsFluent.CpuNested withNewCpuLike(CPU item);
public HardwareDetailsFluent.CpuNested editCpu();
public HardwareDetailsFluent.CpuNested editOrNewCpu();
public HardwareDetailsFluent.CpuNested editOrNewCpuLike(CPU item);
/**
* This method has been deprecated, please use method buildFirmware instead.
* @return The buildable object.
*/
@Deprecated
public Firmware getFirmware();
public Firmware buildFirmware();
public A withFirmware(Firmware firmware);
public Boolean hasFirmware();
public HardwareDetailsFluent.FirmwareNested withNewFirmware();
public HardwareDetailsFluent.FirmwareNested withNewFirmwareLike(Firmware item);
public HardwareDetailsFluent.FirmwareNested editFirmware();
public HardwareDetailsFluent.FirmwareNested editOrNewFirmware();
public HardwareDetailsFluent.FirmwareNested editOrNewFirmwareLike(Firmware item);
public String getHostname();
public A withHostname(String hostname);
public Boolean hasHostname();
public A addToNics(int index,NIC item);
public A setToNics(int index,NIC item);
public A addToNics(io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.NIC... items);
public A addAllToNics(Collection items);
public A removeFromNics(io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.NIC... items);
public A removeAllFromNics(Collection items);
public A removeMatchingFromNics(Predicate predicate);
/**
* This method has been deprecated, please use method buildNics instead.
* @return The buildable object.
*/
@Deprecated
public List getNics();
public List buildNics();
public NIC buildNic(int index);
public NIC buildFirstNic();
public NIC buildLastNic();
public NIC buildMatchingNic(Predicate predicate);
public Boolean hasMatchingNic(Predicate predicate);
public A withNics(List nics);
public A withNics(io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.NIC... nics);
public Boolean hasNics();
public HardwareDetailsFluent.NicsNested addNewNic();
public HardwareDetailsFluent.NicsNested addNewNicLike(NIC item);
public HardwareDetailsFluent.NicsNested setNewNicLike(int index,NIC item);
public HardwareDetailsFluent.NicsNested editNic(int index);
public HardwareDetailsFluent.NicsNested editFirstNic();
public HardwareDetailsFluent.NicsNested editLastNic();
public HardwareDetailsFluent.NicsNested editMatchingNic(Predicate predicate);
public Integer getRamMebibytes();
public A withRamMebibytes(Integer ramMebibytes);
public Boolean hasRamMebibytes();
public A addToStorage(int index,Storage item);
public A setToStorage(int index,Storage item);
public A addToStorage(io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.Storage... items);
public A addAllToStorage(Collection items);
public A removeFromStorage(io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.Storage... items);
public A removeAllFromStorage(Collection items);
public A removeMatchingFromStorage(Predicate predicate);
/**
* This method has been deprecated, please use method buildStorage instead.
* @return The buildable object.
*/
@Deprecated
public List getStorage();
public List buildStorage();
public Storage buildStorage(int index);
public Storage buildFirstStorage();
public Storage buildLastStorage();
public Storage buildMatchingStorage(Predicate predicate);
public Boolean hasMatchingStorage(Predicate predicate);
public A withStorage(List storage);
public A withStorage(io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.Storage... storage);
public Boolean hasStorage();
public HardwareDetailsFluent.StorageNested addNewStorage();
public HardwareDetailsFluent.StorageNested addNewStorageLike(Storage item);
public HardwareDetailsFluent.StorageNested setNewStorageLike(int index,Storage item);
public HardwareDetailsFluent.StorageNested editStorage(int index);
public HardwareDetailsFluent.StorageNested editFirstStorage();
public HardwareDetailsFluent.StorageNested editLastStorage();
public HardwareDetailsFluent.StorageNested editMatchingStorage(Predicate predicate);
/**
* This method has been deprecated, please use method buildSystemVendor instead.
* @return The buildable object.
*/
@Deprecated
public HardwareSystemVendor getSystemVendor();
public HardwareSystemVendor buildSystemVendor();
public A withSystemVendor(HardwareSystemVendor systemVendor);
public Boolean hasSystemVendor();
public A withNewSystemVendor(String manufacturer,String productName,String serialNumber);
public HardwareDetailsFluent.SystemVendorNested withNewSystemVendor();
public HardwareDetailsFluent.SystemVendorNested withNewSystemVendorLike(HardwareSystemVendor item);
public HardwareDetailsFluent.SystemVendorNested editSystemVendor();
public HardwareDetailsFluent.SystemVendorNested editOrNewSystemVendor();
public HardwareDetailsFluent.SystemVendorNested editOrNewSystemVendorLike(HardwareSystemVendor item);
public A addToAdditionalProperties(String key,Object value);
public A addToAdditionalProperties(Map map);
public A removeFromAdditionalProperties(String key);
public A removeFromAdditionalProperties(Map map);
public Map getAdditionalProperties();
public A withAdditionalProperties(Map additionalProperties);
public Boolean hasAdditionalProperties();
public interface CpuNested extends Nested,CPUFluent>{
public N and();
public N endCpu();
}
public interface FirmwareNested extends Nested,FirmwareFluent>{
public N and();
public N endFirmware();
}
public interface NicsNested extends Nested,NICFluent>{
public N and();
public N endNic();
}
public interface StorageNested extends Nested,StorageFluent>{
public N and();
public N endStorage();
}
public interface SystemVendorNested extends Nested,HardwareSystemVendorFluent>{
public N and();
public N endSystemVendor();
}
}