Class ModuleStreamProfile.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.ModuleStreamProfile.Builder
-
- Enclosing class:
- ModuleStreamProfile
public static class ModuleStreamProfile.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModuleStreamProfile
build()
ModuleStreamProfile.Builder
copy(ModuleStreamProfile model)
ModuleStreamProfile.Builder
description(String description)
A description of the contents of the module stream profileModuleStreamProfile.Builder
isDefault(Boolean isDefault)
Indicates if this profile is the default for its module stream.ModuleStreamProfile.Builder
moduleName(String moduleName)
The name of the module that contains the stream profileModuleStreamProfile.Builder
packages(List<String> packages)
A list of packages that constitute the profile.ModuleStreamProfile.Builder
profileName(String profileName)
The name of the profileModuleStreamProfile.Builder
streamName(String streamName)
The name of the stream that contains the profile
-
-
-
Method Detail
-
moduleName
public ModuleStreamProfile.Builder moduleName(String moduleName)
The name of the module that contains the stream profile- Parameters:
moduleName
- the value to set- Returns:
- this builder
-
streamName
public ModuleStreamProfile.Builder streamName(String streamName)
The name of the stream that contains the profile- Parameters:
streamName
- the value to set- Returns:
- this builder
-
profileName
public ModuleStreamProfile.Builder profileName(String profileName)
The name of the profile- Parameters:
profileName
- the value to set- Returns:
- this builder
-
isDefault
public ModuleStreamProfile.Builder isDefault(Boolean isDefault)
Indicates if this profile is the default for its module stream.- Parameters:
isDefault
- the value to set- Returns:
- this builder
-
description
public ModuleStreamProfile.Builder description(String description)
A description of the contents of the module stream profile- Parameters:
description
- the value to set- Returns:
- this builder
-
packages
public ModuleStreamProfile.Builder packages(List<String> packages)
A list of packages that constitute the profile.Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
- Parameters:
packages
- the value to set- Returns:
- this builder
-
build
public ModuleStreamProfile build()
-
copy
public ModuleStreamProfile.Builder copy(ModuleStreamProfile model)
-
-