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 SummaryNested Classes Modifier and Type Class Description static classInstallationSite.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll 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- 
builderpublic static InstallationSite.Builder builder() Create a new builder.
 - 
toBuilderpublic InstallationSite.Builder toBuilder() 
 - 
getInstallationKeypublic String getInstallationKey() The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.- Returns:
- the value
 
 - 
getManagedInstanceIdpublic String getManagedInstanceId() The OCID of the related managed instance.- Returns:
- the value
 
 - 
getJrepublic JavaRuntimeId getJre() 
 - 
getPathpublic String getPath() The file system path of the installation.- Returns:
- the value
 
 - 
getOperatingSystempublic OperatingSystem getOperatingSystem() 
 - 
getApproximateApplicationCountpublic Integer getApproximateApplicationCount() The approximate count of applications running on this installation- Returns:
- the value
 
 - 
getTimeLastSeenpublic 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
 
 - 
getBlocklistpublic List<BlocklistEntry> getBlocklist() The list of operations that are blocklisted.- Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() The lifecycle state of the installation site.- Returns:
- the value
 
 - 
getManagedInstanceTypepublic ManagedInstanceType getManagedInstanceType() The type of the source of events.- Returns:
- the value
 
 - 
getHostnamepublic String getHostname() The hostname of the managed instance (if applicable).- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-