Package com.oracle.bmc.rover.model
Class ShapeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.rover.model.ShapeSummary.Builder
-
- Enclosing class:
- ShapeSummary
public static class ShapeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShapeSummary
build()
ShapeSummary.Builder
copy(ShapeSummary model)
ShapeSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.ShapeSummary.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.ShapeSummary.Builder
gpuDescription(String gpuDescription)
A short description of the graphics processing unit (GPU) available for this shape.ShapeSummary.Builder
gpus(Integer gpus)
The number of GPUs available for this shape.ShapeSummary.Builder
memoryInGBs(Float memoryInGBs)
The default amount of memory available for this shape, in gigabytes.ShapeSummary.Builder
networkingBandwidthInGbps(Float networkingBandwidthInGbps)
The networking bandwidth available for this shape, in gigabits per second.ShapeSummary.Builder
numberOfUsbControllers(Integer numberOfUsbControllers)
The number of USB controllers available for this shape.ShapeSummary.Builder
ocpus(Integer ocpus)
The default number of OCPUs available for this shape.ShapeSummary.Builder
processorDescription(String processorDescription)
A short description of the shape’s processor (CPU).ShapeSummary.Builder
shape(String shape)
The name of the shape.ShapeSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.ShapeSummary.Builder
tags(String tags)
The tags associated with tagSlug.ShapeSummary.Builder
usbControllerDescription(String usbControllerDescription)
A short description of the USB controller available for this shape.
-
-
-
Method Detail
-
gpuDescription
public ShapeSummary.Builder gpuDescription(String gpuDescription)
A short description of the graphics processing unit (GPU) available for this shape.- Parameters:
gpuDescription
- the value to set- Returns:
- this builder
-
gpus
public ShapeSummary.Builder gpus(Integer gpus)
The number of GPUs available for this shape.- Parameters:
gpus
- the value to set- Returns:
- this builder
-
memoryInGBs
public ShapeSummary.Builder memoryInGBs(Float memoryInGBs)
The default amount of memory available for this shape, in gigabytes.- Parameters:
memoryInGBs
- the value to set- Returns:
- this builder
-
networkingBandwidthInGbps
public ShapeSummary.Builder networkingBandwidthInGbps(Float networkingBandwidthInGbps)
The networking bandwidth available for this shape, in gigabits per second.- Parameters:
networkingBandwidthInGbps
- the value to set- Returns:
- this builder
-
ocpus
public ShapeSummary.Builder ocpus(Integer ocpus)
The default number of OCPUs available for this shape.- Parameters:
ocpus
- the value to set- Returns:
- this builder
-
processorDescription
public ShapeSummary.Builder processorDescription(String processorDescription)
A short description of the shape’s processor (CPU).- Parameters:
processorDescription
- the value to set- Returns:
- this builder
-
shape
public ShapeSummary.Builder shape(String shape)
The name of the shape.- Parameters:
shape
- the value to set- Returns:
- this builder
-
usbControllerDescription
public ShapeSummary.Builder usbControllerDescription(String usbControllerDescription)
A short description of the USB controller available for this shape.- Parameters:
usbControllerDescription
- the value to set- Returns:
- this builder
-
numberOfUsbControllers
public ShapeSummary.Builder numberOfUsbControllers(Integer numberOfUsbControllers)
The number of USB controllers available for this shape.- Parameters:
numberOfUsbControllers
- the value to set- Returns:
- this builder
-
tags
public ShapeSummary.Builder tags(String tags)
The tags associated with tagSlug.- Parameters:
tags
- the value to set- Returns:
- this builder
-
freeformTags
public ShapeSummary.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ShapeSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public ShapeSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ShapeSummary build()
-
copy
public ShapeSummary.Builder copy(ShapeSummary model)
-
-