@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 the ManageModuleStreamsOnManagedInstanceDetails.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 called ManageModuleStreamsOnManagedInstanceDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
ManageModuleStreamsOnManagedInstanceDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ManageModuleStreamsOnManagedInstanceDetails(Boolean isDryRun,
List<ModuleStreamDetails> enable,
List<ModuleStreamDetails> disable,
List<ModuleStreamProfileDetails> install,
List<ModuleStreamProfileDetails> remove,
WorkRequestDetails workRequestDetails)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isDryRun","enable","disable","install","remove","workRequestDetails"}) public ManageModuleStreamsOnManagedInstanceDetails(Boolean isDryRun, List<ModuleStreamDetails> enable, List<ModuleStreamDetails> disable, List<ModuleStreamProfileDetails> install, List<ModuleStreamProfileDetails> remove, WorkRequestDetails workRequestDetails)
public static ManageModuleStreamsOnManagedInstanceDetails.Builder builder()
Create a new builder.
public ManageModuleStreamsOnManagedInstanceDetails.Builder toBuilder()
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.
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.
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.
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.
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.
public WorkRequestDetails getWorkRequestDetails()
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–2024. All rights reserved.