@Generated(value="OracleSDKGenerator", comments="API Version: 0.0.1") public class BaseAnnouncement extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Incident information that forms the basis of an announcement. Avoid entering confidential
information.
Note: Objects should always be created or deserialized using the 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 Builder
, which maintain a
set of all explicitly set fields called 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 |
BaseAnnouncement.AnnouncementType
The type of announcement.
|
static class |
BaseAnnouncement.LifecycleState
The current lifecycle state of the announcement.
|
static class |
BaseAnnouncement.PlatformType
The platform type that this announcement pertains to.
|
static class |
BaseAnnouncement.TimeOneType
The type of a time associated with an initial time value.
|
static class |
BaseAnnouncement.TimeTwoType
The type of a time associated with second time value.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Modifier | Constructor and Description |
---|---|
protected |
BaseAnnouncement(String id,
String referenceTicketNumber,
String summary,
String timeOneTitle,
BaseAnnouncement.TimeOneType timeOneType,
Date timeOneValue,
String timeTwoTitle,
BaseAnnouncement.TimeTwoType timeTwoType,
Date timeTwoValue,
List<String> services,
List<String> affectedRegions,
BaseAnnouncement.AnnouncementType announcementType,
BaseAnnouncement.LifecycleState lifecycleState,
Boolean isBanner,
Date timeCreated,
Date timeUpdated,
String environmentName,
BaseAnnouncement.PlatformType platformType,
String chainId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<String> |
getAffectedRegions()
Impacted regions.
|
BaseAnnouncement.AnnouncementType |
getAnnouncementType()
The type of announcement.
|
String |
getChainId()
The sequence of connected announcements, or announcement chain, that this announcement
belongs to.
|
String |
getEnvironmentName()
The name of the environment that this announcement pertains to.
|
String |
getId()
The OCID of the announcement.
|
Boolean |
getIsBanner()
Whether the announcement is displayed as a banner in the console.
|
BaseAnnouncement.LifecycleState |
getLifecycleState()
The current lifecycle state of the announcement.
|
BaseAnnouncement.PlatformType |
getPlatformType()
The platform type that this announcement pertains to.
|
String |
getReferenceTicketNumber()
The reference Jira ticket number.
|
List<String> |
getServices()
Impacted Oracle Cloud Infrastructure services.
|
String |
getSummary()
A summary of the issue.
|
Date |
getTimeCreated()
The date and time the announcement was created, expressed in RFC
3339 timestamp format.
|
String |
getTimeOneTitle()
The label associated with an initial time value.
|
BaseAnnouncement.TimeOneType |
getTimeOneType()
The type of a time associated with an initial time value.
|
Date |
getTimeOneValue()
The actual value of the first time value for the event.
|
String |
getTimeTwoTitle()
The label associated with a second time value.
|
BaseAnnouncement.TimeTwoType |
getTimeTwoType()
The type of a time associated with second time value.
|
Date |
getTimeTwoValue()
The actual value of the second time value.
|
Date |
getTimeUpdated()
The date and time the announcement was last updated, expressed in RFC
3339 timestamp format.
|
int |
hashCode() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","referenceTicketNumber","summary","timeOneTitle","timeOneType","timeOneValue","timeTwoTitle","timeTwoType","timeTwoValue","services","affectedRegions","announcementType","lifecycleState","isBanner","timeCreated","timeUpdated","environmentName","platformType","chainId"}) protected BaseAnnouncement(String id, String referenceTicketNumber, String summary, String timeOneTitle, BaseAnnouncement.TimeOneType timeOneType, Date timeOneValue, String timeTwoTitle, BaseAnnouncement.TimeTwoType timeTwoType, Date timeTwoValue, List<String> services, List<String> affectedRegions, BaseAnnouncement.AnnouncementType announcementType, BaseAnnouncement.LifecycleState lifecycleState, Boolean isBanner, Date timeCreated, Date timeUpdated, String environmentName, BaseAnnouncement.PlatformType platformType, String chainId)
public String getId()
The OCID of the announcement.
public String getReferenceTicketNumber()
The reference Jira ticket number.
public String getSummary()
A summary of the issue. A summary might appear in the console banner view of the announcement or in an email subject line. Avoid entering confidential information.
public String getTimeOneTitle()
The label associated with an initial time value. Example: Time Started
public BaseAnnouncement.TimeOneType getTimeOneType()
The type of a time associated with an initial time value. If the timeOneTitle
attribute is present, then the timeOneTitle
attribute contains a label of timeOneType
in English. Example: START_TIME
public Date getTimeOneValue()
The actual value of the first time value for the event. Typically, this denotes the time an
event started, but the meaning can vary, depending on the announcement type. The timeOneType
attribute describes the meaning.
public String getTimeTwoTitle()
The label associated with a second time value. Example: Time Ended
public BaseAnnouncement.TimeTwoType getTimeTwoType()
The type of a time associated with second time value. If the timeTwoTitle
attribute
is present, then the timeTwoTitle
attribute contains a label of timeTwoType
in English. Example: END_TIME
public Date getTimeTwoValue()
The actual value of the second time value. Typically, this denotes the time an event ended,
but the meaning can vary, depending on the announcement type. The timeTwoType
attribute describes the meaning.
public List<String> getServices()
Impacted Oracle Cloud Infrastructure services.
public BaseAnnouncement.AnnouncementType getAnnouncementType()
The type of announcement. An announcement’s type signals its severity.
public BaseAnnouncement.LifecycleState getLifecycleState()
The current lifecycle state of the announcement.
public Boolean getIsBanner()
Whether the announcement is displayed as a banner in the console.
public Date getTimeCreated()
The date and time the announcement was created, expressed in RFC
3339 timestamp format. Example: 2019-01-01T17:43:01.389+0000
public Date getTimeUpdated()
The date and time the announcement was last updated, expressed in RFC
3339 timestamp format. Example: 2019-01-01T17:43:01.389+0000
public String getEnvironmentName()
The name of the environment that this announcement pertains to.
public BaseAnnouncement.PlatformType getPlatformType()
The platform type that this announcement pertains to.
public String getChainId()
The sequence of connected announcements, or announcement chain, that this announcement belongs to. Related announcements share the same chain ID.
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.