Class AvailableShapeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.AvailableShapeSummary.Builder
-
- Enclosing class:
- AvailableShapeSummary
public static class AvailableShapeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
availabilityDomain
public AvailableShapeSummary.Builder availabilityDomain(String availabilityDomain)
Availability domain of the shape.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
paginationToken
public AvailableShapeSummary.Builder paginationToken(String paginationToken)
Shape name and availability domain.Used for pagination.
- Parameters:
paginationToken
- the value to set- Returns:
- this builder
-
minTotalBaselineOcpusRequired
public AvailableShapeSummary.Builder minTotalBaselineOcpusRequired(BigDecimal minTotalBaselineOcpusRequired)
Minimum CPUs required.- Parameters:
minTotalBaselineOcpusRequired
- the value to set- Returns:
- this builder
-
shape
public AvailableShapeSummary.Builder shape(String shape)
Name of the shape.- Parameters:
shape
- the value to set- Returns:
- this builder
-
processorDescription
public AvailableShapeSummary.Builder processorDescription(String processorDescription)
Description of the processor.- Parameters:
processorDescription
- the value to set- Returns:
- this builder
-
ocpus
public AvailableShapeSummary.Builder ocpus(Float ocpus)
Number of CPUs.- Parameters:
ocpus
- the value to set- Returns:
- this builder
-
memoryInGBs
public AvailableShapeSummary.Builder memoryInGBs(Float memoryInGBs)
Amount of memory for the shape.- Parameters:
memoryInGBs
- the value to set- Returns:
- this builder
-
networkingBandwidthInGbps
public AvailableShapeSummary.Builder networkingBandwidthInGbps(Float networkingBandwidthInGbps)
Shape bandwidth.- Parameters:
networkingBandwidthInGbps
- the value to set- Returns:
- this builder
-
maxVnicAttachments
public AvailableShapeSummary.Builder maxVnicAttachments(Integer maxVnicAttachments)
Maximum number of virtual network interfaces that can be attached.- Parameters:
maxVnicAttachments
- the value to set- Returns:
- this builder
-
gpus
public AvailableShapeSummary.Builder gpus(Integer gpus)
Number of GPUs.- Parameters:
gpus
- the value to set- Returns:
- this builder
-
gpuDescription
public AvailableShapeSummary.Builder gpuDescription(String gpuDescription)
Description of the GPUs.- Parameters:
gpuDescription
- the value to set- Returns:
- this builder
-
localDisks
public AvailableShapeSummary.Builder localDisks(Integer localDisks)
Number of local disks.- Parameters:
localDisks
- the value to set- Returns:
- this builder
-
localDisksTotalSizeInGBs
public AvailableShapeSummary.Builder localDisksTotalSizeInGBs(Float localDisksTotalSizeInGBs)
Total size of local disks for shape.- Parameters:
localDisksTotalSizeInGBs
- the value to set- Returns:
- this builder
-
localDiskDescription
public AvailableShapeSummary.Builder localDiskDescription(String localDiskDescription)
Description of local disks.- Parameters:
localDiskDescription
- the value to set- Returns:
- this builder
-
freeformTags
public AvailableShapeSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.It exists only for cross-compatibility. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public AvailableShapeSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public AvailableShapeSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public AvailableShapeSummary build()
-
copy
public AvailableShapeSummary.Builder copy(AvailableShapeSummary model)
-
-