locks) {
this.__explicitlySet__.add("locks");
return this;
}
+ /**
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ * Example: {@code {"bar-key": "value"}}
+ *
+ * Avoid entering confidential information.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ * Example: {@code {"bar-key": "value"}}
+ *
+ * Avoid entering confidential information.
+ *
+ * @param freeformTags the value to set
+ * @return this builder
+ **/
+ public Builder freeformTags(java.util.Map freeformTags) {
+ this.freeformTags = freeformTags;
+ this.__explicitlySet__.add("freeformTags");
+ return this;
+ }
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ * Example: {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private java.util.Map> definedTags;
+
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ * Example: {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @param definedTags the value to set
+ * @return this builder
+ **/
+ public Builder definedTags(
+ java.util.Map> definedTags) {
+ this.definedTags = definedTags;
+ this.__explicitlySet__.add("definedTags");
+ return this;
+ }
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ * System tags can be viewed by users, but can only be created by the system.
+ *
+ * Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ * System tags can be viewed by users, but can only be created by the system.
+ *
+ * Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ *
+ * @param systemTags the value to set
+ * @return this builder
+ **/
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public SecurityPolicyCollection build() {
- SecurityPolicyCollection model = new SecurityPolicyCollection(this.items, this.locks);
+ SecurityPolicyCollection model =
+ new SecurityPolicyCollection(
+ this.items,
+ this.locks,
+ this.freeformTags,
+ this.definedTags,
+ this.systemTags);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -84,6 +174,15 @@ public Builder copy(SecurityPolicyCollection model) {
if (model.wasPropertyExplicitlySet("locks")) {
this.locks(model.getLocks());
}
+ if (model.wasPropertyExplicitlySet("freeformTags")) {
+ this.freeformTags(model.getFreeformTags());
+ }
+ if (model.wasPropertyExplicitlySet("definedTags")) {
+ this.definedTags(model.getDefinedTags());
+ }
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
return this;
}
}
@@ -127,6 +226,70 @@ public java.util.List getLocks() {
return locks;
}
+ /**
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ * Example: {@code {"bar-key": "value"}}
+ *
+ * Avoid entering confidential information.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private final java.util.Map freeformTags;
+
+ /**
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ * Example: {@code {"bar-key": "value"}}
+ *
+ * Avoid entering confidential information.
+ *
+ * @return the value
+ **/
+ public java.util.Map getFreeformTags() {
+ return freeformTags;
+ }
+
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ * Example: {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private final java.util.Map> definedTags;
+
+ /**
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ * Example: {@code {"foo-namespace": {"bar-key": "value"}}}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getDefinedTags() {
+ return definedTags;
+ }
+
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ * System tags can be viewed by users, but can only be created by the system.
+ *
+ * Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private final java.util.Map> systemTags;
+
+ /**
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
+ * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
+ * System tags can be viewed by users, but can only be created by the system.
+ *
+ * Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}
+ *
+ * @return the value
+ **/
+ public java.util.Map> getSystemTags() {
+ return systemTags;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -143,6 +306,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("items=").append(String.valueOf(this.items));
sb.append(", locks=").append(String.valueOf(this.locks));
+ sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
+ sb.append(", definedTags=").append(String.valueOf(this.definedTags));
+ sb.append(", systemTags=").append(String.valueOf(this.systemTags));
sb.append(")");
return sb.toString();
}
@@ -159,6 +325,9 @@ public boolean equals(Object o) {
SecurityPolicyCollection other = (SecurityPolicyCollection) o;
return java.util.Objects.equals(this.items, other.items)
&& java.util.Objects.equals(this.locks, other.locks)
+ && java.util.Objects.equals(this.freeformTags, other.freeformTags)
+ && java.util.Objects.equals(this.definedTags, other.definedTags)
+ && java.util.Objects.equals(this.systemTags, other.systemTags)
&& super.equals(other);
}
@@ -168,6 +337,9 @@ public int hashCode() {
int result = 1;
result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode());
result = (result * PRIME) + (this.locks == null ? 43 : this.locks.hashCode());
+ result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
+ result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
+ result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/Sighting.java b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/Sighting.java
index 7d7e032a86..6068ab4810 100644
--- a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/Sighting.java
+++ b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/Sighting.java
@@ -37,6 +37,8 @@ public final class Sighting extends com.oracle.bmc.http.internal.ExplicitlySetBm
"confidence",
"timeFirstDetected",
"timeLastDetected",
+ "timeFirstOccurred",
+ "timeLastOccurred",
"regions",
"additionalDetails",
"locks"
@@ -59,6 +61,8 @@ public Sighting(
Confidence confidence,
java.util.Date timeFirstDetected,
java.util.Date timeLastDetected,
+ java.util.Date timeFirstOccurred,
+ java.util.Date timeLastOccurred,
java.util.List regions,
java.util.Map additionalDetails,
java.util.List locks) {
@@ -80,6 +84,8 @@ public Sighting(
this.confidence = confidence;
this.timeFirstDetected = timeFirstDetected;
this.timeLastDetected = timeLastDetected;
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.timeLastOccurred = timeLastOccurred;
this.regions = regions;
this.additionalDetails = additionalDetails;
this.locks = locks;
@@ -328,13 +334,13 @@ public Builder confidence(Confidence confidence) {
return this;
}
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
private java.util.Date timeFirstDetected;
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
* @param timeFirstDetected the value to set
* @return this builder
**/
@@ -344,13 +350,13 @@ public Builder timeFirstDetected(java.util.Date timeFirstDetected) {
return this;
}
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
private java.util.Date timeLastDetected;
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
* @param timeLastDetected the value to set
* @return this builder
**/
@@ -359,6 +365,38 @@ public Builder timeLastDetected(java.util.Date timeLastDetected) {
this.__explicitlySet__.add("timeLastDetected");
return this;
}
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ * @param timeFirstOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeFirstOccurred(java.util.Date timeFirstOccurred) {
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.__explicitlySet__.add("timeFirstOccurred");
+ return this;
+ }
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ * @param timeLastOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeLastOccurred(java.util.Date timeLastOccurred) {
+ this.timeLastOccurred = timeLastOccurred;
+ this.__explicitlySet__.add("timeLastOccurred");
+ return this;
+ }
/**
* List of regions involved in the sighting
**/
@@ -431,6 +469,8 @@ public Sighting build() {
this.confidence,
this.timeFirstDetected,
this.timeLastDetected,
+ this.timeFirstOccurred,
+ this.timeLastOccurred,
this.regions,
this.additionalDetails,
this.locks);
@@ -493,6 +533,12 @@ public Builder copy(Sighting model) {
if (model.wasPropertyExplicitlySet("timeLastDetected")) {
this.timeLastDetected(model.getTimeLastDetected());
}
+ if (model.wasPropertyExplicitlySet("timeFirstOccurred")) {
+ this.timeFirstOccurred(model.getTimeFirstOccurred());
+ }
+ if (model.wasPropertyExplicitlySet("timeLastOccurred")) {
+ this.timeLastOccurred(model.getTimeLastOccurred());
+ }
if (model.wasPropertyExplicitlySet("regions")) {
this.regions(model.getRegions());
}
@@ -728,13 +774,13 @@ public Confidence getConfidence() {
}
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
private final java.util.Date timeFirstDetected;
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
* @return the value
**/
public java.util.Date getTimeFirstDetected() {
@@ -742,19 +788,47 @@ public java.util.Date getTimeFirstDetected() {
}
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
private final java.util.Date timeLastDetected;
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
* @return the value
**/
public java.util.Date getTimeLastDetected() {
return timeLastDetected;
}
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private final java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ * @return the value
+ **/
+ public java.util.Date getTimeFirstOccurred() {
+ return timeFirstOccurred;
+ }
+
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private final java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ * @return the value
+ **/
+ public java.util.Date getTimeLastOccurred() {
+ return timeLastOccurred;
+ }
+
/**
* List of regions involved in the sighting
**/
@@ -829,6 +903,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", confidence=").append(String.valueOf(this.confidence));
sb.append(", timeFirstDetected=").append(String.valueOf(this.timeFirstDetected));
sb.append(", timeLastDetected=").append(String.valueOf(this.timeLastDetected));
+ sb.append(", timeFirstOccurred=").append(String.valueOf(this.timeFirstOccurred));
+ sb.append(", timeLastOccurred=").append(String.valueOf(this.timeLastOccurred));
sb.append(", regions=").append(String.valueOf(this.regions));
sb.append(", additionalDetails=").append(String.valueOf(this.additionalDetails));
sb.append(", locks=").append(String.valueOf(this.locks));
@@ -864,6 +940,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.confidence, other.confidence)
&& java.util.Objects.equals(this.timeFirstDetected, other.timeFirstDetected)
&& java.util.Objects.equals(this.timeLastDetected, other.timeLastDetected)
+ && java.util.Objects.equals(this.timeFirstOccurred, other.timeFirstOccurred)
+ && java.util.Objects.equals(this.timeLastOccurred, other.timeLastOccurred)
&& java.util.Objects.equals(this.regions, other.regions)
&& java.util.Objects.equals(this.additionalDetails, other.additionalDetails)
&& java.util.Objects.equals(this.locks, other.locks)
@@ -919,6 +997,12 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.timeLastDetected == null ? 43 : this.timeLastDetected.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeFirstOccurred == null ? 43 : this.timeFirstOccurred.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLastOccurred == null ? 43 : this.timeLastOccurred.hashCode());
result = (result * PRIME) + (this.regions == null ? 43 : this.regions.hashCode());
result =
(result * PRIME)
diff --git a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingEndpointSummary.java b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingEndpointSummary.java
index 2192939688..1f8f697d6e 100644
--- a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingEndpointSummary.java
+++ b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingEndpointSummary.java
@@ -35,7 +35,10 @@ public final class SightingEndpointSummary
"asnNumber",
"regions",
"services",
- "timeLastDetected"
+ "timeFirstDetected",
+ "timeLastDetected",
+ "timeFirstOccurred",
+ "timeLastOccurred"
})
public SightingEndpointSummary(
String id,
@@ -50,7 +53,10 @@ public SightingEndpointSummary(
String asnNumber,
java.util.List regions,
java.util.List services,
- java.util.Date timeLastDetected) {
+ java.util.Date timeFirstDetected,
+ java.util.Date timeLastDetected,
+ java.util.Date timeFirstOccurred,
+ java.util.Date timeLastOccurred) {
super();
this.id = id;
this.sightingId = sightingId;
@@ -64,7 +70,10 @@ public SightingEndpointSummary(
this.asnNumber = asnNumber;
this.regions = regions;
this.services = services;
+ this.timeFirstDetected = timeFirstDetected;
this.timeLastDetected = timeLastDetected;
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.timeLastOccurred = timeLastOccurred;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -262,13 +271,29 @@ public Builder services(java.util.List services) {
return this;
}
/**
- * Date and time when activities were created
+ * Time the activities were first detected.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
+ private java.util.Date timeFirstDetected;
+
+ /**
+ * Time the activities were first detected.
+ * @param timeFirstDetected the value to set
+ * @return this builder
+ **/
+ public Builder timeFirstDetected(java.util.Date timeFirstDetected) {
+ this.timeFirstDetected = timeFirstDetected;
+ this.__explicitlySet__.add("timeFirstDetected");
+ return this;
+ }
+ /**
+ * Time the activities were last detected.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
private java.util.Date timeLastDetected;
/**
- * Date and time when activities were created
+ * Time the activities were last detected.
* @param timeLastDetected the value to set
* @return this builder
**/
@@ -277,6 +302,38 @@ public Builder timeLastDetected(java.util.Date timeLastDetected) {
this.__explicitlySet__.add("timeLastDetected");
return this;
}
+ /**
+ * Time the activities were first performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed.
+ * @param timeFirstOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeFirstOccurred(java.util.Date timeFirstOccurred) {
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.__explicitlySet__.add("timeFirstOccurred");
+ return this;
+ }
+ /**
+ * Time the activities were last performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed.
+ * @param timeLastOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeLastOccurred(java.util.Date timeLastOccurred) {
+ this.timeLastOccurred = timeLastOccurred;
+ this.__explicitlySet__.add("timeLastOccurred");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -296,7 +353,10 @@ public SightingEndpointSummary build() {
this.asnNumber,
this.regions,
this.services,
- this.timeLastDetected);
+ this.timeFirstDetected,
+ this.timeLastDetected,
+ this.timeFirstOccurred,
+ this.timeLastOccurred);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -341,9 +401,18 @@ public Builder copy(SightingEndpointSummary model) {
if (model.wasPropertyExplicitlySet("services")) {
this.services(model.getServices());
}
+ if (model.wasPropertyExplicitlySet("timeFirstDetected")) {
+ this.timeFirstDetected(model.getTimeFirstDetected());
+ }
if (model.wasPropertyExplicitlySet("timeLastDetected")) {
this.timeLastDetected(model.getTimeLastDetected());
}
+ if (model.wasPropertyExplicitlySet("timeFirstOccurred")) {
+ this.timeFirstOccurred(model.getTimeFirstOccurred());
+ }
+ if (model.wasPropertyExplicitlySet("timeLastOccurred")) {
+ this.timeLastOccurred(model.getTimeLastOccurred());
+ }
return this;
}
}
@@ -528,19 +597,61 @@ public java.util.List getServices() {
}
/**
- * Date and time when activities were created
+ * Time the activities were first detected.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
+ private final java.util.Date timeFirstDetected;
+
+ /**
+ * Time the activities were first detected.
+ * @return the value
+ **/
+ public java.util.Date getTimeFirstDetected() {
+ return timeFirstDetected;
+ }
+
+ /**
+ * Time the activities were last detected.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
private final java.util.Date timeLastDetected;
/**
- * Date and time when activities were created
+ * Time the activities were last detected.
* @return the value
**/
public java.util.Date getTimeLastDetected() {
return timeLastDetected;
}
+ /**
+ * Time the activities were first performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private final java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed.
+ * @return the value
+ **/
+ public java.util.Date getTimeFirstOccurred() {
+ return timeFirstOccurred;
+ }
+
+ /**
+ * Time the activities were last performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private final java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed.
+ * @return the value
+ **/
+ public java.util.Date getTimeLastOccurred() {
+ return timeLastOccurred;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -567,7 +678,10 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", asnNumber=").append(String.valueOf(this.asnNumber));
sb.append(", regions=").append(String.valueOf(this.regions));
sb.append(", services=").append(String.valueOf(this.services));
+ sb.append(", timeFirstDetected=").append(String.valueOf(this.timeFirstDetected));
sb.append(", timeLastDetected=").append(String.valueOf(this.timeLastDetected));
+ sb.append(", timeFirstOccurred=").append(String.valueOf(this.timeFirstOccurred));
+ sb.append(", timeLastOccurred=").append(String.valueOf(this.timeLastOccurred));
sb.append(")");
return sb.toString();
}
@@ -594,7 +708,10 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.asnNumber, other.asnNumber)
&& java.util.Objects.equals(this.regions, other.regions)
&& java.util.Objects.equals(this.services, other.services)
+ && java.util.Objects.equals(this.timeFirstDetected, other.timeFirstDetected)
&& java.util.Objects.equals(this.timeLastDetected, other.timeLastDetected)
+ && java.util.Objects.equals(this.timeFirstOccurred, other.timeFirstOccurred)
+ && java.util.Objects.equals(this.timeLastOccurred, other.timeLastOccurred)
&& super.equals(other);
}
@@ -620,9 +737,18 @@ public int hashCode() {
result = (result * PRIME) + (this.asnNumber == null ? 43 : this.asnNumber.hashCode());
result = (result * PRIME) + (this.regions == null ? 43 : this.regions.hashCode());
result = (result * PRIME) + (this.services == null ? 43 : this.services.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeFirstDetected == null ? 43 : this.timeFirstDetected.hashCode());
result =
(result * PRIME)
+ (this.timeLastDetected == null ? 43 : this.timeLastDetected.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeFirstOccurred == null ? 43 : this.timeFirstOccurred.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLastOccurred == null ? 43 : this.timeLastOccurred.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingImpactedResourceSummary.java b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingImpactedResourceSummary.java
index e8211f872a..61e0b4789b 100644
--- a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingImpactedResourceSummary.java
+++ b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingImpactedResourceSummary.java
@@ -31,7 +31,11 @@ public final class SightingImpactedResourceSummary
"resourceName",
"resourceType",
"region",
- "timeIdentified"
+ "timeIdentified",
+ "timeFirstDetected",
+ "timeLastDetected",
+ "timeFirstOccurred",
+ "timeLastOccurred"
})
public SightingImpactedResourceSummary(
String id,
@@ -42,7 +46,11 @@ public SightingImpactedResourceSummary(
String resourceName,
String resourceType,
String region,
- java.util.Date timeIdentified) {
+ java.util.Date timeIdentified,
+ java.util.Date timeFirstDetected,
+ java.util.Date timeLastDetected,
+ java.util.Date timeFirstOccurred,
+ java.util.Date timeLastOccurred) {
super();
this.id = id;
this.resourceId = resourceId;
@@ -53,6 +61,10 @@ public SightingImpactedResourceSummary(
this.resourceType = resourceType;
this.region = region;
this.timeIdentified = timeIdentified;
+ this.timeFirstDetected = timeFirstDetected;
+ this.timeLastDetected = timeLastDetected;
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.timeLastOccurred = timeLastOccurred;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -201,6 +213,70 @@ public Builder timeIdentified(java.util.Date timeIdentified) {
this.__explicitlySet__.add("timeIdentified");
return this;
}
+ /**
+ * Time the activities were first detected.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
+ private java.util.Date timeFirstDetected;
+
+ /**
+ * Time the activities were first detected.
+ * @param timeFirstDetected the value to set
+ * @return this builder
+ **/
+ public Builder timeFirstDetected(java.util.Date timeFirstDetected) {
+ this.timeFirstDetected = timeFirstDetected;
+ this.__explicitlySet__.add("timeFirstDetected");
+ return this;
+ }
+ /**
+ * Time the activities were last detected. Same as timeIdentified.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
+ private java.util.Date timeLastDetected;
+
+ /**
+ * Time the activities were last detected. Same as timeIdentified.
+ * @param timeLastDetected the value to set
+ * @return this builder
+ **/
+ public Builder timeLastDetected(java.util.Date timeLastDetected) {
+ this.timeLastDetected = timeLastDetected;
+ this.__explicitlySet__.add("timeLastDetected");
+ return this;
+ }
+ /**
+ * Time the activities were first performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed.
+ * @param timeFirstOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeFirstOccurred(java.util.Date timeFirstOccurred) {
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.__explicitlySet__.add("timeFirstOccurred");
+ return this;
+ }
+ /**
+ * Time the activities were last performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed.
+ * @param timeLastOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeLastOccurred(java.util.Date timeLastOccurred) {
+ this.timeLastOccurred = timeLastOccurred;
+ this.__explicitlySet__.add("timeLastOccurred");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -216,7 +292,11 @@ public SightingImpactedResourceSummary build() {
this.resourceName,
this.resourceType,
this.region,
- this.timeIdentified);
+ this.timeIdentified,
+ this.timeFirstDetected,
+ this.timeLastDetected,
+ this.timeFirstOccurred,
+ this.timeLastOccurred);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -252,6 +332,18 @@ public Builder copy(SightingImpactedResourceSummary model) {
if (model.wasPropertyExplicitlySet("timeIdentified")) {
this.timeIdentified(model.getTimeIdentified());
}
+ if (model.wasPropertyExplicitlySet("timeFirstDetected")) {
+ this.timeFirstDetected(model.getTimeFirstDetected());
+ }
+ if (model.wasPropertyExplicitlySet("timeLastDetected")) {
+ this.timeLastDetected(model.getTimeLastDetected());
+ }
+ if (model.wasPropertyExplicitlySet("timeFirstOccurred")) {
+ this.timeFirstOccurred(model.getTimeFirstOccurred());
+ }
+ if (model.wasPropertyExplicitlySet("timeLastOccurred")) {
+ this.timeLastOccurred(model.getTimeLastOccurred());
+ }
return this;
}
}
@@ -393,6 +485,62 @@ public java.util.Date getTimeIdentified() {
return timeIdentified;
}
+ /**
+ * Time the activities were first detected.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
+ private final java.util.Date timeFirstDetected;
+
+ /**
+ * Time the activities were first detected.
+ * @return the value
+ **/
+ public java.util.Date getTimeFirstDetected() {
+ return timeFirstDetected;
+ }
+
+ /**
+ * Time the activities were last detected. Same as timeIdentified.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
+ private final java.util.Date timeLastDetected;
+
+ /**
+ * Time the activities were last detected. Same as timeIdentified.
+ * @return the value
+ **/
+ public java.util.Date getTimeLastDetected() {
+ return timeLastDetected;
+ }
+
+ /**
+ * Time the activities were first performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private final java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed.
+ * @return the value
+ **/
+ public java.util.Date getTimeFirstOccurred() {
+ return timeFirstOccurred;
+ }
+
+ /**
+ * Time the activities were last performed.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private final java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed.
+ * @return the value
+ **/
+ public java.util.Date getTimeLastOccurred() {
+ return timeLastOccurred;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -416,6 +564,10 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", resourceType=").append(String.valueOf(this.resourceType));
sb.append(", region=").append(String.valueOf(this.region));
sb.append(", timeIdentified=").append(String.valueOf(this.timeIdentified));
+ sb.append(", timeFirstDetected=").append(String.valueOf(this.timeFirstDetected));
+ sb.append(", timeLastDetected=").append(String.valueOf(this.timeLastDetected));
+ sb.append(", timeFirstOccurred=").append(String.valueOf(this.timeFirstOccurred));
+ sb.append(", timeLastOccurred=").append(String.valueOf(this.timeLastOccurred));
sb.append(")");
return sb.toString();
}
@@ -439,6 +591,10 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.resourceType, other.resourceType)
&& java.util.Objects.equals(this.region, other.region)
&& java.util.Objects.equals(this.timeIdentified, other.timeIdentified)
+ && java.util.Objects.equals(this.timeFirstDetected, other.timeFirstDetected)
+ && java.util.Objects.equals(this.timeLastDetected, other.timeLastDetected)
+ && java.util.Objects.equals(this.timeFirstOccurred, other.timeFirstOccurred)
+ && java.util.Objects.equals(this.timeLastOccurred, other.timeLastOccurred)
&& super.equals(other);
}
@@ -459,6 +615,18 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.timeIdentified == null ? 43 : this.timeIdentified.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeFirstDetected == null ? 43 : this.timeFirstDetected.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLastDetected == null ? 43 : this.timeLastDetected.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeFirstOccurred == null ? 43 : this.timeFirstOccurred.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLastOccurred == null ? 43 : this.timeLastOccurred.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingSummary.java b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingSummary.java
index ac6897ecc0..3c5e07d41b 100644
--- a/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingSummary.java
+++ b/bmc-cloudguard/src/main/java/com/oracle/bmc/cloudguard/model/SightingSummary.java
@@ -37,6 +37,8 @@ public final class SightingSummary extends com.oracle.bmc.http.internal.Explicit
"confidence",
"timeFirstDetected",
"timeLastDetected",
+ "timeFirstOccurred",
+ "timeLastOccurred",
"regions"
})
public SightingSummary(
@@ -57,6 +59,8 @@ public SightingSummary(
Confidence confidence,
java.util.Date timeFirstDetected,
java.util.Date timeLastDetected,
+ java.util.Date timeFirstOccurred,
+ java.util.Date timeLastOccurred,
java.util.List regions) {
super();
this.id = id;
@@ -76,6 +80,8 @@ public SightingSummary(
this.confidence = confidence;
this.timeFirstDetected = timeFirstDetected;
this.timeLastDetected = timeLastDetected;
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.timeLastOccurred = timeLastOccurred;
this.regions = regions;
}
@@ -322,13 +328,13 @@ public Builder confidence(Confidence confidence) {
return this;
}
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
private java.util.Date timeFirstDetected;
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
* @param timeFirstDetected the value to set
* @return this builder
**/
@@ -338,13 +344,13 @@ public Builder timeFirstDetected(java.util.Date timeFirstDetected) {
return this;
}
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
private java.util.Date timeLastDetected;
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
* @param timeLastDetected the value to set
* @return this builder
**/
@@ -353,6 +359,38 @@ public Builder timeLastDetected(java.util.Date timeLastDetected) {
this.__explicitlySet__.add("timeLastDetected");
return this;
}
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ * @param timeFirstOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeFirstOccurred(java.util.Date timeFirstOccurred) {
+ this.timeFirstOccurred = timeFirstOccurred;
+ this.__explicitlySet__.add("timeFirstOccurred");
+ return this;
+ }
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ * @param timeLastOccurred the value to set
+ * @return this builder
+ **/
+ public Builder timeLastOccurred(java.util.Date timeLastOccurred) {
+ this.timeLastOccurred = timeLastOccurred;
+ this.__explicitlySet__.add("timeLastOccurred");
+ return this;
+ }
/**
* List of regions involved in the sighting
**/
@@ -393,6 +431,8 @@ public SightingSummary build() {
this.confidence,
this.timeFirstDetected,
this.timeLastDetected,
+ this.timeFirstOccurred,
+ this.timeLastOccurred,
this.regions);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -453,6 +493,12 @@ public Builder copy(SightingSummary model) {
if (model.wasPropertyExplicitlySet("timeLastDetected")) {
this.timeLastDetected(model.getTimeLastDetected());
}
+ if (model.wasPropertyExplicitlySet("timeFirstOccurred")) {
+ this.timeFirstOccurred(model.getTimeFirstOccurred());
+ }
+ if (model.wasPropertyExplicitlySet("timeLastOccurred")) {
+ this.timeLastOccurred(model.getTimeLastOccurred());
+ }
if (model.wasPropertyExplicitlySet("regions")) {
this.regions(model.getRegions());
}
@@ -682,13 +728,13 @@ public Confidence getConfidence() {
}
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeFirstDetected")
private final java.util.Date timeFirstDetected;
/**
- * The date and time the sighting was first detected. Format defined by RFC3339.
+ * Time the activities were first detected. Format defined by RFC3339.
* @return the value
**/
public java.util.Date getTimeFirstDetected() {
@@ -696,19 +742,47 @@ public java.util.Date getTimeFirstDetected() {
}
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
**/
@com.fasterxml.jackson.annotation.JsonProperty("timeLastDetected")
private final java.util.Date timeLastDetected;
/**
- * The date and time the sighting was last detected. Format defined by RFC3339.
+ * Time the activities were last detected. Format defined by RFC3339.
* @return the value
**/
public java.util.Date getTimeLastDetected() {
return timeLastDetected;
}
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFirstOccurred")
+ private final java.util.Date timeFirstOccurred;
+
+ /**
+ * Time the activities were first performed. Format defined by RFC3339.
+ * @return the value
+ **/
+ public java.util.Date getTimeFirstOccurred() {
+ return timeFirstOccurred;
+ }
+
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeLastOccurred")
+ private final java.util.Date timeLastOccurred;
+
+ /**
+ * Time the activities were last performed. Format defined by RFC3339.
+ * @return the value
+ **/
+ public java.util.Date getTimeLastOccurred() {
+ return timeLastOccurred;
+ }
+
/**
* List of regions involved in the sighting
**/
@@ -755,6 +829,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", confidence=").append(String.valueOf(this.confidence));
sb.append(", timeFirstDetected=").append(String.valueOf(this.timeFirstDetected));
sb.append(", timeLastDetected=").append(String.valueOf(this.timeLastDetected));
+ sb.append(", timeFirstOccurred=").append(String.valueOf(this.timeFirstOccurred));
+ sb.append(", timeLastOccurred=").append(String.valueOf(this.timeLastOccurred));
sb.append(", regions=").append(String.valueOf(this.regions));
sb.append(")");
return sb.toString();
@@ -788,6 +864,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.confidence, other.confidence)
&& java.util.Objects.equals(this.timeFirstDetected, other.timeFirstDetected)
&& java.util.Objects.equals(this.timeLastDetected, other.timeLastDetected)
+ && java.util.Objects.equals(this.timeFirstOccurred, other.timeFirstOccurred)
+ && java.util.Objects.equals(this.timeLastOccurred, other.timeLastOccurred)
&& java.util.Objects.equals(this.regions, other.regions)
&& super.equals(other);
}
@@ -843,6 +921,12 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.timeLastDetected == null ? 43 : this.timeLastDetected.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeFirstOccurred == null ? 43 : this.timeFirstOccurred.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeLastOccurred == null ? 43 : this.timeLastOccurred.hashCode());
result = (result * PRIME) + (this.regions == null ? 43 : this.regions.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml
index 3d0136c9a6..e0a30b63d0 100644
--- a/bmc-cloudmigrations/pom.xml
+++ b/bmc-cloudmigrations/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.72.0
+ 2.73.0
../pom.xml
oci-java-sdk-cloudmigrations
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.72.0
+ 2.73.0
\ No newline at end of file
diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml
index ca3164dfa0..f6945cb9a0 100644
--- a/bmc-clusterplacementgroups/pom.xml
+++ b/bmc-clusterplacementgroups/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.72.0
+ 2.73.0
../pom.xml
oci-java-sdk-clusterplacementgroups
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.72.0
+ 2.73.0
\ No newline at end of file
diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml
index 03690aa5da..0b281fdb2a 100644
--- a/bmc-common/pom.xml
+++ b/bmc-common/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.72.0
+ 2.73.0
../pom.xml
@@ -69,10 +69,6 @@
org.bouncycastle
bcprov-jdk15on