Class ListDigitalTwinRelationshipsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.requests.ListDigitalTwinRelationshipsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDigitalTwinRelationshipsRequest,Void>
- Enclosing class:
- ListDigitalTwinRelationshipsRequest
public static class ListDigitalTwinRelationshipsRequest.Builder extends Object implements BmcRequest.Builder<ListDigitalTwinRelationshipsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDigitalTwinRelationshipsRequestbuild()Build the instance of ListDigitalTwinRelationshipsRequest as configured by this builderListDigitalTwinRelationshipsRequestbuildWithoutInvocationCallback()Build the instance of ListDigitalTwinRelationshipsRequest as configured by this builderListDigitalTwinRelationshipsRequest.BuildercontentPath(String contentPath)Filters resources that match the content path of the digital twin relationship.ListDigitalTwinRelationshipsRequest.Buildercopy(ListDigitalTwinRelationshipsRequest o)Copy method to populate the builder with values from the given instance.ListDigitalTwinRelationshipsRequest.BuilderdisplayName(String displayName)Filter resources whose display name matches the specified value.ListDigitalTwinRelationshipsRequest.Builderid(String id)Filter resources by OCID.ListDigitalTwinRelationshipsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDigitalTwinRelationshipsRequest.BuilderiotDomainId(String iotDomainId)The OCID of the IoT domain in which to list digital twin resources.ListDigitalTwinRelationshipsRequest.BuilderlifecycleState(LifecycleState lifecycleState)Filter resources whose lifecycleState matches the specified value.ListDigitalTwinRelationshipsRequest.Builderlimit(Integer limit)For list pagination.ListDigitalTwinRelationshipsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListDigitalTwinRelationshipsRequest.Builderpage(String page)Page representing the requested page of items.ListDigitalTwinRelationshipsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDigitalTwinRelationshipsRequest.BuildersortBy(ListDigitalTwinRelationshipsRequest.SortBy sortBy)The field to sort by.ListDigitalTwinRelationshipsRequest.BuildersortOrder(ListDigitalTwinRelationshipsRequest.SortOrder sortOrder)Specifies sort order to use, either ASC (ascending) or DESC (descending).ListDigitalTwinRelationshipsRequest.BuildersourceDigitalTwinInstanceId(String sourceDigitalTwinInstanceId)Filter resources that match the specified OCID of source digital twin instance.ListDigitalTwinRelationshipsRequest.BuildertargetDigitalTwinInstanceId(String targetDigitalTwinInstanceId)Filter resources that match the specified OCID of target digital twin instance.-
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 ListDigitalTwinRelationshipsRequest.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
-
displayName
public ListDigitalTwinRelationshipsRequest.Builder displayName(String displayName)
Filter resources whose display name matches the specified value.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
contentPath
public ListDigitalTwinRelationshipsRequest.Builder contentPath(String contentPath)
Filters resources that match the content path of the digital twin relationship.- Parameters:
contentPath- the value to set- Returns:
- this builder instance
-
sourceDigitalTwinInstanceId
public ListDigitalTwinRelationshipsRequest.Builder sourceDigitalTwinInstanceId(String sourceDigitalTwinInstanceId)
Filter resources that match the specified OCID of source digital twin instance.- Parameters:
sourceDigitalTwinInstanceId- the value to set- Returns:
- this builder instance
-
targetDigitalTwinInstanceId
public ListDigitalTwinRelationshipsRequest.Builder targetDigitalTwinInstanceId(String targetDigitalTwinInstanceId)
Filter resources that match the specified OCID of target digital twin instance.- Parameters:
targetDigitalTwinInstanceId- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDigitalTwinRelationshipsRequest.Builder lifecycleState(LifecycleState lifecycleState)
Filter resources whose lifecycleState matches the specified value.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
limit
public ListDigitalTwinRelationshipsRequest.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 ListDigitalTwinRelationshipsRequest.Builder page(String page)
Page representing the requested page of items.- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDigitalTwinRelationshipsRequest.Builder sortOrder(ListDigitalTwinRelationshipsRequest.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 ListDigitalTwinRelationshipsRequest.Builder sortBy(ListDigitalTwinRelationshipsRequest.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 ListDigitalTwinRelationshipsRequest.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
-
id
public ListDigitalTwinRelationshipsRequest.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
-
invocationCallback
public ListDigitalTwinRelationshipsRequest.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 ListDigitalTwinRelationshipsRequest.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 ListDigitalTwinRelationshipsRequest.Builder copy(ListDigitalTwinRelationshipsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDigitalTwinRelationshipsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDigitalTwinRelationshipsRequest build()
Build the instance of ListDigitalTwinRelationshipsRequest 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:
buildin interfaceBmcRequest.Builder<ListDigitalTwinRelationshipsRequest,Void>- Returns:
- instance of ListDigitalTwinRelationshipsRequest
-
buildWithoutInvocationCallback
public ListDigitalTwinRelationshipsRequest buildWithoutInvocationCallback()
Build the instance of ListDigitalTwinRelationshipsRequest 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 ListDigitalTwinRelationshipsRequest
-
-