Package com.oracle.bmc.cloudbridge.model
Class InventorySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.InventorySummary.Builder
-
- Enclosing class:
- InventorySummary
public static class InventorySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InventorySummary
build()
InventorySummary.Builder
compartmentId(String compartmentId)
The OCID of the tenantId.InventorySummary.Builder
copy(InventorySummary model)
InventorySummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.InventorySummary.Builder
displayName(String displayName)
Inventory display name.InventorySummary.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.InventorySummary.Builder
id(String id)
Inventory OCID.InventorySummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.InventorySummary.Builder
lifecycleState(Inventory.LifecycleState lifecycleState)
The current state of the inventory.InventorySummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.InventorySummary.Builder
timeCreated(Date timeCreated)
The time when the inventory was created.InventorySummary.Builder
timeUpdated(Date timeUpdated)
The time when the inventory was updated.
-
-
-
Method Detail
-
id
public InventorySummary.Builder id(String id)
Inventory OCID.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public InventorySummary.Builder displayName(String displayName)
Inventory display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleState
public InventorySummary.Builder lifecycleState(Inventory.LifecycleState lifecycleState)
The current state of the inventory.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public InventorySummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
compartmentId
public InventorySummary.Builder compartmentId(String compartmentId)
The OCID of the tenantId.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public InventorySummary.Builder timeCreated(Date timeCreated)
The time when the inventory was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public InventorySummary.Builder timeUpdated(Date timeUpdated)
The time when the inventory was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public InventorySummary.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 InventorySummary.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
-
systemTags
public InventorySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public InventorySummary build()
-
copy
public InventorySummary.Builder copy(InventorySummary model)
-
-