public static class AnalyzeAssetsRequest.Builder extends Object implements BmcRequest.Builder<AnalyzeAssetsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AnalyzeAssetsRequest.Builder |
aggregationProperties(List<String> aggregationProperties)
An array of properties on which to aggregate.
|
AnalyzeAssetsRequest.Builder |
aggregationProperties(String singularValue)
Singular setter.
|
AnalyzeAssetsRequest.Builder |
assetType(AssetType assetType)
The type of asset.
|
AnalyzeAssetsRequest |
build()
Build the instance of AnalyzeAssetsRequest as configured by this builder
|
AnalyzeAssetsRequest |
buildWithoutInvocationCallback()
Build the instance of AnalyzeAssetsRequest as configured by this builder
|
AnalyzeAssetsRequest.Builder |
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
|
AnalyzeAssetsRequest.Builder |
copy(AnalyzeAssetsRequest o)
Copy method to populate the builder with values from the given instance.
|
AnalyzeAssetsRequest.Builder |
externalAssetKey(String externalAssetKey)
External asset key.
|
AnalyzeAssetsRequest.Builder |
groupBy(List<String> groupBy)
The dimensions in which to group the aggregations.
|
AnalyzeAssetsRequest.Builder |
groupBy(String singularValue)
Singular setter.
|
AnalyzeAssetsRequest.Builder |
inventoryId(String inventoryId)
Unique Inventory identifier.
|
AnalyzeAssetsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
AnalyzeAssetsRequest.Builder |
lifecycleState(Asset.LifecycleState lifecycleState)
A filter to return only assets whose lifecycleState matches the given lifecycleState.
|
AnalyzeAssetsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
AnalyzeAssetsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
AnalyzeAssetsRequest.Builder |
page(String page)
A token representing the position at which to start retrieving results.
|
AnalyzeAssetsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
AnalyzeAssetsRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
AnalyzeAssetsRequest.Builder |
sourceKey(String sourceKey)
Source key from where the assets originate.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public AnalyzeAssetsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
compartmentId
- the value to setpublic AnalyzeAssetsRequest.Builder aggregationProperties(List<String> aggregationProperties)
An array of properties on which to aggregate.
aggregationProperties
- the value to setpublic AnalyzeAssetsRequest.Builder aggregationProperties(String singularValue)
Singular setter. An array of properties on which to aggregate.
singularValue
- the singular value to setpublic AnalyzeAssetsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic AnalyzeAssetsRequest.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 a previous response.
page
- the value to setpublic AnalyzeAssetsRequest.Builder lifecycleState(Asset.LifecycleState lifecycleState)
A filter to return only assets whose lifecycleState matches the given lifecycleState.
lifecycleState
- the value to setpublic AnalyzeAssetsRequest.Builder sourceKey(String sourceKey)
Source key from where the assets originate.
sourceKey
- the value to setpublic AnalyzeAssetsRequest.Builder externalAssetKey(String externalAssetKey)
External asset key.
externalAssetKey
- the value to setpublic AnalyzeAssetsRequest.Builder assetType(AssetType assetType)
The type of asset.
assetType
- the value to setpublic AnalyzeAssetsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic AnalyzeAssetsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic AnalyzeAssetsRequest.Builder groupBy(List<String> groupBy)
The dimensions in which to group the aggregations.
groupBy
- the value to setpublic AnalyzeAssetsRequest.Builder groupBy(String singularValue)
Singular setter. The dimensions in which to group the aggregations.
singularValue
- the singular value to setpublic AnalyzeAssetsRequest.Builder inventoryId(String inventoryId)
Unique Inventory identifier.
inventoryId
- the value to setpublic AnalyzeAssetsRequest.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 AnalyzeAssetsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic AnalyzeAssetsRequest.Builder copy(AnalyzeAssetsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<AnalyzeAssetsRequest,Void>
o
- other request from which to copy valuespublic AnalyzeAssetsRequest build()
Build the instance of AnalyzeAssetsRequest 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<AnalyzeAssetsRequest,Void>
public AnalyzeAssetsRequest buildWithoutInvocationCallback()
Build the instance of AnalyzeAssetsRequest 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.