public static class ShapeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ShapeSummary |
build() |
ShapeSummary.Builder |
copy(ShapeSummary model) |
ShapeSummary.Builder |
id(String id)
A unique identifier for the shape.
|
ShapeSummary.Builder |
memorySizeInGBs(Integer memorySizeInGBs)
The amount of memory in gigabytes.
|
ShapeSummary.Builder |
ocpuCount(Integer ocpuCount)
The number of OCPUs.
|
ShapeSummary.Builder |
shape(String shape)
The name of the Compute VM shape.
|
public ShapeSummary.Builder id(String id)
A unique identifier for the shape.
id
- the value to setpublic ShapeSummary.Builder shape(String shape)
The name of the Compute VM shape. Example: VM.Standard.E4.Flex
shape
- the value to setpublic ShapeSummary.Builder ocpuCount(Integer ocpuCount)
The number of OCPUs.
ocpuCount
- the value to setpublic ShapeSummary.Builder memorySizeInGBs(Integer memorySizeInGBs)
The amount of memory in gigabytes.
memorySizeInGBs
- the value to setpublic ShapeSummary build()
public ShapeSummary.Builder copy(ShapeSummary model)
Copyright © 2016–2024. All rights reserved.