Class InventoryRecordSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fleetappsmanagement.model.InventoryRecordSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public final class InventoryRecordSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary information about an inventory target.
Note: Objects should always be created or deserialized using theInventoryRecordSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theInventoryRecordSummary.Builder, which maintain a set of all explicitly set fields calledInventoryRecordSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInventoryRecordSummary.Builder
-
Constructor Summary
Constructors Constructor Description InventoryRecordSummary(String targetId, String targetName, String version, String targetResourceId, String targetResourceName, String compartmentId, String targetProductId, String targetProductName, String osType, String architecture, List<InventoryRecordProperty> properties, List<InventoryRecordComponent> components, List<InventoryRecordPatchDetails> installedPatches, Date timeCreated, Date timeUpdated, InventoryRecord.LifecycleState lifecycleState)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InventoryRecordSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetArchitecture()Architecture of the resource associated with the targetStringgetCompartmentId()OCID of the compartment to which the resource belongs to.List<InventoryRecordComponent>getComponents()List of target componentsList<InventoryRecordPatchDetails>getInstalledPatches()List of details on the patches currently installed on the targetInventoryRecord.LifecycleStategetLifecycleState()The current state of the Inventory target.StringgetOsType()OS installed on the resource associated with the targetList<InventoryRecordProperty>getProperties()List of target propertiesStringgetTargetId()The OCID of the Inventory target.StringgetTargetName()Name of the targetStringgetTargetProductId()OCID of the product installed at the target pathStringgetTargetProductName()Name of the product installed at the target pathStringgetTargetResourceId()OCID of the resource associated with the targetStringgetTargetResourceName()Name of the resource associated with the targetDategetTimeCreated()The time this resource was created.DategetTimeUpdated()The time this resource was last updated.StringgetVersion()Version of the product on the targetinthashCode()InventoryRecordSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
InventoryRecordSummary
@Deprecated @ConstructorProperties({"targetId","targetName","version","targetResourceId","targetResourceName","compartmentId","targetProductId","targetProductName","osType","architecture","properties","components","installedPatches","timeCreated","timeUpdated","lifecycleState"}) public InventoryRecordSummary(String targetId, String targetName, String version, String targetResourceId, String targetResourceName, String compartmentId, String targetProductId, String targetProductName, String osType, String architecture, List<InventoryRecordProperty> properties, List<InventoryRecordComponent> components, List<InventoryRecordPatchDetails> installedPatches, Date timeCreated, Date timeUpdated, InventoryRecord.LifecycleState lifecycleState)
Deprecated.
-
-
Method Detail
-
builder
public static InventoryRecordSummary.Builder builder()
Create a new builder.
-
toBuilder
public InventoryRecordSummary.Builder toBuilder()
-
getTargetId
public String getTargetId()
The OCID of the Inventory target.- Returns:
- the value
-
getTargetName
public String getTargetName()
Name of the target- Returns:
- the value
-
getVersion
public String getVersion()
Version of the product on the target- Returns:
- the value
-
getTargetResourceId
public String getTargetResourceId()
OCID of the resource associated with the target- Returns:
- the value
-
getTargetResourceName
public String getTargetResourceName()
Name of the resource associated with the target- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
OCID of the compartment to which the resource belongs to.- Returns:
- the value
-
getTargetProductId
public String getTargetProductId()
OCID of the product installed at the target path- Returns:
- the value
-
getTargetProductName
public String getTargetProductName()
Name of the product installed at the target path- Returns:
- the value
-
getOsType
public String getOsType()
OS installed on the resource associated with the target- Returns:
- the value
-
getArchitecture
public String getArchitecture()
Architecture of the resource associated with the target- Returns:
- the value
-
getProperties
public List<InventoryRecordProperty> getProperties()
List of target properties- Returns:
- the value
-
getComponents
public List<InventoryRecordComponent> getComponents()
List of target components- Returns:
- the value
-
getInstalledPatches
public List<InventoryRecordPatchDetails> getInstalledPatches()
List of details on the patches currently installed on the target- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time this resource was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time this resource was last updated.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getLifecycleState
public InventoryRecord.LifecycleState getLifecycleState()
The current state of the Inventory target.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-