@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class CreateVersionedCustomSoftwareSourceDetails extends CreateSoftwareSourceDetails
Provides the information used to create a versioned custom software source.
Note: Objects should always be created or deserialized using the CreateVersionedCustomSoftwareSourceDetails.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 the CreateVersionedCustomSoftwareSourceDetails.Builder
, which maintain a
set of all explicitly set fields called CreateVersionedCustomSoftwareSourceDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateVersionedCustomSoftwareSourceDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateVersionedCustomSoftwareSourceDetails(String compartmentId,
String displayName,
String description,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
List<Id> vendorSoftwareSources,
CustomSoftwareSourceFilter customSoftwareSourceFilter,
String softwareSourceVersion,
Boolean isAutoResolveDependencies,
Boolean isCreatedFromPackageList,
List<String> packages)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateVersionedCustomSoftwareSourceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
CustomSoftwareSourceFilter |
getCustomSoftwareSourceFilter() |
Boolean |
getIsAutoResolveDependencies()
Indicates whether the service should automatically resolve package dependencies when
including specific packages in the software source.
|
Boolean |
getIsCreatedFromPackageList()
Indicates whether the service should create the software source from a list of packages
provided by the user.
|
List<String> |
getPackages()
A property used for compatibility only.
|
String |
getSoftwareSourceVersion()
The version to assign to this custom software source.
|
List<Id> |
getVendorSoftwareSources()
List of vendor software sources.
|
int |
hashCode() |
CreateVersionedCustomSoftwareSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateVersionedCustomSoftwareSourceDetails(String compartmentId, String displayName, String description, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<Id> vendorSoftwareSources, CustomSoftwareSourceFilter customSoftwareSourceFilter, String softwareSourceVersion, Boolean isAutoResolveDependencies, Boolean isCreatedFromPackageList, List<String> packages)
public static CreateVersionedCustomSoftwareSourceDetails.Builder builder()
Create a new builder.
public CreateVersionedCustomSoftwareSourceDetails.Builder toBuilder()
public List<Id> getVendorSoftwareSources()
List of vendor software sources.
public CustomSoftwareSourceFilter getCustomSoftwareSourceFilter()
public String getSoftwareSourceVersion()
The version to assign to this custom software source.
public Boolean getIsAutoResolveDependencies()
Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
public Boolean getIsCreatedFromPackageList()
Indicates whether the service should create the software source from a list of packages provided by the user.
public List<String> getPackages()
A property used for compatibility only. It doesn’t provide a complete list of packages. See
addPackagesToSoftwareSourceDetails
for providing the list of packages used to create the
software source when isCreatedFromPackageList is set to true.
public String toString()
toString
in class CreateSoftwareSourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateSoftwareSourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateSoftwareSourceDetails
public int hashCode()
hashCode
in class CreateSoftwareSourceDetails
Copyright © 2016–2024. All rights reserved.