public static class CapacityReservationInstanceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public CapacityReservationInstanceSummary.Builder id(String id)
The OCID of the instance.
id
- the value to setpublic CapacityReservationInstanceSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain the instance is running in.
availabilityDomain
- the value to setpublic CapacityReservationInstanceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the instance.
compartmentId
- the value to setpublic CapacityReservationInstanceSummary.Builder faultDomain(String faultDomain)
The fault domain the instance is running in.
faultDomain
- the value to setpublic CapacityReservationInstanceSummary.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group of the instance.
clusterPlacementGroupId
- the value to setpublic CapacityReservationInstanceSummary.Builder shapeConfig(InstanceReservationShapeConfigDetails shapeConfig)
public CapacityReservationInstanceSummary.Builder shape(String shape)
The shape of the instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
You can enumerate all available shapes by calling listComputeCapacityReservationInstanceShapes
.
shape
- the value to setpublic CapacityReservationInstanceSummary build()
public CapacityReservationInstanceSummary.Builder copy(CapacityReservationInstanceSummary model)
Copyright © 2016–2024. All rights reserved.