Class PlacementDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.PlacementDetails.Builder
-
- Enclosing class:
- PlacementDetails
public static class PlacementDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlacementDetails.Builder
availabilityDomain(String availabilityDomain)
The availability domain (AD) for which the resources were provisioned.PlacementDetails.Builder
block(String block)
The block in the datacenter room where the resource was placed.PlacementDetails
build()
PlacementDetails.Builder
building(String building)
The datacenter building where the resource was placed.PlacementDetails.Builder
copy(PlacementDetails model)
PlacementDetails.Builder
region(String region)
The name of the region for which the resources were provisioned.PlacementDetails.Builder
room(String room)
The name of the room in the dataacenter building where the resource was placed.PlacementDetails.Builder
workloadType(String workloadType)
The type of workload to which these resources were provisioned.
-
-
-
Method Detail
-
region
public PlacementDetails.Builder region(String region)
The name of the region for which the resources were provisioned.- Parameters:
region
- the value to set- Returns:
- this builder
-
availabilityDomain
public PlacementDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain (AD) for which the resources were provisioned.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
workloadType
public PlacementDetails.Builder workloadType(String workloadType)
The type of workload to which these resources were provisioned.- Parameters:
workloadType
- the value to set- Returns:
- this builder
-
building
public PlacementDetails.Builder building(String building)
The datacenter building where the resource was placed.- Parameters:
building
- the value to set- Returns:
- this builder
-
room
public PlacementDetails.Builder room(String room)
The name of the room in the dataacenter building where the resource was placed.- Parameters:
room
- the value to set- Returns:
- this builder
-
block
public PlacementDetails.Builder block(String block)
The block in the datacenter room where the resource was placed.- Parameters:
block
- the value to set- Returns:
- this builder
-
build
public PlacementDetails build()
-
copy
public PlacementDetails.Builder copy(PlacementDetails model)
-
-