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