public static class ListTargetAssetsRequest.Builder extends Object implements BmcRequest.Builder<ListTargetAssetsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListTargetAssetsRequest |
build()
Build the instance of ListTargetAssetsRequest as configured by this builder
|
ListTargetAssetsRequest |
buildWithoutInvocationCallback()
Build the instance of ListTargetAssetsRequest as configured by this builder
|
ListTargetAssetsRequest.Builder |
copy(ListTargetAssetsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListTargetAssetsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire given display name.
|
ListTargetAssetsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListTargetAssetsRequest.Builder |
lifecycleState(TargetAsset.LifecycleState lifecycleState)
The current state of the target asset.
|
ListTargetAssetsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListTargetAssetsRequest.Builder |
migrationPlanId(String migrationPlanId)
Unique migration plan identifier
|
ListTargetAssetsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListTargetAssetsRequest.Builder |
page(String page)
A token representing the position at which to start retrieving results.
|
ListTargetAssetsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListTargetAssetsRequest.Builder |
sortBy(ListTargetAssetsRequest.SortBy sortBy)
The field to sort by.
|
ListTargetAssetsRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
ListTargetAssetsRequest.Builder |
targetAssetId(String targetAssetId)
Unique target asset identifier
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListTargetAssetsRequest.Builder migrationPlanId(String migrationPlanId)
Unique migration plan identifier
migrationPlanId
- the value to setpublic ListTargetAssetsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire given display name.
displayName
- the value to setpublic ListTargetAssetsRequest.Builder targetAssetId(String targetAssetId)
Unique target asset identifier
targetAssetId
- the value to setpublic ListTargetAssetsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListTargetAssetsRequest.Builder page(String page)
A token representing the position at which to start retrieving results. This must come
from the opc-next-page
header field of the previous response.
page
- the value to setpublic ListTargetAssetsRequest.Builder lifecycleState(TargetAsset.LifecycleState lifecycleState)
The current state of the target asset.
lifecycleState
- the value to setpublic ListTargetAssetsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic ListTargetAssetsRequest.Builder sortBy(ListTargetAssetsRequest.SortBy sortBy)
The field to sort by. Only one sort order can be provided. The default order for ‘timeCreated’ is descending. The default order for ‘displayName’ is ascending.
sortBy
- the value to setpublic ListTargetAssetsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListTargetAssetsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListTargetAssetsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListTargetAssetsRequest.Builder copy(ListTargetAssetsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListTargetAssetsRequest,Void>
o
- other request from which to copy valuespublic ListTargetAssetsRequest build()
Build the instance of ListTargetAssetsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListTargetAssetsRequest,Void>
public ListTargetAssetsRequest buildWithoutInvocationCallback()
Build the instance of ListTargetAssetsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.