Class PrivateSoftwareSource
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.SoftwareSource
-
- com.oracle.bmc.osmanagementhub.model.PrivateSoftwareSource
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class PrivateSoftwareSource extends SoftwareSource
The object that defines a private 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 thePrivateSoftwareSource.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 thePrivateSoftwareSource.Builder
, which maintain a set of all explicitly set fields calledPrivateSoftwareSource.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 class
PrivateSoftwareSource.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.osmanagementhub.model.SoftwareSource
SoftwareSource.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description PrivateSoftwareSource(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, Boolean isGpgCheckEnabled, Boolean isSslVerifyEnabled, String advancedRepoOptions, Boolean isMirrorSyncAllowed)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrivateSoftwareSource.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAdvancedRepoOptions()
Advanced repository options for the software sourceBoolean
getIsGpgCheckEnabled()
Indicates if GPG verification is enabled for the software source.Boolean
getIsMirrorSyncAllowed()
Indicates if this software source can be mirrored to a management station.Boolean
getIsSslVerifyEnabled()
Indicates if SSL validation is enabled for the software source.int
hashCode()
PrivateSoftwareSource.Builder
toBuilder()
String
toString()
String
toString(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
-
PrivateSoftwareSource
@Deprecated public PrivateSoftwareSource(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, Boolean isGpgCheckEnabled, Boolean isSslVerifyEnabled, String advancedRepoOptions, Boolean isMirrorSyncAllowed)
Deprecated.
-
-
Method Detail
-
builder
public static PrivateSoftwareSource.Builder builder()
Create a new builder.
-
toBuilder
public PrivateSoftwareSource.Builder toBuilder()
-
getIsGpgCheckEnabled
public Boolean getIsGpgCheckEnabled()
Indicates if GPG verification is enabled for the software source.- Returns:
- the value
-
getIsSslVerifyEnabled
public Boolean getIsSslVerifyEnabled()
Indicates if SSL validation is enabled for the software source.- Returns:
- the value
-
getAdvancedRepoOptions
public String getAdvancedRepoOptions()
Advanced repository options for the software source- Returns:
- the value
-
getIsMirrorSyncAllowed
public Boolean getIsMirrorSyncAllowed()
Indicates if this software source can be mirrored to a management station.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classSoftwareSource
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classSoftwareSource
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSoftwareSource
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSoftwareSource
-
-