Package com.oracle.bmc.identity.requests
Class ListTagsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.requests.ListTagsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListTagsRequest,Void>
- Enclosing class:
- ListTagsRequest
public static class ListTagsRequest.Builder extends Object implements BmcRequest.Builder<ListTagsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTagsRequest
build()
Build the instance of ListTagsRequest as configured by this builderListTagsRequest
buildWithoutInvocationCallback()
Build the instance of ListTagsRequest as configured by this builderListTagsRequest.Builder
copy(ListTagsRequest o)
Copy method to populate the builder with values from the given instance.ListTagsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListTagsRequest.Builder
lifecycleState(Tag.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.ListTagsRequest.Builder
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.ListTagsRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous “List” call.ListTagsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListTagsRequest.Builder
tagNamespaceId(String tagNamespaceId)
The OCID of the tag namespace.-
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
-
tagNamespaceId
public ListTagsRequest.Builder tagNamespaceId(String tagNamespaceId)
The OCID of the tag namespace.- Parameters:
tagNamespaceId
- the value to set- Returns:
- this builder instance
-
page
public ListTagsRequest.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 ListTagsRequest.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
-
lifecycleState
public ListTagsRequest.Builder lifecycleState(Tag.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 ListTagsRequest.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 ListTagsRequest.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 ListTagsRequest.Builder copy(ListTagsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListTagsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListTagsRequest build()
Build the instance of ListTagsRequest 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<ListTagsRequest,Void>
- Returns:
- instance of ListTagsRequest
-
buildWithoutInvocationCallback
public ListTagsRequest buildWithoutInvocationCallback()
Build the instance of ListTagsRequest 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 ListTagsRequest
-
-