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 BaseAnnouncement
A 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 Summary
Nested Classes Modifier and Type Class Description static class
Announcement.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.announcementsservice.model.BaseAnnouncement
BaseAnnouncement.AnnouncementType, BaseAnnouncement.LifecycleState, BaseAnnouncement.PlatformType, BaseAnnouncement.TimeOneType, BaseAnnouncement.TimeTwoType
-
-
Constructor Summary
Constructors 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.oracle.bmc.announcementsservice.model.BaseAnnouncement
getAffectedRegions, 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
-
builder
public static Announcement.Builder builder()
Create a new builder.
-
toBuilder
public Announcement.Builder toBuilder()
-
getDescription
public String getDescription()
A detailed explanation of the event, expressed by using Markdown language.Avoid entering confidential information.
- Returns:
- the value
-
getAdditionalInformation
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.
- Returns:
- the value
-
getAffectedResources
public List<AffectedResource> getAffectedResources()
The list of resources, if any, affected by the event described in the announcement.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classBaseAnnouncement
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classBaseAnnouncement
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBaseAnnouncement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseAnnouncement
-
-