Class ModuleStream
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.osmanagementhub.model.ModuleStream
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class ModuleStream extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn object that defines a module stream provided by a software source.
 Note: Objects should always be created or deserialized using theModuleStream.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 theModuleStream.Builder, which maintain a set of all explicitly set fields calledModuleStream.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classModuleStream.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModuleStream.Builderbuilder()Create a new builder.booleanequals(Object o)ArchTypegetArchType()The architecture for which the packages in this module stream were built.StringgetDescription()A description of the contents of the module stream.BooleangetIsDefault()Indicates if this stream is the default for its module.BooleangetIsLatest()Indicates whether this module stream is the latest.StringgetModuleName()The name of the module that contains the stream.StringgetName()The name of the stream.List<String>getPackages()A list of packages that are contained by the stream.List<String>getProfiles()A list of profiles that are part of the stream.StringgetSoftwareSourceId()The OCID of the software source that provides this module stream.inthashCode()ModuleStream.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ModuleStream@Deprecated @ConstructorProperties({"moduleName","name","isDefault","softwareSourceId","archType","description","profiles","packages","isLatest"}) public ModuleStream(String moduleName, String name, Boolean isDefault, String softwareSourceId, ArchType archType, String description, List<String> profiles, List<String> packages, Boolean isLatest) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ModuleStream.Builder builder() Create a new builder.
 - 
toBuilderpublic ModuleStream.Builder toBuilder() 
 - 
getModuleNamepublic String getModuleName() The name of the module that contains the stream.- Returns:
- the value
 
 - 
getNamepublic String getName() The name of the stream.- Returns:
- the value
 
 - 
getIsDefaultpublic Boolean getIsDefault() Indicates if this stream is the default for its module.- Returns:
- the value
 
 - 
getSoftwareSourceIdpublic String getSoftwareSourceId() The OCID of the software source that provides this module stream.- Returns:
- the value
 
 - 
getArchTypepublic ArchType getArchType() The architecture for which the packages in this module stream were built.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() A description of the contents of the module stream.- Returns:
- the value
 
 - 
getProfilespublic List<String> getProfiles() A list of profiles that are part of the stream.Each element in the list is the name of a profile. The name is suitable to use as an argument to other OS Management Hub APIs that interact directly with module stream profiles. However, it is not URL encoded. - Returns:
- the value
 
 - 
getPackagespublic List<String> getPackages() A list of packages that are contained by the stream.Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management Hub APIs that interact directly with packages. - Returns:
- the value
 
 - 
getIsLatestpublic Boolean getIsLatest() Indicates whether this module stream is the latest.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-