Package kubevirt.io
Class V1VirtualMachineInstance
java.lang.Object
kubevirt.io.V1VirtualMachineInstance
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1VirtualMachineInstance
extends Object
VirtualMachineInstance is *the* VirtualMachineInstance Definition. It represents a virtual machine in the runtime environment of kubernetes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate io.kubernetes.client.models.V1ObjectMetaprivate V1VirtualMachineInstanceSpecprivate V1VirtualMachineInstanceStatus -
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()VirtualMachineInstance Spec contains the VirtualMachineInstance specification.Status is the high level overview of how the VirtualMachineInstance is doing.inthashCode()metadata(io.kubernetes.client.models.V1ObjectMeta metadata) voidsetApiVersion(String apiVersion) voidvoidsetMetadata(io.kubernetes.client.models.V1ObjectMeta metadata) voidvoidstatus(V1VirtualMachineInstanceStatus 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
-
V1VirtualMachineInstance
public V1VirtualMachineInstance()
-
-
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
VirtualMachineInstance Spec contains the VirtualMachineInstance specification.- Returns:
- spec
-
setSpec
-
status
-
getStatus
Status is the high level overview of how the VirtualMachineInstance is doing. It contains information available to controllers and users.- 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).
-