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