Class ManageModuleStreamsOnManagedInstanceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.ManageModuleStreamsOnManagedInstanceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class ManageModuleStreamsOnManagedInstanceDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The set of changes to make to the state of the modules, streams, and profiles on a managed instance
Note: Objects should always be created or deserialized using theManageModuleStreamsOnManagedInstanceDetails.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
ManageModuleStreamsOnManagedInstanceDetails.Builder
, which maintain a set of all explicitly set fields calledManageModuleStreamsOnManagedInstanceDetails.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
ManageModuleStreamsOnManagedInstanceDetails.Builder
-
Constructor Summary
Constructors Constructor Description ManageModuleStreamsOnManagedInstanceDetails(Boolean isDryRun, List<ModuleStreamDetails> enable, List<ModuleStreamDetails> disable, List<ModuleStreamProfileDetails> install, List<ModuleStreamProfileDetails> remove, WorkRequestDetails workRequestDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManageModuleStreamsOnManagedInstanceDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<ModuleStreamDetails>
getDisable()
The set of module streams to disable.List<ModuleStreamDetails>
getEnable()
The set of module streams to enable.List<ModuleStreamProfileDetails>
getInstall()
The set of module stream profiles to install.Boolean
getIsDryRun()
Indicates if this operation is a dry run or if the operation should be committed.List<ModuleStreamProfileDetails>
getRemove()
The set of module stream profiles to remove.WorkRequestDetails
getWorkRequestDetails()
int
hashCode()
ManageModuleStreamsOnManagedInstanceDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManageModuleStreamsOnManagedInstanceDetails
@Deprecated @ConstructorProperties({"isDryRun","enable","disable","install","remove","workRequestDetails"}) public ManageModuleStreamsOnManagedInstanceDetails(Boolean isDryRun, List<ModuleStreamDetails> enable, List<ModuleStreamDetails> disable, List<ModuleStreamProfileDetails> install, List<ModuleStreamProfileDetails> remove, WorkRequestDetails workRequestDetails)
Deprecated.
-
-
Method Detail
-
builder
public static ManageModuleStreamsOnManagedInstanceDetails.Builder builder()
Create a new builder.
-
toBuilder
public ManageModuleStreamsOnManagedInstanceDetails.Builder toBuilder()
-
getIsDryRun
public Boolean getIsDryRun()
Indicates if this operation is a dry run or if the operation should be committed.If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance. The default is false.
- Returns:
- the value
-
getEnable
public List<ModuleStreamDetails> getEnable()
The set of module streams to enable.If any streams of a module are already enabled, the service switches from the current stream to the new stream. Once complete, the streams will be in ‘ENABLED’ status.
- Returns:
- the value
-
getDisable
public List<ModuleStreamDetails> getDisable()
The set of module streams to disable.Any profiles that are installed for the module stream will be removed as part of the operation. Once complete, the streams will be in ‘DISABLED’ status.
- Returns:
- the value
-
getInstall
public List<ModuleStreamProfileDetails> getInstall()
The set of module stream profiles to install.Any packages that are part of the profile are installed on the managed instance. Once complete, the profile will be in ‘INSTALLED’ status. The operation will return an error if you attempt to install a profile from a disabled stream, unless enabling the new module stream is included in this operation.
- Returns:
- the value
-
getRemove
public List<ModuleStreamProfileDetails> getRemove()
The set of module stream profiles to remove.Once complete, the profile will be in ‘AVAILABLE’ status. The status of packages within the profile after the operation is complete is defined by the package manager on the managed instance group.
- Returns:
- the value
-
getWorkRequestDetails
public WorkRequestDetails getWorkRequestDetails()
-
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
-
-