Package kubevirt.io
Class V1VirtualMachineInstanceReplicaSetSpec
java.lang.Object
kubevirt.io.V1VirtualMachineInstanceReplicaSetSpec
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1VirtualMachineInstanceReplicaSetSpec
extends Object
V1VirtualMachineInstanceReplicaSetSpec
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanNumber of desired pods.Label selector for pods.Template describes the pods that will be created.inthashCode()isPaused()Indicates that the replica set is paused.selector(V1LabelSelector selector) voidvoidsetReplicas(Integer replicas) voidsetSelector(V1LabelSelector selector) voidtemplate(V1VirtualMachineInstanceTemplateSpec template) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
paused
-
replicas
-
selector
-
template
-
-
Constructor Details
-
V1VirtualMachineInstanceReplicaSetSpec
public V1VirtualMachineInstanceReplicaSetSpec()
-
-
Method Details
-
paused
-
isPaused
Indicates that the replica set is paused. +optional- Returns:
- paused
-
setPaused
-
replicas
-
getReplicas
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional- Returns:
- replicas
-
setReplicas
-
selector
-
getSelector
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.- Returns:
- selector
-
setSelector
-
template
public V1VirtualMachineInstanceReplicaSetSpec template(V1VirtualMachineInstanceTemplateSpec template) -
getTemplate
Template describes the pods that will be created.- Returns:
- template
-
setTemplate
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-