Package com.oracle.bmc.jms.model
Class NewInstallationSite
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.NewInstallationSite
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class NewInstallationSite extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties of a new Java installation site.
Note: Objects should always be created or deserialized using theNewInstallationSite.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 theNewInstallationSite.Builder
, which maintain a set of all explicitly set fields calledNewInstallationSite.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 class
NewInstallationSite.Builder
-
Constructor Summary
Constructors Constructor Description NewInstallationSite(String managedInstanceId, String releaseVersion, ArtifactContentType artifactContentType, String installationPath, Boolean headlessMode, Boolean forceInstall)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewInstallationSite.Builder
builder()
Create a new builder.boolean
equals(Object o)
ArtifactContentType
getArtifactContentType()
Artifact content type for the Java version.Boolean
getForceInstall()
Forces the installation request even if a more recent release is already present in the host.Boolean
getHeadlessMode()
Flag to install headless or headful Java installation.String
getInstallationPath()
Custom path to install new Java installation site.String
getManagedInstanceId()
The OCID of the related managed instance.String
getReleaseVersion()
The release version of the Java Runtime.int
hashCode()
NewInstallationSite.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
NewInstallationSite
@Deprecated @ConstructorProperties({"managedInstanceId","releaseVersion","artifactContentType","installationPath","headlessMode","forceInstall"}) public NewInstallationSite(String managedInstanceId, String releaseVersion, ArtifactContentType artifactContentType, String installationPath, Boolean headlessMode, Boolean forceInstall)
Deprecated.
-
-
Method Detail
-
builder
public static NewInstallationSite.Builder builder()
Create a new builder.
-
toBuilder
public NewInstallationSite.Builder toBuilder()
-
getManagedInstanceId
public String getManagedInstanceId()
The OCID of the related managed instance.- Returns:
- the value
-
getReleaseVersion
public String getReleaseVersion()
The release version of the Java Runtime.- Returns:
- the value
-
getArtifactContentType
public ArtifactContentType getArtifactContentType()
Artifact content type for the Java version.- Returns:
- the value
-
getInstallationPath
public String getInstallationPath()
Custom path to install new Java installation site.- Returns:
- the value
-
getHeadlessMode
public Boolean getHeadlessMode()
Flag to install headless or headful Java installation.Only valid for Oracle Linux in OCI.
- Returns:
- the value
-
getForceInstall
public Boolean getForceInstall()
Forces the installation request even if a more recent release is already present in the host.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-