@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class JavaRuntimeId extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The essential properties to identify a Java Runtime.
Note: Objects should always be created or deserialized using the JavaRuntimeId.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 the JavaRuntimeId.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
JavaRuntimeId.Builder |
Constructor and Description |
---|
JavaRuntimeId(String version,
String vendor,
String distribution,
String jreKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JavaRuntimeId.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDistribution()
The distribution of a Java Runtime is the name of the lineage of product to which it belongs,
for example Java(TM) SE Runtime Environment.
|
String |
getJreKey()
The unique identifier for a Java Runtime.
|
String |
getVendor()
The vendor of the Java Runtime.
|
String |
getVersion()
The version of the Java Runtime.
|
int |
hashCode() |
JavaRuntimeId.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"version","vendor","distribution","jreKey"}) public JavaRuntimeId(String version, String vendor, String distribution, String jreKey)
public static JavaRuntimeId.Builder builder()
Create a new builder.
public JavaRuntimeId.Builder toBuilder()
public String getVersion()
The version of the Java Runtime.
public String getVendor()
The vendor of the Java Runtime.
public String getDistribution()
The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example Java(TM) SE Runtime Environment.
public String getJreKey()
The unique identifier for a Java Runtime.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.