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 |
isFlexible(Boolean isFlexible)
Indicates if the shape is a flex 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.
|
ShapeSummary.Builder |
shapeMemoryOptions(ShapeMemoryOptions shapeMemoryOptions) |
ShapeSummary.Builder |
shapeOcpuOptions(ShapeOcpuOptions shapeOcpuOptions) |
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 isFlexible(Boolean isFlexible)
Indicates if the shape is a flex shape.
isFlexible
- 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.Builder shapeOcpuOptions(ShapeOcpuOptions shapeOcpuOptions)
public ShapeSummary.Builder shapeMemoryOptions(ShapeMemoryOptions shapeMemoryOptions)
public ShapeSummary build()
public ShapeSummary.Builder copy(ShapeSummary model)
Copyright © 2016–2024. All rights reserved.