Class InventoryResourceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.InventoryResourceSummary.Builder
-
- Enclosing class:
- InventoryResourceSummary
public static class InventoryResourceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InventoryResourceSummary.BuilderavailabilityDomain(String availabilityDomain)Availability Domain of the resource.InventoryResourceSummarybuild()InventoryResourceSummary.BuildercompartmentId(String compartmentId)OCID of the compartment to which the resource belongs to.InventoryResourceSummary.Buildercopy(InventoryResourceSummary model)InventoryResourceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.InventoryResourceSummary.BuilderdisplayName(String displayName)A user-friendly name.InventoryResourceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.InventoryResourceSummary.Builderid(String id)The OCID of the resource.InventoryResourceSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.InventoryResourceSummary.BuilderlifecycleState(String lifecycleState)The current state of the Resource.InventoryResourceSummary.BuilderresourceCompartmentId(String resourceCompartmentId)Compartment Id of the resource.InventoryResourceSummary.BuilderresourceRegion(String resourceRegion)The region the resource belongs to.InventoryResourceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.InventoryResourceSummary.Buildertype(String type)Type of the Resource.
-
-
-
Method Detail
-
id
public InventoryResourceSummary.Builder id(String id)
The OCID of the resource.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public InventoryResourceSummary.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public 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
- Parameters:
displayName- the value to set- Returns:
- this builder
-
type
public InventoryResourceSummary.Builder type(String type)
Type of the Resource.- Parameters:
type- the value to set- Returns:
- this builder
-
resourceCompartmentId
public InventoryResourceSummary.Builder resourceCompartmentId(String resourceCompartmentId)
Compartment Id of the resource.- Parameters:
resourceCompartmentId- the value to set- Returns:
- this builder
-
availabilityDomain
public InventoryResourceSummary.Builder availabilityDomain(String availabilityDomain)
Availability Domain of the resource.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
resourceRegion
public InventoryResourceSummary.Builder resourceRegion(String resourceRegion)
The region the resource belongs to.- Parameters:
resourceRegion- the value to set- Returns:
- this builder
-
lifecycleState
public InventoryResourceSummary.Builder lifecycleState(String lifecycleState)
The current state of the Resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public InventoryResourceSummary build()
-
copy
public InventoryResourceSummary.Builder copy(InventoryResourceSummary model)
-
-