Class ListDigitalTwinAdaptersRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.requests.ListDigitalTwinAdaptersRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDigitalTwinAdaptersRequest,Void>
- Enclosing class:
- ListDigitalTwinAdaptersRequest
public static class ListDigitalTwinAdaptersRequest.Builder extends Object implements BmcRequest.Builder<ListDigitalTwinAdaptersRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDigitalTwinAdaptersRequest
build()
Build the instance of ListDigitalTwinAdaptersRequest as configured by this builderListDigitalTwinAdaptersRequest
buildWithoutInvocationCallback()
Build the instance of ListDigitalTwinAdaptersRequest as configured by this builderListDigitalTwinAdaptersRequest.Builder
copy(ListDigitalTwinAdaptersRequest o)
Copy method to populate the builder with values from the given instance.ListDigitalTwinAdaptersRequest.Builder
digitalTwinModelId(String digitalTwinModelId)
Filter resources that match the specified OCID of the digital twin model.ListDigitalTwinAdaptersRequest.Builder
digitalTwinModelSpecUri(String digitalTwinModelSpecUri)
Filter resources that match the specified URI (DTMI) of the digital twin model.ListDigitalTwinAdaptersRequest.Builder
displayName(String displayName)
Filter resources whose display name matches the specified value.ListDigitalTwinAdaptersRequest.Builder
id(String id)
Filter resources by OCID.ListDigitalTwinAdaptersRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDigitalTwinAdaptersRequest.Builder
iotDomainId(String iotDomainId)
The OCID of the IoT domain in which to list digital twin resources.ListDigitalTwinAdaptersRequest.Builder
lifecycleState(LifecycleState lifecycleState)
Filter resources whose lifecycleState matches the specified value.ListDigitalTwinAdaptersRequest.Builder
limit(Integer limit)
For list pagination.ListDigitalTwinAdaptersRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListDigitalTwinAdaptersRequest.Builder
page(String page)
Page representing the requested page of items.ListDigitalTwinAdaptersRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDigitalTwinAdaptersRequest.Builder
sortBy(ListDigitalTwinAdaptersRequest.SortBy sortBy)
The field to sort by.ListDigitalTwinAdaptersRequest.Builder
sortOrder(ListDigitalTwinAdaptersRequest.SortOrder sortOrder)
Specifies sort order to use, either ASC (ascending) or DESC (descending).-
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
-
iotDomainId
public ListDigitalTwinAdaptersRequest.Builder iotDomainId(String iotDomainId)
The OCID of the IoT domain in which to list digital twin resources.- Parameters:
iotDomainId
- the value to set- Returns:
- this builder instance
-
id
public ListDigitalTwinAdaptersRequest.Builder id(String id)
Filter resources by OCID.Must be a valid OCID of the resource type.
- Parameters:
id
- the value to set- Returns:
- this builder instance
-
digitalTwinModelSpecUri
public ListDigitalTwinAdaptersRequest.Builder digitalTwinModelSpecUri(String digitalTwinModelSpecUri)
Filter resources that match the specified URI (DTMI) of the digital twin model.- Parameters:
digitalTwinModelSpecUri
- the value to set- Returns:
- this builder instance
-
digitalTwinModelId
public ListDigitalTwinAdaptersRequest.Builder digitalTwinModelId(String digitalTwinModelId)
Filter resources that match the specified OCID of the digital twin model.- Parameters:
digitalTwinModelId
- the value to set- Returns:
- this builder instance
-
displayName
public ListDigitalTwinAdaptersRequest.Builder displayName(String displayName)
Filter resources whose display name matches the specified value.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDigitalTwinAdaptersRequest.Builder lifecycleState(LifecycleState lifecycleState)
Filter resources whose lifecycleState matches the specified value.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
limit
public ListDigitalTwinAdaptersRequest.Builder limit(Integer limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListDigitalTwinAdaptersRequest.Builder page(String page)
Page representing the requested page of items.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDigitalTwinAdaptersRequest.Builder sortOrder(ListDigitalTwinAdaptersRequest.SortOrder sortOrder)
Specifies sort order to use, either ASC (ascending) or DESC (descending).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListDigitalTwinAdaptersRequest.Builder sortBy(ListDigitalTwinAdaptersRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDigitalTwinAdaptersRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDigitalTwinAdaptersRequest.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 ListDigitalTwinAdaptersRequest.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 ListDigitalTwinAdaptersRequest.Builder copy(ListDigitalTwinAdaptersRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDigitalTwinAdaptersRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDigitalTwinAdaptersRequest build()
Build the instance of ListDigitalTwinAdaptersRequest 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<ListDigitalTwinAdaptersRequest,Void>
- Returns:
- instance of ListDigitalTwinAdaptersRequest
-
buildWithoutInvocationCallback
public ListDigitalTwinAdaptersRequest buildWithoutInvocationCallback()
Build the instance of ListDigitalTwinAdaptersRequest 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 ListDigitalTwinAdaptersRequest
-
-