Class ListManagedInstancesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.wlms.requests.ListManagedInstancesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListManagedInstancesRequest,Void>
- Enclosing class:
- ListManagedInstancesRequest
public static class ListManagedInstancesRequest.Builder extends Object implements BmcRequest.Builder<ListManagedInstancesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListManagedInstancesRequest
build()
Build the instance of ListManagedInstancesRequest as configured by this builderListManagedInstancesRequest
buildWithoutInvocationCallback()
Build the instance of ListManagedInstancesRequest as configured by this builderListManagedInstancesRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list.ListManagedInstancesRequest.Builder
copy(ListManagedInstancesRequest o)
Copy method to populate the builder with values from the given instance.ListManagedInstancesRequest.Builder
displayName(String displayName)
The display name.ListManagedInstancesRequest.Builder
id(String id)
The OCID of the instance.ListManagedInstancesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListManagedInstancesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListManagedInstancesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListManagedInstancesRequest.Builder
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ListManagedInstancesRequest.Builder
page(String page)
The page token that represents the page at which to start retrieving results.ListManagedInstancesRequest.Builder
pluginStatus(ListManagedInstancesRequest.PluginStatus pluginStatus)
The plugin status of the managed instance.ListManagedInstancesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListManagedInstancesRequest.Builder
sortBy(ListManagedInstancesRequest.SortBy sortBy)
The field by which to sort the resource.ListManagedInstancesRequest.Builder
sortOrder(ListManagedInstancesRequest.SortOrder sortOrder)
The sort order is either ‘ASC’ or ‘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
-
compartmentId
public ListManagedInstancesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list.This filter returns only resources contained within the specified compartment.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
displayName
public ListManagedInstancesRequest.Builder displayName(String displayName)
The display name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
id
public ListManagedInstancesRequest.Builder id(String id)
The OCID of the instance.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
pluginStatus
public ListManagedInstancesRequest.Builder pluginStatus(ListManagedInstancesRequest.PluginStatus pluginStatus)
The plugin status of the managed instance.- Parameters:
pluginStatus
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListManagedInstancesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListManagedInstancesRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken
- the value to set- Returns:
- this builder instance
-
limit
public ListManagedInstancesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListManagedInstancesRequest.Builder page(String page)
The page token that represents 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 ListManagedInstancesRequest.Builder sortOrder(ListManagedInstancesRequest.SortOrder sortOrder)
The sort order is either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListManagedInstancesRequest.Builder sortBy(ListManagedInstancesRequest.SortBy sortBy)
The field by which to sort the resource.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, timeCreated is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListManagedInstancesRequest.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 ListManagedInstancesRequest.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 ListManagedInstancesRequest.Builder copy(ListManagedInstancesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListManagedInstancesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListManagedInstancesRequest build()
Build the instance of ListManagedInstancesRequest 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<ListManagedInstancesRequest,Void>
- Returns:
- instance of ListManagedInstancesRequest
-
buildWithoutInvocationCallback
public ListManagedInstancesRequest buildWithoutInvocationCallback()
Build the instance of ListManagedInstancesRequest 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 ListManagedInstancesRequest
-
-