Class ListPbfListingVersionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.requests.ListPbfListingVersionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPbfListingVersionsRequest,Void>
- Enclosing class:
- ListPbfListingVersionsRequest
public static class ListPbfListingVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListPbfListingVersionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPbfListingVersionsRequest
build()
Build the instance of ListPbfListingVersionsRequest as configured by this builderListPbfListingVersionsRequest
buildWithoutInvocationCallback()
Build the instance of ListPbfListingVersionsRequest as configured by this builderListPbfListingVersionsRequest.Builder
copy(ListPbfListingVersionsRequest o)
Copy method to populate the builder with values from the given instance.ListPbfListingVersionsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListPbfListingVersionsRequest.Builder
isCurrentVersion(Boolean isCurrentVersion)
Matches the current version (the most recently added version with an Active lifecycleState) associated with a PbfListing.ListPbfListingVersionsRequest.Builder
lifecycleState(PbfListingVersion.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.ListPbfListingVersionsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListPbfListingVersionsRequest.Builder
name(String name)
Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion.ListPbfListingVersionsRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.ListPbfListingVersionsRequest.Builder
page(String page)
The pagination token for a list query returned by a previous operationListPbfListingVersionsRequest.Builder
pbfListingId(String pbfListingId)
unique PbfListing identifierListPbfListingVersionsRequest.Builder
pbfListingVersionId(String pbfListingVersionId)
unique PbfListingVersion identifierListPbfListingVersionsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListPbfListingVersionsRequest.Builder
sortBy(ListPbfListingVersionsRequest.SortBy sortBy)
The field to sort by.ListPbfListingVersionsRequest.Builder
sortOrder(ListPbfListingVersionsRequest.SortOrder sortOrder)
Specifies sort order.-
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 ListPbfListingVersionsRequest.Builder pbfListingId(String pbfListingId)
unique PbfListing identifier- Parameters:
pbfListingId
- the value to set- Returns:
- this builder instance
-
pbfListingVersionId
public ListPbfListingVersionsRequest.Builder pbfListingVersionId(String pbfListingVersionId)
unique PbfListingVersion identifier- Parameters:
pbfListingVersionId
- the value to set- Returns:
- this builder instance
-
name
public ListPbfListingVersionsRequest.Builder name(String name)
Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion.Each PbfListingVersion name is unique with respect to its associated PbfListing.
- Parameters:
name
- the value to set- Returns:
- this builder instance
-
isCurrentVersion
public ListPbfListingVersionsRequest.Builder isCurrentVersion(Boolean isCurrentVersion)
Matches the current version (the most recently added version with an Active lifecycleState) associated with a PbfListing.- Parameters:
isCurrentVersion
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListPbfListingVersionsRequest.Builder lifecycleState(PbfListingVersion.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 ListPbfListingVersionsRequest.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 ListPbfListingVersionsRequest.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 ListPbfListingVersionsRequest.Builder sortOrder(ListPbfListingVersionsRequest.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 ListPbfListingVersionsRequest.Builder sortBy(ListPbfListingVersionsRequest.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 ListPbfListingVersionsRequest.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 ListPbfListingVersionsRequest.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 ListPbfListingVersionsRequest.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 ListPbfListingVersionsRequest.Builder copy(ListPbfListingVersionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListPbfListingVersionsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPbfListingVersionsRequest build()
Build the instance of ListPbfListingVersionsRequest 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<ListPbfListingVersionsRequest,Void>
- Returns:
- instance of ListPbfListingVersionsRequest
-
buildWithoutInvocationCallback
public ListPbfListingVersionsRequest buildWithoutInvocationCallback()
Build the instance of ListPbfListingVersionsRequest 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 ListPbfListingVersionsRequest
-
-