public static class ListAnnouncementSubscriptionsRequest.Builder extends Object implements BmcRequest.Builder<ListAnnouncementSubscriptionsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListAnnouncementSubscriptionsRequest |
build()
Build the instance of ListAnnouncementSubscriptionsRequest as configured by this builder
|
ListAnnouncementSubscriptionsRequest |
buildWithoutInvocationCallback()
Build the instance of ListAnnouncementSubscriptionsRequest as configured by this builder
|
ListAnnouncementSubscriptionsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
ListAnnouncementSubscriptionsRequest.Builder |
copy(ListAnnouncementSubscriptionsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListAnnouncementSubscriptionsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
ListAnnouncementSubscriptionsRequest.Builder |
id(String id)
The OCID of the announcement subscription.
|
ListAnnouncementSubscriptionsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListAnnouncementSubscriptionsRequest.Builder |
lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)
A filter to return only announcement subscriptions that match the given lifecycle state.
|
ListAnnouncementSubscriptionsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListAnnouncementSubscriptionsRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
ListAnnouncementSubscriptionsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListAnnouncementSubscriptionsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListAnnouncementSubscriptionsRequest.Builder |
sortBy(ListAnnouncementSubscriptionsRequest.SortBy sortBy)
The criteria to sort by.
|
ListAnnouncementSubscriptionsRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, whether ascending (‘ASC’) or descending (‘DESC’).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListAnnouncementSubscriptionsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ListAnnouncementSubscriptionsRequest.Builder lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)
A filter to return only announcement subscriptions that match the given lifecycle state.
lifecycleState
- the value to setpublic ListAnnouncementSubscriptionsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.
displayName
- the value to setpublic ListAnnouncementSubscriptionsRequest.Builder id(String id)
The OCID of the announcement subscription.
id
- the value to setpublic ListAnnouncementSubscriptionsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
limit
- the value to setpublic ListAnnouncementSubscriptionsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListAnnouncementSubscriptionsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, whether ascending (‘ASC’) or descending (‘DESC’).
sortOrder
- the value to setpublic ListAnnouncementSubscriptionsRequest.Builder sortBy(ListAnnouncementSubscriptionsRequest.SortBy sortBy)
The criteria to sort by. You can specify only one sort order. The default sort order for the creation date of resources is descending. The default sort order for display names is ascending.
sortBy
- the value to setpublic ListAnnouncementSubscriptionsRequest.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 ListAnnouncementSubscriptionsRequest.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 ListAnnouncementSubscriptionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListAnnouncementSubscriptionsRequest.Builder copy(ListAnnouncementSubscriptionsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListAnnouncementSubscriptionsRequest,Void>
o
- other request from which to copy valuespublic ListAnnouncementSubscriptionsRequest build()
Build the instance of ListAnnouncementSubscriptionsRequest 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<ListAnnouncementSubscriptionsRequest,Void>
public ListAnnouncementSubscriptionsRequest buildWithoutInvocationCallback()
Build the instance of ListAnnouncementSubscriptionsRequest 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.