Class VendorSoftwareSource
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.SoftwareSource
-
- com.oracle.bmc.osmanagementhub.model.VendorSoftwareSource
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class VendorSoftwareSource extends SoftwareSourceThe object that defines a vendor software source.A software source is a collection of packages. For more information, see Managing Software Sources.
Note: Objects should always be created or deserialized using theVendorSoftwareSource.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 theVendorSoftwareSource.Builder, which maintain a set of all explicitly set fields calledVendorSoftwareSource.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 Summary
Nested Classes Modifier and Type Class Description static classVendorSoftwareSource.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.osmanagementhub.model.SoftwareSource
SoftwareSource.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description VendorSoftwareSource(String id, String compartmentId, String displayName, Date timeCreated, String description, Availability availability, Availability availabilityAtOci, String repoId, OsFamily osFamily, ArchType archType, SoftwareSource.LifecycleState lifecycleState, Long packageCount, String url, ChecksumType checksumType, String gpgKeyUrl, String gpgKeyId, String gpgKeyFingerprint, Double size, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, VendorName vendorName, String originSoftwareSourceId, Boolean isMandatoryForAutonomousLinux)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VendorSoftwareSource.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsMandatoryForAutonomousLinux()Indicates whether the software source is required for the Autonomous Linux service.StringgetOriginSoftwareSourceId()The OCID of the vendor software source in the root compartment.VendorNamegetVendorName()Name of the vendor providing the software source.inthashCode()VendorSoftwareSource.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.osmanagementhub.model.SoftwareSource
getArchType, getAvailability, getAvailabilityAtOci, getChecksumType, getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getGpgKeyFingerprint, getGpgKeyId, getGpgKeyUrl, getId, getLifecycleState, getOsFamily, getPackageCount, getRepoId, getSize, getSystemTags, getTimeCreated, getUrl
-
-
-
-
Constructor Detail
-
VendorSoftwareSource
@Deprecated public VendorSoftwareSource(String id, String compartmentId, String displayName, Date timeCreated, String description, Availability availability, Availability availabilityAtOci, String repoId, OsFamily osFamily, ArchType archType, SoftwareSource.LifecycleState lifecycleState, Long packageCount, String url, ChecksumType checksumType, String gpgKeyUrl, String gpgKeyId, String gpgKeyFingerprint, Double size, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, VendorName vendorName, String originSoftwareSourceId, Boolean isMandatoryForAutonomousLinux)
Deprecated.
-
-
Method Detail
-
builder
public static VendorSoftwareSource.Builder builder()
Create a new builder.
-
toBuilder
public VendorSoftwareSource.Builder toBuilder()
-
getVendorName
public VendorName getVendorName()
Name of the vendor providing the software source.- Returns:
- the value
-
getOriginSoftwareSourceId
public String getOriginSoftwareSourceId()
The OCID of the vendor software source in the root compartment.This property applies only to replicated vendor software sources.
- Returns:
- the value
-
getIsMandatoryForAutonomousLinux
public Boolean getIsMandatoryForAutonomousLinux()
Indicates whether the software source is required for the Autonomous Linux service.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classSoftwareSource
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classSoftwareSource- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSoftwareSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSoftwareSource
-
-