Class InstallationSite
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.InstallationSite
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class InstallationSite extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInstallation site of a Java Runtime.An installation site is a Java Runtime installed at a specific path on a managed instance.
Note: Objects should always be created or deserialized using theInstallationSite.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 theInstallationSite.Builder, which maintain a set of all explicitly set fields calledInstallationSite.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 classInstallationSite.Builder
-
Constructor Summary
Constructors Constructor Description InstallationSite(String installationKey, String managedInstanceId, JavaRuntimeId jre, String path, OperatingSystem operatingSystem, Integer approximateApplicationCount, Date timeLastSeen, List<BlocklistEntry> blocklist, LifecycleState lifecycleState, ManagedInstanceType managedInstanceType, String hostname)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstallationSite.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetApproximateApplicationCount()The approximate count of applications running on this installationList<BlocklistEntry>getBlocklist()The list of operations that are blocklisted.StringgetHostname()The hostname of the managed instance (if applicable).StringgetInstallationKey()The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.JavaRuntimeIdgetJre()LifecycleStategetLifecycleState()The lifecycle state of the installation site.StringgetManagedInstanceId()The OCID of the related managed instance.ManagedInstanceTypegetManagedInstanceType()The type of the source of events.OperatingSystemgetOperatingSystem()StringgetPath()The file system path of the installation.DategetTimeLastSeen()The date and time the resource was last reported to JMS.inthashCode()InstallationSite.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
InstallationSite
@Deprecated @ConstructorProperties({"installationKey","managedInstanceId","jre","path","operatingSystem","approximateApplicationCount","timeLastSeen","blocklist","lifecycleState","managedInstanceType","hostname"}) public InstallationSite(String installationKey, String managedInstanceId, JavaRuntimeId jre, String path, OperatingSystem operatingSystem, Integer approximateApplicationCount, Date timeLastSeen, List<BlocklistEntry> blocklist, LifecycleState lifecycleState, ManagedInstanceType managedInstanceType, String hostname)
Deprecated.
-
-
Method Detail
-
builder
public static InstallationSite.Builder builder()
Create a new builder.
-
toBuilder
public InstallationSite.Builder toBuilder()
-
getInstallationKey
public String getInstallationKey()
The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.- Returns:
- the value
-
getManagedInstanceId
public String getManagedInstanceId()
The OCID of the related managed instance.- Returns:
- the value
-
getJre
public JavaRuntimeId getJre()
-
getPath
public String getPath()
The file system path of the installation.- Returns:
- the value
-
getOperatingSystem
public OperatingSystem getOperatingSystem()
-
getApproximateApplicationCount
public Integer getApproximateApplicationCount()
The approximate count of applications running on this installation- Returns:
- the value
-
getTimeLastSeen
public Date getTimeLastSeen()
The date and time the resource was last reported to JMS.This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.
- Returns:
- the value
-
getBlocklist
public List<BlocklistEntry> getBlocklist()
The list of operations that are blocklisted.- Returns:
- the value
-
getLifecycleState
public LifecycleState getLifecycleState()
The lifecycle state of the installation site.- Returns:
- the value
-
getManagedInstanceType
public ManagedInstanceType getManagedInstanceType()
The type of the source of events.- Returns:
- the value
-
getHostname
public String getHostname()
The hostname of the managed instance (if applicable).- 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
-
-