public static class InventoryResourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public InventoryResourceSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic InventoryResourceSummary.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic InventoryResourceSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic InventoryResourceSummary.Builder type(String type)
Type of the Resource.
type
- the value to setpublic InventoryResourceSummary.Builder resourceCompartmentId(String resourceCompartmentId)
Compartment Id of the resource.
resourceCompartmentId
- the value to setpublic InventoryResourceSummary.Builder availabilityDomain(String availabilityDomain)
Availability Domain of the resource.
availabilityDomain
- the value to setpublic InventoryResourceSummary.Builder resourceRegion(String resourceRegion)
The region the resource belongs to.
resourceRegion
- the value to setpublic InventoryResourceSummary.Builder lifecycleState(String lifecycleState)
The current state of the Resource.
lifecycleState
- the value to setpublic InventoryResourceSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic InventoryResourceSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic InventoryResourceSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic InventoryResourceSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic InventoryResourceSummary build()
public InventoryResourceSummary.Builder copy(InventoryResourceSummary model)
Copyright © 2016–2024. All rights reserved.