Class ListJavaDownloadTokensRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jmsjavadownloads.requests.ListJavaDownloadTokensRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListJavaDownloadTokensRequest,Void>
- Enclosing class:
- ListJavaDownloadTokensRequest
public static class ListJavaDownloadTokensRequest.Builder extends Object implements BmcRequest.Builder<ListJavaDownloadTokensRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJavaDownloadTokensRequest
build()
Build the instance of ListJavaDownloadTokensRequest as configured by this builderListJavaDownloadTokensRequest
buildWithoutInvocationCallback()
Build the instance of ListJavaDownloadTokensRequest as configured by this builderListJavaDownloadTokensRequest.Builder
compartmentId(String compartmentId)
The OCID of the tenancy.ListJavaDownloadTokensRequest.Builder
copy(ListJavaDownloadTokensRequest o)
Copy method to populate the builder with values from the given instance.ListJavaDownloadTokensRequest.Builder
displayName(String displayName)
A filter to return only resources that match the entire display name given.ListJavaDownloadTokensRequest.Builder
familyVersion(String familyVersion)
Unique Java family version identifier.ListJavaDownloadTokensRequest.Builder
id(String id)
Unique JavaDownloadToken identifier.ListJavaDownloadTokensRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListJavaDownloadTokensRequest.Builder
lifecycleState(LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.ListJavaDownloadTokensRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListJavaDownloadTokensRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListJavaDownloadTokensRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListJavaDownloadTokensRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListJavaDownloadTokensRequest.Builder
searchByUser(String searchByUser)
A filter to return only resources that match the user principal detail.ListJavaDownloadTokensRequest.Builder
sortBy(TokenSortBy sortBy)
The field to sort by.ListJavaDownloadTokensRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.ListJavaDownloadTokensRequest.Builder
value(String value)
Unique JavaDownloadToken value.-
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
-
compartmentId
public ListJavaDownloadTokensRequest.Builder compartmentId(String compartmentId)
The OCID of the tenancy.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListJavaDownloadTokensRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListJavaDownloadTokensRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
id
public ListJavaDownloadTokensRequest.Builder id(String id)
Unique JavaDownloadToken identifier.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
value
public ListJavaDownloadTokensRequest.Builder value(String value)
Unique JavaDownloadToken value.- Parameters:
value
- the value to set- Returns:
- this builder instance
-
familyVersion
public ListJavaDownloadTokensRequest.Builder familyVersion(String familyVersion)
Unique Java family version identifier.- Parameters:
familyVersion
- the value to set- Returns:
- this builder instance
-
searchByUser
public ListJavaDownloadTokensRequest.Builder searchByUser(String searchByUser)
A filter to return only resources that match the user principal detail.The search string can be any of the property values from the
principal
object. This object is used as a response datatype for the createdBy and lastUpdatedBy fields in applicable resource.- Parameters:
searchByUser
- the value to set- Returns:
- this builder instance
-
limit
public ListJavaDownloadTokensRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListJavaDownloadTokensRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.The token is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListJavaDownloadTokensRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListJavaDownloadTokensRequest.Builder sortBy(TokenSortBy sortBy)
The field to sort by.If no value is specified, timeCreated is the default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListJavaDownloadTokensRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListJavaDownloadTokensRequest.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 ListJavaDownloadTokensRequest.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 ListJavaDownloadTokensRequest.Builder copy(ListJavaDownloadTokensRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListJavaDownloadTokensRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListJavaDownloadTokensRequest build()
Build the instance of ListJavaDownloadTokensRequest 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<ListJavaDownloadTokensRequest,Void>
- Returns:
- instance of ListJavaDownloadTokensRequest
-
buildWithoutInvocationCallback
public ListJavaDownloadTokensRequest buildWithoutInvocationCallback()
Build the instance of ListJavaDownloadTokensRequest 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 ListJavaDownloadTokensRequest
-
-