Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Inventory |
build() |
Inventory.Builder |
compartmentId(String compartmentId)
The OCID of the tenantId.
|
Inventory.Builder |
copy(Inventory model) |
Inventory.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.
|
Inventory.Builder |
displayName(String displayName)
Inventory display name.
|
Inventory.Builder |
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.
|
Inventory.Builder |
id(String id)
Inventory OCID.
|
Inventory.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Inventory.Builder |
lifecycleState(Inventory.LifecycleState lifecycleState)
The current state of the inventory.
|
Inventory.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
Inventory.Builder |
timeCreated(Date timeCreated)
The time when the inventory was created.
|
Inventory.Builder |
timeUpdated(Date timeUpdated)
The time when the inventory was updated.
|
public Inventory.Builder id(String id)
Inventory OCID.
id
- the value to setpublic Inventory.Builder displayName(String displayName)
Inventory display name.
displayName
- the value to setpublic Inventory.Builder lifecycleState(Inventory.LifecycleState lifecycleState)
The current state of the inventory.
lifecycleState
- the value to setpublic Inventory.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.
lifecycleDetails
- the value to setpublic Inventory.Builder compartmentId(String compartmentId)
The OCID of the tenantId.
compartmentId
- the value to setpublic Inventory.Builder timeCreated(Date timeCreated)
The time when the inventory was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Inventory.Builder timeUpdated(Date timeUpdated)
The time when the inventory was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Inventory.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"}
freeformTags
- the value to setpublic Inventory.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"}}
definedTags
- the value to setpublic Inventory.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}}
systemTags
- the value to setpublic Inventory build()
public Inventory.Builder copy(Inventory model)
Copyright © 2016–2024. All rights reserved.