Class PreprovisioningImageSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.PreprovisioningImageSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PreprovisioningImageSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PreprovisioningImageSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<PreprovisioningImageSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PreprovisioningImageSpec defines the desired state of PreprovisioningImage.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreprovisioningImageSpec()No args constructor for use in serializationPreprovisioningImageSpec(List<String> acceptFormats, String architecture, String networkDataName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreprovisioningImageSpecBuilderedit()List<String>getAcceptFormats()acceptFormats is a list of acceptable image formats.Map<String,Object>getAdditionalProperties()StringgetArchitecture()architecture is the processor architecture for which to build the image.StringgetNetworkDataName()networkDataName is the name of a Secret in the local namespace that contains network data to build in to the image.voidsetAcceptFormats(List<String> acceptFormats)acceptFormats is a list of acceptable image formats.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetArchitecture(String architecture)architecture is the processor architecture for which to build the image.voidsetNetworkDataName(String networkDataName)networkDataName is the name of a Secret in the local namespace that contains network data to build in to the image.PreprovisioningImageSpecBuildertoBuilder()
-
-
-
Method Detail
-
getAcceptFormats
public List<String> getAcceptFormats()
acceptFormats is a list of acceptable image formats.
-
setAcceptFormats
public void setAcceptFormats(List<String> acceptFormats)
acceptFormats is a list of acceptable image formats.
-
getArchitecture
public String getArchitecture()
architecture is the processor architecture for which to build the image.
-
setArchitecture
public void setArchitecture(String architecture)
architecture is the processor architecture for which to build the image.
-
getNetworkDataName
public String getNetworkDataName()
networkDataName is the name of a Secret in the local namespace that contains network data to build in to the image.
-
setNetworkDataName
public void setNetworkDataName(String networkDataName)
networkDataName is the name of a Secret in the local namespace that contains network data to build in to the image.
-
edit
public PreprovisioningImageSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PreprovisioningImageSpecBuilder>
-
toBuilder
public PreprovisioningImageSpecBuilder toBuilder()
-
-