Class PowerVSMachineProviderConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.PowerVSMachineProviderConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PowerVSMachineProviderConfigBuilder>,io.fabric8.kubernetes.api.model.HasMetadata,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PowerVSMachineProviderConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<PowerVSMachineProviderConfigBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PowerVSMachineProviderConfig()No args constructor for use in serializationPowerVSMachineProviderConfig(String apiVersion, PowerVSSecretReference credentialsSecret, PowerVSResource image, String keyPairName, String kind, List<LoadBalancerReference> loadBalancers, Integer memoryGiB, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PowerVSResource network, String processorType, io.fabric8.kubernetes.api.model.IntOrString processors, PowerVSResource serviceInstance, String systemType, PowerVSSecretReference userDataSecret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PowerVSMachineProviderConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.PowerVSSecretReferencegetCredentialsSecret()PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.PowerVSResourcegetImage()PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.StringgetKeyPairName()keyPairName is the name of the KeyPair to use for SSH.StringgetKind()Kind is a string value representing the REST resource this object represents.List<LoadBalancerReference>getLoadBalancers()loadBalancers is the set of load balancers to which the new control plane instance should be added once it is created.IntegergetMemoryGiB()memoryGiB is the size of a virtual machine's memory, in GiB. maximum value for the MemoryGiB depends on the selected SystemType. when SystemType is set to e880 maximum MemoryGiB value is 7463 GiB. when SystemType is set to e980 maximum MemoryGiB value is 15307 GiB. when SystemType is set to s922 maximum MemoryGiB value is 942 GiB.io.fabric8.kubernetes.api.model.ObjectMetagetMetadata()PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.PowerVSResourcegetNetwork()PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.io.fabric8.kubernetes.api.model.IntOrStringgetProcessors()PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.StringgetProcessorType()processorType is the VM instance processor type.PowerVSResourcegetServiceInstance()PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.StringgetSystemType()systemType is the System type used to host the instance. systemType determines the number of cores and memory that is available.PowerVSSecretReferencegetUserDataSecret()PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetCredentialsSecret(PowerVSSecretReference credentialsSecret)PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.voidsetImage(PowerVSResource image)PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.voidsetKeyPairName(String keyPairName)keyPairName is the name of the KeyPair to use for SSH.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetLoadBalancers(List<LoadBalancerReference> loadBalancers)loadBalancers is the set of load balancers to which the new control plane instance should be added once it is created.voidsetMemoryGiB(Integer memoryGiB)memoryGiB is the size of a virtual machine's memory, in GiB. maximum value for the MemoryGiB depends on the selected SystemType. when SystemType is set to e880 maximum MemoryGiB value is 7463 GiB. when SystemType is set to e980 maximum MemoryGiB value is 15307 GiB. when SystemType is set to s922 maximum MemoryGiB value is 942 GiB.voidsetMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.voidsetNetwork(PowerVSResource network)PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.voidsetProcessors(io.fabric8.kubernetes.api.model.IntOrString processors)PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.voidsetProcessorType(String processorType)processorType is the VM instance processor type.voidsetServiceInstance(PowerVSResource serviceInstance)PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.voidsetSystemType(String systemType)systemType is the System type used to host the instance. systemType determines the number of cores and memory that is available.voidsetUserDataSecret(PowerVSSecretReference userDataSecret)PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine.PowerVSMachineProviderConfigBuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.api.model.HasMetadata
addFinalizer, addOwnerReference, addOwnerReference, getFinalizers, getFullResourceName, getOwnerReferenceFor, getOwnerReferenceFor, getPlural, getSingular, hasFinalizer, hasOwnerReferenceFor, hasOwnerReferenceFor, initNameAndNamespaceFrom, isFinalizerValid, isMarkedForDeletion, optionalMetadata, removeFinalizer, removeOwnerReference, removeOwnerReference
-
-
-
-
Constructor Detail
-
PowerVSMachineProviderConfig
public PowerVSMachineProviderConfig()
No args constructor for use in serialization
-
PowerVSMachineProviderConfig
public PowerVSMachineProviderConfig(String apiVersion, PowerVSSecretReference credentialsSecret, PowerVSResource image, String keyPairName, String kind, List<LoadBalancerReference> loadBalancers, Integer memoryGiB, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PowerVSResource network, String processorType, io.fabric8.kubernetes.api.model.IntOrString processors, PowerVSResource serviceInstance, String systemType, PowerVSSecretReference userDataSecret)
-
-
Method Detail
-
getApiVersion
public String 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/sig-architecture/api-conventions.md#resources- Specified by:
getApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setApiVersion
public void setApiVersion(String apiVersion)
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/sig-architecture/api-conventions.md#resources- Specified by:
setApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getCredentialsSecret
public PowerVSSecretReference getCredentialsSecret()
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setCredentialsSecret
public void setCredentialsSecret(PowerVSSecretReference credentialsSecret)
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getImage
public PowerVSResource getImage()
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setImage
public void setImage(PowerVSResource image)
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getKeyPairName
public String getKeyPairName()
keyPairName is the name of the KeyPair to use for SSH. The key pair will be exposed to the instance via the instance metadata service. On boot, the OS will copy the public keypair into the authorized keys for the core user.
-
setKeyPairName
public void setKeyPairName(String keyPairName)
keyPairName is the name of the KeyPair to use for SSH. The key pair will be exposed to the instance via the instance metadata service. On boot, the OS will copy the public keypair into the authorized keys for the core user.
-
getKind
public String 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/sig-architecture/api-conventions.md#types-kinds- Specified by:
getKindin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setKind
public void setKind(String kind)
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/sig-architecture/api-conventions.md#types-kinds
-
getLoadBalancers
public List<LoadBalancerReference> getLoadBalancers()
loadBalancers is the set of load balancers to which the new control plane instance should be added once it is created.
-
setLoadBalancers
public void setLoadBalancers(List<LoadBalancerReference> loadBalancers)
loadBalancers is the set of load balancers to which the new control plane instance should be added once it is created.
-
getMemoryGiB
public Integer getMemoryGiB()
memoryGiB is the size of a virtual machine's memory, in GiB. maximum value for the MemoryGiB depends on the selected SystemType. when SystemType is set to e880 maximum MemoryGiB value is 7463 GiB. when SystemType is set to e980 maximum MemoryGiB value is 15307 GiB. when SystemType is set to s922 maximum MemoryGiB value is 942 GiB. The minimum memory is 32 GiB. When omitted, this means the user has no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is 32.
-
setMemoryGiB
public void setMemoryGiB(Integer memoryGiB)
memoryGiB is the size of a virtual machine's memory, in GiB. maximum value for the MemoryGiB depends on the selected SystemType. when SystemType is set to e880 maximum MemoryGiB value is 7463 GiB. when SystemType is set to e980 maximum MemoryGiB value is 15307 GiB. when SystemType is set to s922 maximum MemoryGiB value is 942 GiB. The minimum memory is 32 GiB. When omitted, this means the user has no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is 32.
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Specified by:
setMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getNetwork
public PowerVSResource getNetwork()
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setNetwork
public void setNetwork(PowerVSResource network)
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getProcessorType
public String getProcessorType()
processorType is the VM instance processor type. It must be set to one of the following values: Dedicated, Capped or Shared. Dedicated: resources are allocated for a specific client, The hypervisor makes a 1:1 binding of a partition’s processor to a physical processor core. Shared: Shared among other clients. Capped: Shared, but resources do not expand beyond those that are requested, the amount of CPU time is Capped to the value specified for the entitlement. if the processorType is selected as Dedicated, then processors value cannot be fractional. When omitted, this means that the user has no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is Shared.
-
setProcessorType
public void setProcessorType(String processorType)
processorType is the VM instance processor type. It must be set to one of the following values: Dedicated, Capped or Shared. Dedicated: resources are allocated for a specific client, The hypervisor makes a 1:1 binding of a partition’s processor to a physical processor core. Shared: Shared among other clients. Capped: Shared, but resources do not expand beyond those that are requested, the amount of CPU time is Capped to the value specified for the entitlement. if the processorType is selected as Dedicated, then processors value cannot be fractional. When omitted, this means that the user has no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is Shared.
-
getProcessors
public io.fabric8.kubernetes.api.model.IntOrString getProcessors()
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setProcessors
public void setProcessors(io.fabric8.kubernetes.api.model.IntOrString processors)
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getServiceInstance
public PowerVSResource getServiceInstance()
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setServiceInstance
public void setServiceInstance(PowerVSResource serviceInstance)
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getSystemType
public String getSystemType()
systemType is the System type used to host the instance. systemType determines the number of cores and memory that is available. Few of the supported SystemTypes are s922,e880,e980. e880 systemType available only in Dallas Datacenters. e980 systemType available in Datacenters except Dallas and Washington. When omitted, this means that the user has no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is s922 which is generally available.
-
setSystemType
public void setSystemType(String systemType)
systemType is the System type used to host the instance. systemType determines the number of cores and memory that is available. Few of the supported SystemTypes are s922,e880,e980. e880 systemType available only in Dallas Datacenters. e980 systemType available in Datacenters except Dallas and Washington. When omitted, this means that the user has no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is s922 which is generally available.
-
getUserDataSecret
public PowerVSSecretReference getUserDataSecret()
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setUserDataSecret
public void setUserDataSecret(PowerVSSecretReference userDataSecret)
PowerVSMachineProviderConfig is the type that will be embedded in a Machine.Spec.ProviderSpec field for a PowerVS virtual machine. It is used by the PowerVS machine actuator to create a single Machine.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
edit
public PowerVSMachineProviderConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PowerVSMachineProviderConfigBuilder>
-
toBuilder
public PowerVSMachineProviderConfigBuilder toBuilder()
-
-