Package com.oracle.bmc.cloudbridge.model
Class CreateInventoryDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.CreateInventoryDetails.Builder
-
- Enclosing class:
- CreateInventoryDetails
public static class CreateInventoryDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateInventoryDetails
build()
CreateInventoryDetails.Builder
compartmentId(String compartmentId)
The OCID of the tenantId.CreateInventoryDetails.Builder
copy(CreateInventoryDetails model)
CreateInventoryDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.CreateInventoryDetails.Builder
displayName(String displayName)
Inventory displayName.CreateInventoryDetails.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.
-
-
-
Method Detail
-
displayName
public CreateInventoryDetails.Builder displayName(String displayName)
Inventory displayName.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public CreateInventoryDetails.Builder compartmentId(String compartmentId)
The OCID of the tenantId.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateInventoryDetails.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateInventoryDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateInventoryDetails build()
-
copy
public CreateInventoryDetails.Builder copy(CreateInventoryDetails model)
-
-