Package com.oracle.bmc.core.model
Class CreateComputeCapacityReportDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateComputeCapacityReportDetails.Builder
-
- Enclosing class:
- CreateComputeCapacityReportDetails
public static class CreateComputeCapacityReportDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateComputeCapacityReportDetails.Builder
availabilityDomain(String availabilityDomain)
The availability domain for the capacity report.CreateComputeCapacityReportDetails
build()
CreateComputeCapacityReportDetails.Builder
compartmentId(String compartmentId)
The OCID for the compartment.CreateComputeCapacityReportDetails.Builder
copy(CreateComputeCapacityReportDetails model)
CreateComputeCapacityReportDetails.Builder
shapeAvailabilities(List<CreateCapacityReportShapeAvailabilityDetails> shapeAvailabilities)
Information about the shapes in the capacity report.
-
-
-
Method Detail
-
compartmentId
public CreateComputeCapacityReportDetails.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 CreateComputeCapacityReportDetails.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 CreateComputeCapacityReportDetails.Builder shapeAvailabilities(List<CreateCapacityReportShapeAvailabilityDetails> shapeAvailabilities)
Information about the shapes in the capacity report.- Parameters:
shapeAvailabilities
- the value to set- Returns:
- this builder
-
build
public CreateComputeCapacityReportDetails build()
-
copy
public CreateComputeCapacityReportDetails.Builder copy(CreateComputeCapacityReportDetails model)
-
-