Class 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 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).

    • Method Detail

      • 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
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel