Class ListReferentialRelationsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListReferentialRelationsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListReferentialRelationsRequest,Void>
- Enclosing class:
- ListReferentialRelationsRequest
public static class ListReferentialRelationsRequest.Builder extends Object implements BmcRequest.Builder<ListReferentialRelationsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListReferentialRelationsRequest
build()
Build the instance of ListReferentialRelationsRequest as configured by this builderListReferentialRelationsRequest
buildWithoutInvocationCallback()
Build the instance of ListReferentialRelationsRequest as configured by this builderListReferentialRelationsRequest.Builder
columnName(String singularValue)
Singular setter.ListReferentialRelationsRequest.Builder
columnName(List<String> columnName)
A filter to return only a specific column based on column name.ListReferentialRelationsRequest.Builder
copy(ListReferentialRelationsRequest o)
Copy method to populate the builder with values from the given instance.ListReferentialRelationsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListReferentialRelationsRequest.Builder
isSensitive(Boolean isSensitive)
Returns referential relations containing sensitive columns when true.ListReferentialRelationsRequest.Builder
limit(Integer limit)
For list pagination.ListReferentialRelationsRequest.Builder
objectName(String singularValue)
Singular setter.ListReferentialRelationsRequest.Builder
objectName(List<String> objectName)
A filter to return only items related to a specific object name.ListReferentialRelationsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListReferentialRelationsRequest.Builder
page(String page)
For list pagination.ListReferentialRelationsRequest.Builder
relationType(ListReferentialRelationsRequest.RelationType singularValue)
Singular setter.ListReferentialRelationsRequest.Builder
relationType(List<ListReferentialRelationsRequest.RelationType> relationType)
A filter to return sensitive columns based on their relationship with their parent columns.ListReferentialRelationsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListReferentialRelationsRequest.Builder
schemaName(String singularValue)
Singular setter.ListReferentialRelationsRequest.Builder
schemaName(List<String> schemaName)
A filter to return only items related to specific schema name.ListReferentialRelationsRequest.Builder
sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model.ListReferentialRelationsRequest.Builder
sortBy(ListReferentialRelationsRequest.SortBy sortBy)
The field to sort by.ListReferentialRelationsRequest.Builder
sortOrder(ListReferentialRelationsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (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
-
sensitiveDataModelId
public ListReferentialRelationsRequest.Builder sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model.- Parameters:
sensitiveDataModelId
- the value to set- Returns:
- this builder instance
-
schemaName
public ListReferentialRelationsRequest.Builder schemaName(List<String> schemaName)
A filter to return only items related to specific schema name.- Parameters:
schemaName
- the value to set- Returns:
- this builder instance
-
schemaName
public ListReferentialRelationsRequest.Builder schemaName(String singularValue)
Singular setter.A filter to return only items related to specific schema name.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
objectName
public ListReferentialRelationsRequest.Builder objectName(List<String> objectName)
A filter to return only items related to a specific object name.- Parameters:
objectName
- the value to set- Returns:
- this builder instance
-
objectName
public ListReferentialRelationsRequest.Builder objectName(String singularValue)
Singular setter.A filter to return only items related to a specific object name.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
columnName
public ListReferentialRelationsRequest.Builder columnName(List<String> columnName)
A filter to return only a specific column based on column name.- Parameters:
columnName
- the value to set- Returns:
- this builder instance
-
columnName
public ListReferentialRelationsRequest.Builder columnName(String singularValue)
Singular setter.A filter to return only a specific column based on column name.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
isSensitive
public ListReferentialRelationsRequest.Builder isSensitive(Boolean isSensitive)
Returns referential relations containing sensitive columns when true.Returns referential relations containing non sensitive columns when false.
- Parameters:
isSensitive
- the value to set- Returns:
- this builder instance
-
relationType
public ListReferentialRelationsRequest.Builder relationType(List<ListReferentialRelationsRequest.RelationType> relationType)
A filter to return sensitive columns based on their relationship with their parent columns.If set to NONE, it returns the sensitive columns that do not have any parent. The response includes the parent columns as well as the independent columns that are not in any relationship. If set to APP_DEFINED, it returns all the child columns that have application-level (non-dictionary) relationship with their parents. If set to DB_DEFINED, it returns all the child columns that have database-level (dictionary-defined) relationship with their parents.
- Parameters:
relationType
- the value to set- Returns:
- this builder instance
-
relationType
public ListReferentialRelationsRequest.Builder relationType(ListReferentialRelationsRequest.RelationType singularValue)
Singular setter.A filter to return sensitive columns based on their relationship with their parent columns. If set to NONE, it returns the sensitive columns that do not have any parent. The response includes the parent columns as well as the independent columns that are not in any relationship. If set to APP_DEFINED, it returns all the child columns that have application-level (non-dictionary) relationship with their parents. If set to DB_DEFINED, it returns all the child columns that have database-level (dictionary-defined) relationship with their parents.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
limit
public ListReferentialRelationsRequest.Builder limit(Integer limit)
For list pagination.The maximum number of items to return per page in a paginated “List” call. For details about how pagination works, see List Pagination.
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListReferentialRelationsRequest.Builder page(String page)
For list pagination.The page token representing the page at which to start retrieving results. It is usually retrieved from a previous “List” call. For details about how pagination works, see List Pagination.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListReferentialRelationsRequest.Builder sortOrder(ListReferentialRelationsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListReferentialRelationsRequest.Builder sortBy(ListReferentialRelationsRequest.SortBy sortBy)
The field to sort by.You can specify only one sorting parameter (sortOrder). The default order for key is descending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListReferentialRelationsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListReferentialRelationsRequest.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 ListReferentialRelationsRequest.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 ListReferentialRelationsRequest.Builder copy(ListReferentialRelationsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListReferentialRelationsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListReferentialRelationsRequest build()
Build the instance of ListReferentialRelationsRequest 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<ListReferentialRelationsRequest,Void>
- Returns:
- instance of ListReferentialRelationsRequest
-
buildWithoutInvocationCallback
public ListReferentialRelationsRequest buildWithoutInvocationCallback()
Build the instance of ListReferentialRelationsRequest 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 ListReferentialRelationsRequest
-
-