Class ListSqlTextsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.requests.ListSqlTextsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSqlTextsRequest,Void>
- Enclosing class:
- ListSqlTextsRequest
public static class ListSqlTextsRequest.Builder extends Object implements BmcRequest.Builder<ListSqlTextsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSqlTextsRequest
build()
Build the instance of ListSqlTextsRequest as configured by this builderListSqlTextsRequest
buildWithoutInvocationCallback()
Build the instance of ListSqlTextsRequest as configured by this builderListSqlTextsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListSqlTextsRequest.Builder
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
A flag to search all resources within a given compartment and all sub-compartments.ListSqlTextsRequest.Builder
copy(ListSqlTextsRequest o)
Copy method to populate the builder with values from the given instance.ListSqlTextsRequest.Builder
databaseId(String singularValue)
Singular setter.ListSqlTextsRequest.Builder
databaseId(List<String> databaseId)
Optional list of database OCIDs of the assosicated DBaaS entity.ListSqlTextsRequest.Builder
definedTagEquals(String singularValue)
Singular setter.ListSqlTextsRequest.Builder
definedTagEquals(List<String> definedTagEquals)
A list of tag filters to apply.ListSqlTextsRequest.Builder
definedTagExists(String singularValue)
Singular setter.ListSqlTextsRequest.Builder
definedTagExists(List<String> definedTagExists)
A list of tag existence filters to apply.ListSqlTextsRequest.Builder
freeformTagEquals(String singularValue)
Singular setter.ListSqlTextsRequest.Builder
freeformTagEquals(List<String> freeformTagEquals)
A list of tag filters to apply.ListSqlTextsRequest.Builder
freeformTagExists(String singularValue)
Singular setter.ListSqlTextsRequest.Builder
freeformTagExists(List<String> freeformTagExists)
A list of tag existence filters to apply.ListSqlTextsRequest.Builder
id(String singularValue)
Singular setter.ListSqlTextsRequest.Builder
id(List<String> id)
Optional list of database OCIDs of the database insight resource.ListSqlTextsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSqlTextsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListSqlTextsRequest.Builder
page(String page)
For list pagination.ListSqlTextsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSqlTextsRequest.Builder
sqlIdentifier(String singularValue)
Singular setter.ListSqlTextsRequest.Builder
sqlIdentifier(List<String> sqlIdentifier)
One or more unique SQL_IDs for a SQL Statement.-
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
-
compartmentId
public ListSqlTextsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
sqlIdentifier
public ListSqlTextsRequest.Builder sqlIdentifier(List<String> sqlIdentifier)
One or more unique SQL_IDs for a SQL Statement.Example: 6rgjh9bjmy2s7
- Parameters:
sqlIdentifier
- the value to set- Returns:
- this builder instance
-
sqlIdentifier
public ListSqlTextsRequest.Builder sqlIdentifier(String singularValue)
Singular setter.One or more unique SQL_IDs for a SQL Statement. Example: 6rgjh9bjmy2s7
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
databaseId
public ListSqlTextsRequest.Builder databaseId(List<String> databaseId)
Optional list of database OCIDs of the assosicated DBaaS entity.- Parameters:
databaseId
- the value to set- Returns:
- this builder instance
-
databaseId
public ListSqlTextsRequest.Builder databaseId(String singularValue)
Singular setter.Optional list of database OCIDs of the assosicated DBaaS entity.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
id
public ListSqlTextsRequest.Builder id(List<String> id)
Optional list of database OCIDs of the database insight resource.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
id
public ListSqlTextsRequest.Builder id(String singularValue)
Singular setter.Optional list of database OCIDs of the database insight resource.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
page
public ListSqlTextsRequest.Builder page(String page)
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSqlTextsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
definedTagEquals
public ListSqlTextsRequest.Builder definedTagEquals(List<String> definedTagEquals)
A list of tag filters to apply.Only resources with a defined tag matching the value will be returned. Each item in the list has the format “{namespace}.{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
definedTagEquals
- the value to set- Returns:
- this builder instance
-
definedTagEquals
public ListSqlTextsRequest.Builder definedTagEquals(String singularValue)
Singular setter.A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format “{namespace}.{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
freeformTagEquals
public ListSqlTextsRequest.Builder freeformTagEquals(List<String> freeformTagEquals)
A list of tag filters to apply.Only resources with a freeform tag matching the value will be returned. The key for each tag is “{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same tag name are interpreted as “OR”. Values for different tag names are interpreted as “AND”.
- Parameters:
freeformTagEquals
- the value to set- Returns:
- this builder instance
-
freeformTagEquals
public ListSqlTextsRequest.Builder freeformTagEquals(String singularValue)
Singular setter.A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is “{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same tag name are interpreted as “OR”. Values for different tag names are interpreted as “AND”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
definedTagExists
public ListSqlTextsRequest.Builder definedTagExists(List<String> definedTagExists)
A list of tag existence filters to apply.Only resources for which the specified defined tags exist will be returned. Each item in the list has the format “{namespace}.{tagName}.true” (for checking existence of a defined tag) or “{namespace}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
definedTagExists
- the value to set- Returns:
- this builder instance
-
definedTagExists
public ListSqlTextsRequest.Builder definedTagExists(String singularValue)
Singular setter.A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned. Each item in the list has the format “{namespace}.{tagName}.true” (for checking existence of a defined tag) or “{namespace}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
freeformTagExists
public ListSqlTextsRequest.Builder freeformTagExists(List<String> freeformTagExists)
A list of tag existence filters to apply.Only resources for which the specified freeform tags exist the value will be returned. The key for each tag is “{tagName}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for different tag names are interpreted as “AND”.
- Parameters:
freeformTagExists
- the value to set- Returns:
- this builder instance
-
freeformTagExists
public ListSqlTextsRequest.Builder freeformTagExists(String singularValue)
Singular setter.A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned. The key for each tag is “{tagName}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for different tag names are interpreted as “AND”.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public ListSqlTextsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
A flag to search all resources within a given compartment and all sub-compartments.- Parameters:
compartmentIdInSubtree
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSqlTextsRequest.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 ListSqlTextsRequest.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 ListSqlTextsRequest.Builder copy(ListSqlTextsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSqlTextsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSqlTextsRequest build()
Build the instance of ListSqlTextsRequest 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<ListSqlTextsRequest,Void>
- Returns:
- instance of ListSqlTextsRequest
-
buildWithoutInvocationCallback
public ListSqlTextsRequest buildWithoutInvocationCallback()
Build the instance of ListSqlTextsRequest 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 ListSqlTextsRequest
-
-