Class ListAnnouncementsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 0.0.1")
    public class ListAnnouncementsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/announcementsservice/ListAnnouncementsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListAnnouncementsRequest.

    • Constructor Detail

      • ListAnnouncementsRequest

        public ListAnnouncementsRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return in a paginated “List” call.
      • getPage

        public String getPage()
        The value of the opc-next-page response header from the previous “List” call.
      • getAnnouncementType

        public String getAnnouncementType()
        The type of announcement.
      • getIsBanner

        public Boolean getIsBanner()
        Whether the announcement is displayed as a console banner.
      • getSortOrder

        public ListAnnouncementsRequest.SortOrder getSortOrder()
        The sort order to use.

        (Sorting by announcementType orders the announcements list according to importance.)

      • getTimeOneEarliestTime

        public Date getTimeOneEarliestTime()
        The boundary for the earliest timeOneValue date on announcements that you want to see.
      • getTimeOneLatestTime

        public Date getTimeOneLatestTime()
        The boundary for the latest timeOneValue date on announcements that you want to see.
      • getEnvironmentName

        public String getEnvironmentName()
        A filter to return only announcements that match a specific environment name.
      • getService

        public String getService()
        A filter to return only announcements affecting a specific service.
      • getExcludeAnnouncementTypes

        public List<String> getExcludeAnnouncementTypes()
        Exclude The type of announcement.
      • getShouldShowOnlyLatestInChain

        public Boolean getShouldShowOnlyLatestInChain()
        A filter to display only the latest announcement in a chain.
      • getChainId

        public String getChainId()
        A filter to return only announcements belonging to the specified announcement chain ID.
      • getOpcRequestId

        public String getOpcRequestId()
        The unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the complete request ID.

      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>