Package kubevirt.io
Class V1VirtualMachine
java.lang.Object
kubevirt.io.V1VirtualMachine
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1VirtualMachine
extends Object
VirtualMachine handles the VirtualMachines that are not running or are in a stopped state The VirtualMachine contains the template to create the VirtualMachineInstance. It also mirrors the running state of the created VirtualMachineInstance in its status.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate io.kubernetes.client.models.V1ObjectMetaprivate V1VirtualMachineSpecprivate V1VirtualMachineStatus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion(String apiVersion) booleanAPIVersion defines the versioned schema of this representation of an object.getKind()Kind is a string value representing the REST resource this object represents.io.kubernetes.client.models.V1ObjectMetaGet metadatagetSpec()Spec contains the specification of VirtualMachineInstance createdStatus holds the current state of the controller and brief information about its associated VirtualMachineInstanceinthashCode()metadata(io.kubernetes.client.models.V1ObjectMeta metadata) voidsetApiVersion(String apiVersion) voidvoidsetMetadata(io.kubernetes.client.models.V1ObjectMeta metadata) voidsetSpec(V1VirtualMachineSpec spec) voidsetStatus(V1VirtualMachineStatus status) spec(V1VirtualMachineSpec spec) status(V1VirtualMachineStatus status) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
apiVersion
-
kind
-
metadata
private io.kubernetes.client.models.V1ObjectMeta metadata -
spec
-
status
-
-
Constructor Details
-
V1VirtualMachine
public V1VirtualMachine()
-
-
Method Details
-
apiVersion
-
getApiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources- Returns:
- apiVersion
-
setApiVersion
-
kind
-
getKind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
-
metadata
-
getMetadata
public io.kubernetes.client.models.V1ObjectMeta getMetadata()Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(io.kubernetes.client.models.V1ObjectMeta metadata) -
spec
-
getSpec
Spec contains the specification of VirtualMachineInstance created- Returns:
- spec
-
setSpec
-
status
-
getStatus
Status holds the current state of the controller and brief information about its associated VirtualMachineInstance- Returns:
- status
-
setStatus
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-