Class PodShape.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.PodShape.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodShape
build()
PodShape.Builder
copy(PodShape model)
PodShape.Builder
memoryOptions(List<ShapeMemoryOptions> memoryOptions)
ShapeMemoryOptions.PodShape.Builder
name(String name)
The name of the identifying shape.PodShape.Builder
networkBandwidthOptions(List<ShapeNetworkBandwidthOptions> networkBandwidthOptions)
ShapeNetworkBandwidthOptions.PodShape.Builder
ocpuOptions(List<ShapeOcpuOptions> ocpuOptions)
Options for OCPU shape.PodShape.Builder
processorDescription(String processorDescription)
A short description of the VM’s processor (CPU).
-
-
-
Method Detail
-
name
public PodShape.Builder name(String name)
The name of the identifying shape.- Parameters:
name
- the value to set- Returns:
- this builder
-
processorDescription
public PodShape.Builder processorDescription(String processorDescription)
A short description of the VM’s processor (CPU).- Parameters:
processorDescription
- the value to set- Returns:
- this builder
-
ocpuOptions
public PodShape.Builder ocpuOptions(List<ShapeOcpuOptions> ocpuOptions)
Options for OCPU shape.- Parameters:
ocpuOptions
- the value to set- Returns:
- this builder
-
memoryOptions
public PodShape.Builder memoryOptions(List<ShapeMemoryOptions> memoryOptions)
ShapeMemoryOptions.- Parameters:
memoryOptions
- the value to set- Returns:
- this builder
-
networkBandwidthOptions
public PodShape.Builder networkBandwidthOptions(List<ShapeNetworkBandwidthOptions> networkBandwidthOptions)
ShapeNetworkBandwidthOptions.- Parameters:
networkBandwidthOptions
- the value to set- Returns:
- this builder
-
build
public PodShape build()
-
copy
public PodShape.Builder copy(PodShape model)
-
-