@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class DataSourceEventSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information about a data source event.
Note: Objects should always be created or deserialized using the DataSourceEventSummary.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 DataSourceEventSummary.Builder
, which maintain a
set of all explicitly set fields called DataSourceEventSummary.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 |
DataSourceEventSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DataSourceEventSummary(String region,
Date eventDate,
String dataSourceId,
Date timeCreated,
DataSourceEventInfoStatus status,
String comments,
DataSourceEventInfo eventInfo)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DataSourceEventSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getComments()
Data source event comments
|
String |
getDataSourceId()
Unique identifier of data source.
|
Date |
getEventDate()
Data source event date and time
|
DataSourceEventInfo |
getEventInfo() |
String |
getRegion()
Data source event region
|
DataSourceEventInfoStatus |
getStatus()
Current data source event info status
|
Date |
getTimeCreated()
Data source event creation date and time
|
int |
hashCode() |
DataSourceEventSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"region","eventDate","dataSourceId","timeCreated","status","comments","eventInfo"}) public DataSourceEventSummary(String region, Date eventDate, String dataSourceId, Date timeCreated, DataSourceEventInfoStatus status, String comments, DataSourceEventInfo eventInfo)
public static DataSourceEventSummary.Builder builder()
Create a new builder.
public DataSourceEventSummary.Builder toBuilder()
public String getRegion()
Data source event region
public Date getEventDate()
Data source event date and time
public String getDataSourceId()
Unique identifier of data source.
public Date getTimeCreated()
Data source event creation date and time
public DataSourceEventInfoStatus getStatus()
Current data source event info status
public String getComments()
Data source event comments
public DataSourceEventInfo getEventInfo()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.