Package com.oracle.bmc.identity.requests
Class ListTagNamespacesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.requests.ListTagNamespacesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListTagNamespacesRequest,Void>
- Enclosing class:
- ListTagNamespacesRequest
public static class ListTagNamespacesRequest.Builder extends Object implements BmcRequest.Builder<ListTagNamespacesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTagNamespacesRequest
build()
Build the instance of ListTagNamespacesRequest as configured by this builderListTagNamespacesRequest
buildWithoutInvocationCallback()
Build the instance of ListTagNamespacesRequest as configured by this builderListTagNamespacesRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment (remember that the tenancy is simply the root compartment).ListTagNamespacesRequest.Builder
copy(ListTagNamespacesRequest o)
Copy method to populate the builder with values from the given instance.ListTagNamespacesRequest.Builder
includeSubcompartments(Boolean includeSubcompartments)
An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments.ListTagNamespacesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListTagNamespacesRequest.Builder
lifecycleState(TagNamespace.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.ListTagNamespacesRequest.Builder
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.ListTagNamespacesRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous “List” call.ListTagNamespacesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.-
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 ListTagNamespacesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment (remember that the tenancy is simply the root compartment).- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
page
public ListTagNamespacesRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
limit
public ListTagNamespacesRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
includeSubcompartments
public ListTagNamespacesRequest.Builder includeSubcompartments(Boolean includeSubcompartments)
An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments.If this parameter is not specified, only the tag namespaces defined in the specified compartment are retrieved.
- Parameters:
includeSubcompartments
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListTagNamespacesRequest.Builder lifecycleState(TagNamespace.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.The state value is case-insensitive.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListTagNamespacesRequest.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 ListTagNamespacesRequest.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 ListTagNamespacesRequest.Builder copy(ListTagNamespacesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListTagNamespacesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListTagNamespacesRequest build()
Build the instance of ListTagNamespacesRequest 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<ListTagNamespacesRequest,Void>
- Returns:
- instance of ListTagNamespacesRequest
-
buildWithoutInvocationCallback
public ListTagNamespacesRequest buildWithoutInvocationCallback()
Build the instance of ListTagNamespacesRequest 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 ListTagNamespacesRequest
-
-