Class ListPbfListingsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.requests.ListPbfListingsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPbfListingsRequest,Void>
- Enclosing class:
- ListPbfListingsRequest
public static class ListPbfListingsRequest.Builder extends Object implements BmcRequest.Builder<ListPbfListingsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPbfListingsRequest
build()
Build the instance of ListPbfListingsRequest as configured by this builderListPbfListingsRequest
buildWithoutInvocationCallback()
Build the instance of ListPbfListingsRequest as configured by this builderListPbfListingsRequest.Builder
copy(ListPbfListingsRequest o)
Copy method to populate the builder with values from the given instance.ListPbfListingsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListPbfListingsRequest.Builder
lifecycleState(PbfListing.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.ListPbfListingsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListPbfListingsRequest.Builder
name(String name)
A filter to return only resources that match the entire PBF name given.ListPbfListingsRequest.Builder
nameContains(String nameContains)
A filter to return only resources that contain the supplied filter text in the PBF name given.ListPbfListingsRequest.Builder
nameStartsWith(String nameStartsWith)
A filter to return only resources that start with the supplied filter text in the PBF name given.ListPbfListingsRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.ListPbfListingsRequest.Builder
page(String page)
The pagination token for a list query returned by a previous operationListPbfListingsRequest.Builder
pbfListingId(String pbfListingId)
unique PbfListing identifierListPbfListingsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListPbfListingsRequest.Builder
sortBy(ListPbfListingsRequest.SortBy sortBy)
The field to sort by.ListPbfListingsRequest.Builder
sortOrder(ListPbfListingsRequest.SortOrder sortOrder)
Specifies sort order.ListPbfListingsRequest.Builder
trigger(String singularValue)
Singular setter.ListPbfListingsRequest.Builder
trigger(List<String> trigger)
A filter to return only resources that match the service trigger sources of a PBF.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
pbfListingId
public ListPbfListingsRequest.Builder pbfListingId(String pbfListingId)
unique PbfListing identifier- Parameters:
pbfListingId
- the value to set- Returns:
- this builder instance
-
name
public ListPbfListingsRequest.Builder name(String name)
A filter to return only resources that match the entire PBF name given.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
nameContains
public ListPbfListingsRequest.Builder nameContains(String nameContains)
A filter to return only resources that contain the supplied filter text in the PBF name given.- Parameters:
nameContains
- the value to set- Returns:
- this builder instance
-
nameStartsWith
public ListPbfListingsRequest.Builder nameStartsWith(String nameStartsWith)
A filter to return only resources that start with the supplied filter text in the PBF name given.- Parameters:
nameStartsWith
- the value to set- Returns:
- this builder instance
-
trigger
public ListPbfListingsRequest.Builder trigger(List<String> trigger)
A filter to return only resources that match the service trigger sources of a PBF.- Parameters:
trigger
- the value to set- Returns:
- this builder instance
-
trigger
public ListPbfListingsRequest.Builder trigger(String singularValue)
Singular setter.A filter to return only resources that match the service trigger sources of a PBF.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
lifecycleState
public ListPbfListingsRequest.Builder lifecycleState(PbfListing.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
limit
public ListPbfListingsRequest.Builder limit(Integer limit)
The maximum number of items to return.1 is the minimum, 50 is the maximum.
Default: 10
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListPbfListingsRequest.Builder page(String page)
The pagination token for a list query returned by a previous operation- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListPbfListingsRequest.Builder sortOrder(ListPbfListingsRequest.SortOrder sortOrder)
Specifies sort order.**ASC:** Ascending sort order. * **DESC:** Descending sort order.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListPbfListingsRequest.Builder sortBy(ListPbfListingsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListPbfListingsRequest.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 request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListPbfListingsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListPbfListingsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListPbfListingsRequest.Builder copy(ListPbfListingsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListPbfListingsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPbfListingsRequest build()
Build the instance of ListPbfListingsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListPbfListingsRequest,Void>
- Returns:
- instance of ListPbfListingsRequest
-
buildWithoutInvocationCallback
public ListPbfListingsRequest buildWithoutInvocationCallback()
Build the instance of ListPbfListingsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListPbfListingsRequest
-
-