Class ListScriptsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.requests.ListScriptsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListScriptsRequest,Void>
- Enclosing class:
- ListScriptsRequest
public static class ListScriptsRequest.Builder extends Object implements BmcRequest.Builder<ListScriptsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListScriptsRequest.Builder
apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.ListScriptsRequest
build()
Build the instance of ListScriptsRequest as configured by this builderListScriptsRequest
buildWithoutInvocationCallback()
Build the instance of ListScriptsRequest as configured by this builderListScriptsRequest.Builder
contentType(String contentType)
A filter to return only resources that match the content type given.ListScriptsRequest.Builder
copy(ListScriptsRequest o)
Copy method to populate the builder with values from the given instance.ListScriptsRequest.Builder
displayName(String displayName)
A filter to return only the resources that match the entire display name.ListScriptsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListScriptsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListScriptsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListScriptsRequest.Builder
page(String page)
The maximum number of results per page, or items to return in a paginated “List” call.ListScriptsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListScriptsRequest.Builder
sortBy(ListScriptsRequest.SortBy sortBy)
The field to sort by.ListScriptsRequest.Builder
sortOrder(SortOrders sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).-
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
-
apmDomainId
public ListScriptsRequest.Builder apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.- Parameters:
apmDomainId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListScriptsRequest.Builder opcRequestId(String opcRequestId)
Unique 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
-
displayName
public ListScriptsRequest.Builder displayName(String displayName)
A filter to return only the resources that match the entire display name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
contentType
public ListScriptsRequest.Builder contentType(String contentType)
A filter to return only resources that match the content type given.- Parameters:
contentType
- the value to set- Returns:
- this builder instance
-
limit
public ListScriptsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListScriptsRequest.Builder page(String page)
The maximum number of results per page, or items to return in a paginated “List” call.For information on how pagination works, see List Pagination.
Example: 50
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListScriptsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).Default sort order is ascending.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListScriptsRequest.Builder sortBy(ListScriptsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order of displayName and contentType is ascending. Default order of timeCreated and timeUpdated is descending. The displayName sort by is case insensitive.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListScriptsRequest.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 ListScriptsRequest.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 ListScriptsRequest.Builder copy(ListScriptsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListScriptsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListScriptsRequest build()
Build the instance of ListScriptsRequest 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<ListScriptsRequest,Void>
- Returns:
- instance of ListScriptsRequest
-
buildWithoutInvocationCallback
public ListScriptsRequest buildWithoutInvocationCallback()
Build the instance of ListScriptsRequest 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 ListScriptsRequest
-
-