Class UpdateModuleStreamDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.UpdateModuleStreamDetails.Builder
-
- Enclosing class:
- UpdateModuleStreamDetails
public static class UpdateModuleStreamDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateModuleStreamDetails
build()
UpdateModuleStreamDetails.Builder
copy(UpdateModuleStreamDetails model)
UpdateModuleStreamDetails.Builder
isDefault(Boolean isDefault)
Indicates if the module stream is the defaultUpdateModuleStreamDetails.Builder
profiles(List<UpdateModuleStreamProfileDetails> profiles)
The profiles of the streamUpdateModuleStreamDetails.Builder
softwareSourceName(String softwareSourceName)
The name of the software source that publishes this stream.UpdateModuleStreamDetails.Builder
softwareSourceUrl(String softwareSourceUrl)
The URL of the software source that publishes this stream.UpdateModuleStreamDetails.Builder
status(UpdateModuleStreamDetails.Status status)
The status of the streamUpdateModuleStreamDetails.Builder
streamName(String streamName)
The name of the stream of the parent moduleUpdateModuleStreamDetails.Builder
timeModified(Date timeModified)
The date and time of the last status change for this object, as described in RFC 3339, section 14.29.
-
-
-
Method Detail
-
streamName
public UpdateModuleStreamDetails.Builder streamName(String streamName)
The name of the stream of the parent module- Parameters:
streamName
- the value to set- Returns:
- this builder
-
status
public UpdateModuleStreamDetails.Builder status(UpdateModuleStreamDetails.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
-
timeModified
public UpdateModuleStreamDetails.Builder timeModified(Date timeModified)
The date and time of the last status change for this object, as described in RFC 3339, section 14.29.- Parameters:
timeModified
- the value to set- Returns:
- this builder
-
softwareSourceName
public UpdateModuleStreamDetails.Builder softwareSourceName(String softwareSourceName)
The name of the software source that publishes this stream.- Parameters:
softwareSourceName
- the value to set- Returns:
- this builder
-
softwareSourceUrl
public UpdateModuleStreamDetails.Builder softwareSourceUrl(String softwareSourceUrl)
The URL of the software source that publishes this stream.- Parameters:
softwareSourceUrl
- the value to set- Returns:
- this builder
-
isDefault
public UpdateModuleStreamDetails.Builder isDefault(Boolean isDefault)
Indicates if the module stream is the default- Parameters:
isDefault
- the value to set- Returns:
- this builder
-
profiles
public UpdateModuleStreamDetails.Builder profiles(List<UpdateModuleStreamProfileDetails> profiles)
The profiles of the stream- Parameters:
profiles
- the value to set- Returns:
- this builder
-
build
public UpdateModuleStreamDetails build()
-
copy
public UpdateModuleStreamDetails.Builder copy(UpdateModuleStreamDetails model)
-
-