Package com.oracle.bmc.ocvp.model
Class SupportedHostShapeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.SupportedHostShapeSummary.Builder
-
- Enclosing class:
- SupportedHostShapeSummary
public static class SupportedHostShapeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SupportedHostShapeSummary
build()
SupportedHostShapeSummary.Builder
copy(SupportedHostShapeSummary model)
SupportedHostShapeSummary.Builder
defaultOcpuCount(Float defaultOcpuCount)
The default OCPU count of the shape.SupportedHostShapeSummary.Builder
description(String description)
Description of the shape.SupportedHostShapeSummary.Builder
isSingleHostSddcSupported(Boolean isSingleHostSddcSupported)
Indicates whether the shape supports single host SDDCs.SupportedHostShapeSummary.Builder
isSupportMonthlyCommitment(Boolean isSupportMonthlyCommitment)
Whether the shape supports “MONTH” Commitment.SupportedHostShapeSummary.Builder
isSupportShieldedInstances(Boolean isSupportShieldedInstances)
Indicates whether the shape supports shielded instances.SupportedHostShapeSummary.Builder
name(String name)
The name of the supported compute shape.SupportedHostShapeSummary.Builder
shapeFamily(String shapeFamily)
The family of the shape.SupportedHostShapeSummary.Builder
supportedOcpuCount(List<Float> supportedOcpuCount)
Support OCPU count of the shape.SupportedHostShapeSummary.Builder
supportedOperations(List<OperationTypes> supportedOperations)
The operations where you can use the shape.SupportedHostShapeSummary.Builder
supportedVmwareSoftwareVersions(List<String> supportedVmwareSoftwareVersions)
The VMware software versions supported by the shape.
-
-
-
Method Detail
-
name
public SupportedHostShapeSummary.Builder name(String name)
The name of the supported compute shape.- Parameters:
name
- the value to set- Returns:
- this builder
-
supportedOperations
public SupportedHostShapeSummary.Builder supportedOperations(List<OperationTypes> supportedOperations)
The operations where you can use the shape.The operations can be CREATE_SDDC or CREATE_ESXI_HOST.
- Parameters:
supportedOperations
- the value to set- Returns:
- this builder
-
shapeFamily
public SupportedHostShapeSummary.Builder shapeFamily(String shapeFamily)
The family of the shape.ESXi hosts of one SDDC must have the same shape family.
- Parameters:
shapeFamily
- the value to set- Returns:
- this builder
-
defaultOcpuCount
public SupportedHostShapeSummary.Builder defaultOcpuCount(Float defaultOcpuCount)
The default OCPU count of the shape.- Parameters:
defaultOcpuCount
- the value to set- Returns:
- this builder
-
supportedOcpuCount
public SupportedHostShapeSummary.Builder supportedOcpuCount(List<Float> supportedOcpuCount)
Support OCPU count of the shape.- Parameters:
supportedOcpuCount
- the value to set- Returns:
- this builder
-
isSingleHostSddcSupported
public SupportedHostShapeSummary.Builder isSingleHostSddcSupported(Boolean isSingleHostSddcSupported)
Indicates whether the shape supports single host SDDCs.- Parameters:
isSingleHostSddcSupported
- the value to set- Returns:
- this builder
-
supportedVmwareSoftwareVersions
public SupportedHostShapeSummary.Builder supportedVmwareSoftwareVersions(List<String> supportedVmwareSoftwareVersions)
The VMware software versions supported by the shape.- Parameters:
supportedVmwareSoftwareVersions
- the value to set- Returns:
- this builder
-
description
public SupportedHostShapeSummary.Builder description(String description)
Description of the shape.- Parameters:
description
- the value to set- Returns:
- this builder
-
isSupportShieldedInstances
public SupportedHostShapeSummary.Builder isSupportShieldedInstances(Boolean isSupportShieldedInstances)
Indicates whether the shape supports shielded instances.- Parameters:
isSupportShieldedInstances
- the value to set- Returns:
- this builder
-
isSupportMonthlyCommitment
public SupportedHostShapeSummary.Builder isSupportMonthlyCommitment(Boolean isSupportMonthlyCommitment)
Whether the shape supports “MONTH” Commitment.- Parameters:
isSupportMonthlyCommitment
- the value to set- Returns:
- this builder
-
build
public SupportedHostShapeSummary build()
-
copy
public SupportedHostShapeSummary.Builder copy(SupportedHostShapeSummary model)
-
-