Package com.oracle.bmc.core.model
Class ComputeCapacityReport.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ComputeCapacityReport.Builder
-
- Enclosing class:
- ComputeCapacityReport
public static class ComputeCapacityReport.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeCapacityReport.Builder
availabilityDomain(String availabilityDomain)
The availability domain for the capacity report.ComputeCapacityReport
build()
ComputeCapacityReport.Builder
compartmentId(String compartmentId)
The OCID for the compartment.ComputeCapacityReport.Builder
copy(ComputeCapacityReport model)
ComputeCapacityReport.Builder
shapeAvailabilities(List<CapacityReportShapeAvailability> shapeAvailabilities)
Information about the available capacity for each shape in a capacity report.ComputeCapacityReport.Builder
timeCreated(Date timeCreated)
The date and time the capacity report was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
compartmentId
public ComputeCapacityReport.Builder compartmentId(String compartmentId)
The OCID for the compartment.This should always be the root compartment.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
availabilityDomain
public ComputeCapacityReport.Builder availabilityDomain(String availabilityDomain)
The availability domain for the capacity report.Example: Uocm:PHX-AD-1
- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
shapeAvailabilities
public ComputeCapacityReport.Builder shapeAvailabilities(List<CapacityReportShapeAvailability> shapeAvailabilities)
Information about the available capacity for each shape in a capacity report.- Parameters:
shapeAvailabilities
- the value to set- Returns:
- this builder
-
timeCreated
public ComputeCapacityReport.Builder timeCreated(Date timeCreated)
The date and time the capacity report was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public ComputeCapacityReport build()
-
copy
public ComputeCapacityReport.Builder copy(ComputeCapacityReport model)
-
-