Class InventoryRecord.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.InventoryRecord.Builder
-
- Enclosing class:
- InventoryRecord
public static class InventoryRecord.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InventoryRecord.Builderarchitecture(String architecture)Architecture of the resource associated with the targetInventoryRecordbuild()InventoryRecord.BuildercompartmentId(String compartmentId)OCID of the compartment to which the resource belongs to.InventoryRecord.Buildercomponents(List<InventoryRecordComponent> components)List of target componentsInventoryRecord.Buildercopy(InventoryRecord model)InventoryRecord.BuilderinstalledPatches(List<InventoryRecordPatchDetails> installedPatches)List of details on the patches currently installed on the targetInventoryRecord.BuilderlifecycleState(InventoryRecord.LifecycleState lifecycleState)The current state of the Inventory target.InventoryRecord.BuilderosType(String osType)OS installed on the resource associated with the targetInventoryRecord.Builderproperties(List<InventoryRecordProperty> properties)List of target propertiesInventoryRecord.BuildertargetId(String targetId)The OCID of the Inventory target.InventoryRecord.BuildertargetName(String targetName)Name of the targetInventoryRecord.BuildertargetProductId(String targetProductId)OCID of the product installed at the target pathInventoryRecord.BuildertargetProductName(String targetProductName)Name of the product installed at the target pathInventoryRecord.BuildertargetResourceId(String targetResourceId)OCID of the resource associated with the targetInventoryRecord.BuildertargetResourceName(String targetResourceName)Name of the resource associated with the targetInventoryRecord.BuildertimeCreated(Date timeCreated)The time this resource was created.InventoryRecord.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.InventoryRecord.Builderversion(String version)Version of the product on the target
-
-
-
Method Detail
-
targetId
public InventoryRecord.Builder targetId(String targetId)
The OCID of the Inventory target.- Parameters:
targetId- the value to set- Returns:
- this builder
-
targetName
public InventoryRecord.Builder targetName(String targetName)
Name of the target- Parameters:
targetName- the value to set- Returns:
- this builder
-
version
public InventoryRecord.Builder version(String version)
Version of the product on the target- Parameters:
version- the value to set- Returns:
- this builder
-
targetResourceId
public InventoryRecord.Builder targetResourceId(String targetResourceId)
OCID of the resource associated with the target- Parameters:
targetResourceId- the value to set- Returns:
- this builder
-
targetResourceName
public InventoryRecord.Builder targetResourceName(String targetResourceName)
Name of the resource associated with the target- Parameters:
targetResourceName- the value to set- Returns:
- this builder
-
compartmentId
public InventoryRecord.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
targetProductId
public InventoryRecord.Builder targetProductId(String targetProductId)
OCID of the product installed at the target path- Parameters:
targetProductId- the value to set- Returns:
- this builder
-
targetProductName
public InventoryRecord.Builder targetProductName(String targetProductName)
Name of the product installed at the target path- Parameters:
targetProductName- the value to set- Returns:
- this builder
-
osType
public InventoryRecord.Builder osType(String osType)
OS installed on the resource associated with the target- Parameters:
osType- the value to set- Returns:
- this builder
-
architecture
public InventoryRecord.Builder architecture(String architecture)
Architecture of the resource associated with the target- Parameters:
architecture- the value to set- Returns:
- this builder
-
properties
public InventoryRecord.Builder properties(List<InventoryRecordProperty> properties)
List of target properties- Parameters:
properties- the value to set- Returns:
- this builder
-
components
public InventoryRecord.Builder components(List<InventoryRecordComponent> components)
List of target components- Parameters:
components- the value to set- Returns:
- this builder
-
installedPatches
public InventoryRecord.Builder installedPatches(List<InventoryRecordPatchDetails> installedPatches)
List of details on the patches currently installed on the target- Parameters:
installedPatches- the value to set- Returns:
- this builder
-
timeCreated
public InventoryRecord.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public InventoryRecord.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public InventoryRecord.Builder lifecycleState(InventoryRecord.LifecycleState lifecycleState)
The current state of the Inventory target.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
build
public InventoryRecord build()
-
copy
public InventoryRecord.Builder copy(InventoryRecord model)
-
-