Package com.oracle.bmc.wlms.model
Class Patch
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.wlms.model.Patch
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20241101") public final class Patch extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA WebLogic patch.
Note: Objects should always be created or deserialized using thePatch.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 thePatch.Builder, which maintain a set of all explicitly set fields calledPatch.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 classPatch.Builderstatic classPatch.MiddlewareType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Patch.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDescription()The description of the WebLogic patch.StringgetDisplayName()The name of the WebLogic patch.StringgetId()The ID of the WebLogic patch.List<Patch.MiddlewareType>getMiddlewareType()The type of middleware for which this patch is applicable.StringgetOsArch()The operating system architecture for which the patch can be applied.StringgetWeblogicVersion()The WebLogic version for this patch.inthashCode()Patch.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Patch
@Deprecated @ConstructorProperties({"id","displayName","description","weblogicVersion","middlewareType","osArch"}) public Patch(String id, String displayName, String description, String weblogicVersion, List<Patch.MiddlewareType> middlewareType, String osArch)
Deprecated.
-
-
Method Detail
-
builder
public static Patch.Builder builder()
Create a new builder.
-
toBuilder
public Patch.Builder toBuilder()
-
getId
public String getId()
The ID of the WebLogic patch.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The name of the WebLogic patch.- Returns:
- the value
-
getDescription
public String getDescription()
The description of the WebLogic patch.- Returns:
- the value
-
getWeblogicVersion
public String getWeblogicVersion()
The WebLogic version for this patch.The patch can be installed to domains with this version.
- Returns:
- the value
-
getMiddlewareType
public List<Patch.MiddlewareType> getMiddlewareType()
The type of middleware for which this patch is applicable.A patch can be applicable to more than one type of middleware.
- Returns:
- the value
-
getOsArch
public String getOsArch()
The operating system architecture for which the patch can be applied.- 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
-
-