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 ListTagNamespacesRequestbuild()Build the instance of ListTagNamespacesRequest as configured by this builderListTagNamespacesRequestbuildWithoutInvocationCallback()Build the instance of ListTagNamespacesRequest as configured by this builderListTagNamespacesRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment (remember that the tenancy is simply the root compartment).ListTagNamespacesRequest.Buildercopy(ListTagNamespacesRequest o)Copy method to populate the builder with values from the given instance.ListTagNamespacesRequest.BuilderincludeSubcompartments(Boolean includeSubcompartments)An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments.ListTagNamespacesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListTagNamespacesRequest.BuilderlifecycleState(TagNamespace.LifecycleState lifecycleState)A filter to only return resources that match the given lifecycle state.ListTagNamespacesRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListTagNamespacesRequest.Builderpage(String page)The value of the opc-next-page response header from the previous “List” call.ListTagNamespacesRequest.BuilderretryConfiguration(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:
copyin 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:
buildin 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
-
-