Class CreateThirdPartySoftwareSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.CreateSoftwareSourceDetails
-
- com.oracle.bmc.osmanagementhub.model.CreateThirdPartySoftwareSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class CreateThirdPartySoftwareSourceDetails extends CreateSoftwareSourceDetailsProvides the information used to create a third-party software source.
Note: Objects should always be created or deserialized using theCreateThirdPartySoftwareSourceDetails.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 theCreateThirdPartySoftwareSourceDetails.Builder, which maintain a set of all explicitly set fields calledCreateThirdPartySoftwareSourceDetails.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 classCreateThirdPartySoftwareSourceDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateThirdPartySoftwareSourceDetails(String compartmentId, String displayName, String description, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, OsFamily osFamily, ArchType archType, String url, String gpgKeyUrl, 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 CreateThirdPartySoftwareSourceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAdvancedRepoOptions()Advanced repository options for the software sourceArchTypegetArchType()The architecture type supported by the third-party software source.StringgetGpgKeyUrl()URI of the GPG key for this software source.BooleangetIsGpgCheckEnabled()Whether signature verification should be done for the software source.BooleangetIsMirrorSyncAllowed()Whether this software source can be synced to a management stationBooleangetIsSslVerifyEnabled()Whether SSL validation needs to be turned onOsFamilygetOsFamily()The OS family for the third-party software source.StringgetUrl()URL for the third-party software source.inthashCode()CreateThirdPartySoftwareSourceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.osmanagementhub.model.CreateSoftwareSourceDetails
getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags
-
-
-
-
Constructor Detail
-
CreateThirdPartySoftwareSourceDetails
@Deprecated public CreateThirdPartySoftwareSourceDetails(String compartmentId, String displayName, String description, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, OsFamily osFamily, ArchType archType, String url, String gpgKeyUrl, Boolean isGpgCheckEnabled, Boolean isSslVerifyEnabled, String advancedRepoOptions, Boolean isMirrorSyncAllowed)
Deprecated.
-
-
Method Detail
-
builder
public static CreateThirdPartySoftwareSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateThirdPartySoftwareSourceDetails.Builder toBuilder()
-
getOsFamily
public OsFamily getOsFamily()
The OS family for the third-party software source.- Returns:
- the value
-
getArchType
public ArchType getArchType()
The architecture type supported by the third-party software source.- Returns:
- the value
-
getUrl
public String getUrl()
URL for the third-party software source.- Returns:
- the value
-
getGpgKeyUrl
public String getGpgKeyUrl()
URI of the GPG key for this software source.- Returns:
- the value
-
getIsGpgCheckEnabled
public Boolean getIsGpgCheckEnabled()
Whether signature verification should be done for the software source.- Returns:
- the value
-
getIsSslVerifyEnabled
public Boolean getIsSslVerifyEnabled()
Whether SSL validation needs to be turned on- Returns:
- the value
-
getAdvancedRepoOptions
public String getAdvancedRepoOptions()
Advanced repository options for the software source- Returns:
- the value
-
getIsMirrorSyncAllowed
public Boolean getIsMirrorSyncAllowed()
Whether this software source can be synced to a management station- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateSoftwareSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateSoftwareSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateSoftwareSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateSoftwareSourceDetails
-
-