Class ModuleStreamOnManagedInstanceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.ModuleStreamOnManagedInstanceSummary.Builder
-
- Enclosing class:
- ModuleStreamOnManagedInstanceSummary
public static class ModuleStreamOnManagedInstanceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
moduleName
public ModuleStreamOnManagedInstanceSummary.Builder moduleName(String moduleName)
The name of the module that contains the stream.- Parameters:
moduleName
- the value to set- Returns:
- this builder
-
streamName
public ModuleStreamOnManagedInstanceSummary.Builder streamName(String streamName)
The name of the stream.- Parameters:
streamName
- the value to set- Returns:
- this builder
-
status
public ModuleStreamOnManagedInstanceSummary.Builder status(ModuleStreamOnManagedInstanceSummary.Status status)
The status of the streamA stream with the "ENABLED" status can be used as a source for installing profiles. Streams with this status are also "ACTIVE".
A stream with the "DISABLED" status cannot be the source for installing profiles. To install profiles and packages from this stream, it must be enabled.
A stream with the "ACTIVE" status can be used as a source for installing profiles. The packages that comprise the stream are also used when a matching package is installed directly. In general, a stream can have this status if it is the default stream for the module and no stream has been explicitly enabled.
- Parameters:
status
- the value to set- Returns:
- this builder
-
profiles
public ModuleStreamOnManagedInstanceSummary.Builder profiles(List<ModuleStreamProfileOnManagedInstanceSummary> profiles)
The set of profiles that the module stream contains.- Parameters:
profiles
- the value to set- Returns:
- this builder
-
softwareSourceId
public ModuleStreamOnManagedInstanceSummary.Builder softwareSourceId(String softwareSourceId)
The OCID of the software source that provides this module stream.- Parameters:
softwareSourceId
- the value to set- Returns:
- this builder
-
timeModified
public ModuleStreamOnManagedInstanceSummary.Builder timeModified(Date timeModified)
The date and time of the last status change for this profile, as described in RFC 3339, section 14.29.- Parameters:
timeModified
- the value to set- Returns:
- this builder
-
build
public ModuleStreamOnManagedInstanceSummary build()
-
copy
public ModuleStreamOnManagedInstanceSummary.Builder copy(ModuleStreamOnManagedInstanceSummary model)
-
-