Class DbCollection
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fleetsoftwareupdate.model.FsuCollection
-
- com.oracle.bmc.fleetsoftwareupdate.model.DbCollection
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220528") public final class DbCollection extends FsuCollection
‘DB’ type Exadata Fleet Update Collection details.
Note: Objects should always be created or deserialized using theDbCollection.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 theDbCollection.Builder
, which maintain a set of all explicitly set fields calledDbCollection.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
DbCollection.Builder
-
Constructor Summary
Constructors Constructor Description DbCollection(String id, String displayName, CollectionServiceTypes serviceType, String compartmentId, ActiveCycleDetails activeFsuCycle, Integer targetCount, Date timeCreated, Date timeUpdated, CollectionLifecycleStates lifecycleState, String lifecycleDetails, String lastCompletedFsuCycleId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DbSourceMajorVersions sourceMajorVersion, DbFleetDiscoveryDetails fleetDiscovery)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbCollection.Builder
builder()
Create a new builder.boolean
equals(Object o)
DbFleetDiscoveryDetails
getFleetDiscovery()
DbSourceMajorVersions
getSourceMajorVersion()
Database Major Version of targets to be included in the Exadata Fleet Update Collection.int
hashCode()
DbCollection.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.fleetsoftwareupdate.model.FsuCollection
getActiveFsuCycle, getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLastCompletedFsuCycleId, getLifecycleDetails, getLifecycleState, getServiceType, getSystemTags, getTargetCount, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DbCollection
@Deprecated public DbCollection(String id, String displayName, CollectionServiceTypes serviceType, String compartmentId, ActiveCycleDetails activeFsuCycle, Integer targetCount, Date timeCreated, Date timeUpdated, CollectionLifecycleStates lifecycleState, String lifecycleDetails, String lastCompletedFsuCycleId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DbSourceMajorVersions sourceMajorVersion, DbFleetDiscoveryDetails fleetDiscovery)
Deprecated.
-
-
Method Detail
-
builder
public static DbCollection.Builder builder()
Create a new builder.
-
toBuilder
public DbCollection.Builder toBuilder()
-
getSourceMajorVersion
public DbSourceMajorVersions getSourceMajorVersion()
Database Major Version of targets to be included in the Exadata Fleet Update Collection.https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.
- Returns:
- the value
-
getFleetDiscovery
public DbFleetDiscoveryDetails getFleetDiscovery()
-
toString
public String toString()
- Overrides:
toString
in classFsuCollection
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classFsuCollection
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classFsuCollection
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFsuCollection
-
-