Package com.oracle.bmc.datasafe.model
Class TargetOverrideCollection
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.TargetOverrideCollection
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class TargetOverrideCollection extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Collection of target override summary.
Note: Objects should always be created or deserialized using theTargetOverrideCollection.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 theTargetOverrideCollection.Builder
, which maintain a set of all explicitly set fields calledTargetOverrideCollection.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
TargetOverrideCollection.Builder
-
Constructor Summary
Constructors Constructor Description TargetOverrideCollection(Integer targetsCount, Integer targetsOverridingCount, Integer targetsConformingCount, Integer targetsOverridingPaidUsageCount, Integer targetsOverridingOnlineMonthsCount, Integer targetsOverridingOfflineMonthsCount, List<TargetOverrideSummary> items)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetOverrideCollection.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<TargetOverrideSummary>
getItems()
Array of target database override summary.Integer
getTargetsConformingCount()
Number of target databases within the target database group that conform with the audit profile of the target database group.Integer
getTargetsCount()
Number of target databases within the target database group.Integer
getTargetsOverridingCount()
Number of target databases within the target database group that override the audit profile of the target database group.Integer
getTargetsOverridingOfflineMonthsCount()
Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.Integer
getTargetsOverridingOnlineMonthsCount()
Number of target databases within the group that override the online retention setting of the audit profile for the target database group.Integer
getTargetsOverridingPaidUsageCount()
Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.int
hashCode()
TargetOverrideCollection.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TargetOverrideCollection
@Deprecated @ConstructorProperties({"targetsCount","targetsOverridingCount","targetsConformingCount","targetsOverridingPaidUsageCount","targetsOverridingOnlineMonthsCount","targetsOverridingOfflineMonthsCount","items"}) public TargetOverrideCollection(Integer targetsCount, Integer targetsOverridingCount, Integer targetsConformingCount, Integer targetsOverridingPaidUsageCount, Integer targetsOverridingOnlineMonthsCount, Integer targetsOverridingOfflineMonthsCount, List<TargetOverrideSummary> items)
Deprecated.
-
-
Method Detail
-
builder
public static TargetOverrideCollection.Builder builder()
Create a new builder.
-
toBuilder
public TargetOverrideCollection.Builder toBuilder()
-
getTargetsCount
public Integer getTargetsCount()
Number of target databases within the target database group.- Returns:
- the value
-
getTargetsOverridingCount
public Integer getTargetsOverridingCount()
Number of target databases within the target database group that override the audit profile of the target database group.- Returns:
- the value
-
getTargetsConformingCount
public Integer getTargetsConformingCount()
Number of target databases within the target database group that conform with the audit profile of the target database group.- Returns:
- the value
-
getTargetsOverridingPaidUsageCount
public Integer getTargetsOverridingPaidUsageCount()
Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.- Returns:
- the value
-
getTargetsOverridingOnlineMonthsCount
public Integer getTargetsOverridingOnlineMonthsCount()
Number of target databases within the group that override the online retention setting of the audit profile for the target database group.- Returns:
- the value
-
getTargetsOverridingOfflineMonthsCount
public Integer getTargetsOverridingOfflineMonthsCount()
Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.- Returns:
- the value
-
getItems
public List<TargetOverrideSummary> getItems()
Array of target database override summary.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-