Class Announcement
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.announcementsservice.model.BaseAnnouncement
- 
- com.oracle.bmc.announcementsservice.model.Announcement
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 0.0.1") public final class Announcement extends BaseAnnouncementA message about an impactful operational event.
 Note: Objects should always be created or deserialized using theAnnouncement.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 theAnnouncement.Builder, which maintain a set of all explicitly set fields calledAnnouncement.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 SummaryNested Classes Modifier and Type Class Description static classAnnouncement.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.announcementsservice.model.BaseAnnouncementBaseAnnouncement.AnnouncementType, BaseAnnouncement.LifecycleState, BaseAnnouncement.PlatformType, BaseAnnouncement.TimeOneType, BaseAnnouncement.TimeTwoType
 
- 
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Announcement.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAdditionalInformation()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.StringgetDescription()A detailed explanation of the event, expressed by using Markdown language.inthashCode()Announcement.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.announcementsservice.model.BaseAnnouncementgetAffectedRegions, getAnnouncementType, getChainId, getEnvironmentName, getId, getIsBanner, getLifecycleState, getPlatformType, getReferenceTicketNumber, getServices, getSummary, getTimeCreated, getTimeOneTitle, getTimeOneType, getTimeOneValue, getTimeTwoTitle, getTimeTwoType, getTimeTwoValue, getTimeUpdated
 
- 
 
- 
- 
- 
Constructor Detail- 
Announcement@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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Announcement.Builder builder() Create a new builder.
 - 
toBuilderpublic Announcement.Builder toBuilder() 
 - 
getDescriptionpublic String getDescription() A detailed explanation of the event, expressed by using Markdown language.Avoid entering confidential information. - Returns:
- the value
 
 - 
getAdditionalInformationpublic 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. - Returns:
- the value
 
 - 
getAffectedResourcespublic List<AffectedResource> getAffectedResources() The list of resources, if any, affected by the event described in the announcement.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- BaseAnnouncement
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- BaseAnnouncement
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- BaseAnnouncement
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- BaseAnnouncement
 
 
- 
 
-