Class MachineOSContainerfile
- java.lang.Object
-
- io.fabric8.openshift.api.model.machineconfiguration.v1alpha1.MachineOSContainerfile
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineOSContainerfileBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineOSContainerfile extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineOSContainerfileBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachineOSContainerfile contains all custom content the user wants built into the image- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineOSContainerfile()No args constructor for use in serializationMachineOSContainerfile(String containerfileArch, String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineOSContainerfileBuilderedit()Map<String,Object>getAdditionalProperties()StringgetContainerfileArch()containerfileArch describes the architecture this containerfile is to be built for this arch is optional.StringgetContent()content is the custom content to be builtvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContainerfileArch(String containerfileArch)containerfileArch describes the architecture this containerfile is to be built for this arch is optional.voidsetContent(String content)content is the custom content to be builtMachineOSContainerfileBuildertoBuilder()
-
-
-
Method Detail
-
getContainerfileArch
public String getContainerfileArch()
containerfileArch describes the architecture this containerfile is to be built for this arch is optional. If the user does not specify an architecture, it is assumed that the content can be applied to all architectures, or in a single arch cluster: the only architecture.
-
setContainerfileArch
public void setContainerfileArch(String containerfileArch)
containerfileArch describes the architecture this containerfile is to be built for this arch is optional. If the user does not specify an architecture, it is assumed that the content can be applied to all architectures, or in a single arch cluster: the only architecture.
-
getContent
public String getContent()
content is the custom content to be built
-
setContent
public void setContent(String content)
content is the custom content to be built
-
edit
public MachineOSContainerfileBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineOSContainerfileBuilder>
-
toBuilder
public MachineOSContainerfileBuilder toBuilder()
-
-