Class ListAnnouncementsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.announcementsservice.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListAnnouncementsRequest.Builderstatic classListAnnouncementsRequest.LifecycleStateThe announcement’s current lifecycle state.static classListAnnouncementsRequest.PlatformTypeA filter to return only announcements affecting a specific platform.static classListAnnouncementsRequest.SortByThe criteria to sort by.static classListAnnouncementsRequest.SortOrderThe sort order to use.
-
Constructor Summary
Constructors Constructor Description ListAnnouncementsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAnnouncementsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetAnnouncementType()The type of announcement.StringgetChainId()A filter to return only announcements belonging to the specified announcement chain ID.StringgetCompartmentId()The OCID of the compartment.StringgetEnvironmentName()A filter to return only announcements that match a specific environment name.List<String>getExcludeAnnouncementTypes()Exclude The type of announcement.BooleangetIsBanner()Whether the announcement is displayed as a console banner.ListAnnouncementsRequest.LifecycleStategetLifecycleState()The announcement’s current lifecycle state.IntegergetLimit()The maximum number of items to return in a paginated “List” call.StringgetOpcRequestId()The unique Oracle-assigned identifier for the request.StringgetPage()The value of the opc-next-page response header from the previous “List” call.ListAnnouncementsRequest.PlatformTypegetPlatformType()A filter to return only announcements affecting a specific platform.StringgetService()A filter to return only announcements affecting a specific service.BooleangetShouldShowOnlyLatestInChain()A filter to display only the latest announcement in a chain.ListAnnouncementsRequest.SortBygetSortBy()The criteria to sort by.ListAnnouncementsRequest.SortOrdergetSortOrder()The sort order to use.DategetTimeOneEarliestTime()The boundary for the earliest timeOneValue date on announcements that you want to see.DategetTimeOneLatestTime()The boundary for the latest timeOneValue date on announcements that you want to see.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListAnnouncementsRequest.BuildertoBuilder()Return an instance ofListAnnouncementsRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
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.
-
getLifecycleState
public ListAnnouncementsRequest.LifecycleState getLifecycleState()
The announcement’s current lifecycle state.
-
getIsBanner
public Boolean getIsBanner()
Whether the announcement is displayed as a console banner.
-
getSortBy
public ListAnnouncementsRequest.SortBy getSortBy()
The criteria to sort by.You can specify only one sort order.
-
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.
-
getPlatformType
public ListAnnouncementsRequest.PlatformType getPlatformType()
A filter to return only announcements affecting a specific platform.
-
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.
-
toBuilder
public ListAnnouncementsRequest.Builder toBuilder()
Return an instance ofListAnnouncementsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListAnnouncementsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListAnnouncementsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-