public static class ListAnnouncementsRequest.Builder extends Object implements BmcRequest.Builder<ListAnnouncementsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListAnnouncementsRequest.Builder |
announcementType(String announcementType)
The type of announcement.
|
ListAnnouncementsRequest |
build()
Build the instance of ListAnnouncementsRequest as configured by this builder
|
ListAnnouncementsRequest |
buildWithoutInvocationCallback()
Build the instance of ListAnnouncementsRequest as configured by this builder
|
ListAnnouncementsRequest.Builder |
chainId(String chainId)
A filter to return only announcements belonging to the specified announcement chain ID.
|
ListAnnouncementsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
ListAnnouncementsRequest.Builder |
copy(ListAnnouncementsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListAnnouncementsRequest.Builder |
environmentName(String environmentName)
A filter to return only announcements that match a specific environment name.
|
ListAnnouncementsRequest.Builder |
excludeAnnouncementTypes(List<String> excludeAnnouncementTypes)
Exclude The type of announcement.
|
ListAnnouncementsRequest.Builder |
excludeAnnouncementTypes(String singularValue)
Singular setter.
|
ListAnnouncementsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListAnnouncementsRequest.Builder |
isBanner(Boolean isBanner)
Whether the announcement is displayed as a console banner.
|
ListAnnouncementsRequest.Builder |
lifecycleState(ListAnnouncementsRequest.LifecycleState lifecycleState)
The announcement’s current lifecycle state.
|
ListAnnouncementsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListAnnouncementsRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
ListAnnouncementsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListAnnouncementsRequest.Builder |
platformType(ListAnnouncementsRequest.PlatformType platformType)
A filter to return only announcements affecting a specific platform.
|
ListAnnouncementsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListAnnouncementsRequest.Builder |
service(String service)
A filter to return only announcements affecting a specific service.
|
ListAnnouncementsRequest.Builder |
shouldShowOnlyLatestInChain(Boolean shouldShowOnlyLatestInChain)
A filter to display only the latest announcement in a chain.
|
ListAnnouncementsRequest.Builder |
sortBy(ListAnnouncementsRequest.SortBy sortBy)
The criteria to sort by.
|
ListAnnouncementsRequest.Builder |
sortOrder(ListAnnouncementsRequest.SortOrder sortOrder)
The sort order to use.
|
ListAnnouncementsRequest.Builder |
timeOneEarliestTime(Date timeOneEarliestTime)
The boundary for the earliest
timeOneValue date on announcements that you want to
see. |
ListAnnouncementsRequest.Builder |
timeOneLatestTime(Date timeOneLatestTime)
The boundary for the latest
timeOneValue date on announcements that you want to
see. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListAnnouncementsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ListAnnouncementsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
limit
- the value to setpublic ListAnnouncementsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListAnnouncementsRequest.Builder announcementType(String announcementType)
The type of announcement.
announcementType
- the value to setpublic ListAnnouncementsRequest.Builder lifecycleState(ListAnnouncementsRequest.LifecycleState lifecycleState)
The announcement’s current lifecycle state.
lifecycleState
- the value to setpublic ListAnnouncementsRequest.Builder isBanner(Boolean isBanner)
Whether the announcement is displayed as a console banner.
isBanner
- the value to setpublic ListAnnouncementsRequest.Builder sortBy(ListAnnouncementsRequest.SortBy sortBy)
The criteria to sort by. You can specify only one sort order.
sortBy
- the value to setpublic ListAnnouncementsRequest.Builder sortOrder(ListAnnouncementsRequest.SortOrder sortOrder)
The sort order to use. (Sorting by announcementType
orders the announcements list
according to importance.)
sortOrder
- the value to setpublic ListAnnouncementsRequest.Builder timeOneEarliestTime(Date timeOneEarliestTime)
The boundary for the earliest timeOneValue
date on announcements that you want to
see.
timeOneEarliestTime
- the value to setpublic ListAnnouncementsRequest.Builder timeOneLatestTime(Date timeOneLatestTime)
The boundary for the latest timeOneValue
date on announcements that you want to
see.
timeOneLatestTime
- the value to setpublic ListAnnouncementsRequest.Builder environmentName(String environmentName)
A filter to return only announcements that match a specific environment name.
environmentName
- the value to setpublic ListAnnouncementsRequest.Builder service(String service)
A filter to return only announcements affecting a specific service.
service
- the value to setpublic ListAnnouncementsRequest.Builder platformType(ListAnnouncementsRequest.PlatformType platformType)
A filter to return only announcements affecting a specific platform.
platformType
- the value to setpublic ListAnnouncementsRequest.Builder excludeAnnouncementTypes(List<String> excludeAnnouncementTypes)
Exclude The type of announcement.
excludeAnnouncementTypes
- the value to setpublic ListAnnouncementsRequest.Builder excludeAnnouncementTypes(String singularValue)
Singular setter. Exclude The type of announcement.
singularValue
- the singular value to setpublic ListAnnouncementsRequest.Builder shouldShowOnlyLatestInChain(Boolean shouldShowOnlyLatestInChain)
A filter to display only the latest announcement in a chain.
shouldShowOnlyLatestInChain
- the value to setpublic ListAnnouncementsRequest.Builder chainId(String chainId)
A filter to return only announcements belonging to the specified announcement chain ID.
chainId
- the value to setpublic ListAnnouncementsRequest.Builder opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the complete request ID.
opcRequestId
- the value to setpublic ListAnnouncementsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListAnnouncementsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListAnnouncementsRequest.Builder copy(ListAnnouncementsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListAnnouncementsRequest,Void>
o
- other request from which to copy valuespublic ListAnnouncementsRequest build()
Build the instance of ListAnnouncementsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListAnnouncementsRequest,Void>
public ListAnnouncementsRequest buildWithoutInvocationCallback()
Build the instance of ListAnnouncementsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.