@Generated(value="OracleSDKGenerator", comments="API Version: 0.0.1") public final class Announcement extends BaseAnnouncement
A message about an impactful operational event.
Note: Objects should always be created or deserialized using the Announcement.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 Announcement.Builder
, which maintain a
set of all explicitly set fields called Announcement.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 |
Announcement.Builder |
BaseAnnouncement.AnnouncementType, BaseAnnouncement.LifecycleState, BaseAnnouncement.PlatformType, BaseAnnouncement.TimeOneType, BaseAnnouncement.TimeTwoType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Announcement(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,
String description,
String additionalInformation,
List<AffectedResource> affectedResources)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Announcement.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAdditionalInformation()
Additional information about the event, expressed by using Markdown language and included in
the details view of an announcement.
|
List<AffectedResource> |
getAffectedResources()
The list of resources, if any, affected by the event described in the announcement.
|
String |
getDescription()
A detailed explanation of the event, expressed by using Markdown language.
|
int |
hashCode() |
Announcement.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAffectedRegions, getAnnouncementType, getChainId, getEnvironmentName, getId, getIsBanner, getLifecycleState, getPlatformType, getReferenceTicketNumber, getServices, getSummary, getTimeCreated, getTimeOneTitle, getTimeOneType, getTimeOneValue, getTimeTwoTitle, getTimeTwoType, getTimeTwoValue, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public Announcement(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, String description, String additionalInformation, List<AffectedResource> affectedResources)
public static Announcement.Builder builder()
Create a new builder.
public Announcement.Builder toBuilder()
public String getDescription()
A detailed explanation of the event, expressed by using Markdown language. Avoid entering confidential information.
public String getAdditionalInformation()
Additional information about the event, expressed by using Markdown language and included in the details view of an announcement. Additional information might include remediation steps or answers to frequently asked questions. Avoid entering confidential information.
public List<AffectedResource> getAffectedResources()
The list of resources, if any, affected by the event described in the announcement.
public String toString()
toString
in class BaseAnnouncement
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class BaseAnnouncement
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class BaseAnnouncement
public int hashCode()
hashCode
in class BaseAnnouncement
Copyright © 2016–2024. All rights reserved.