Class CPUOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.aws.v1.CPUOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CPUOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CPUOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<CPUOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CPUOptions defines CPU-related settings for the instance, including the confidential computing policy. If provided, it must not be empty — at least one field must be set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CPUOptions()No args constructor for use in serializationCPUOptions(String confidentialCompute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPUOptionsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetConfidentialCompute()ConfidentialCompute specifies whether confidential computing should be enabled for the instance, and, if so, which confidential computing technology to use.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfidentialCompute(String confidentialCompute)ConfidentialCompute specifies whether confidential computing should be enabled for the instance, and, if so, which confidential computing technology to use.CPUOptionsBuildertoBuilder()
-
-
-
Constructor Detail
-
CPUOptions
public CPUOptions()
No args constructor for use in serialization
-
CPUOptions
public CPUOptions(String confidentialCompute)
-
-
Method Detail
-
getConfidentialCompute
public String getConfidentialCompute()
ConfidentialCompute specifies whether confidential computing should be enabled for the instance, and, if so, which confidential computing technology to use. Valid values are: Disabled, AMDEncryptedVirtualizationNestedPaging and omitted. When set to Disabled, confidential computing will be disabled for the instance. When set to AMDEncryptedVirtualizationNestedPaging, AMD SEV-SNP will be used as the confidential computing technology for the instance. In this case, ensure the following conditions are met: 1) The selected instance type supports AMD SEV-SNP. 2) The selected AWS region supports AMD SEV-SNP. 3) The selected AMI supports AMD SEV-SNP. More details can be checked at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html When omitted, this means no opinion and the AWS platform is left to choose a reasonable default, which is subject to change without notice. The current default is Disabled.
-
setConfidentialCompute
public void setConfidentialCompute(String confidentialCompute)
ConfidentialCompute specifies whether confidential computing should be enabled for the instance, and, if so, which confidential computing technology to use. Valid values are: Disabled, AMDEncryptedVirtualizationNestedPaging and omitted. When set to Disabled, confidential computing will be disabled for the instance. When set to AMDEncryptedVirtualizationNestedPaging, AMD SEV-SNP will be used as the confidential computing technology for the instance. In this case, ensure the following conditions are met: 1) The selected instance type supports AMD SEV-SNP. 2) The selected AWS region supports AMD SEV-SNP. 3) The selected AMI supports AMD SEV-SNP. More details can be checked at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html When omitted, this means no opinion and the AWS platform is left to choose a reasonable default, which is subject to change without notice. The current default is Disabled.
-
edit
public CPUOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CPUOptionsBuilder>
-
toBuilder
public CPUOptionsBuilder toBuilder()
-
-