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 ListTagDefaultsRequestbuild()Build the instance of ListTagDefaultsRequest as configured by this builderListTagDefaultsRequestbuildWithoutInvocationCallback()Build the instance of ListTagDefaultsRequest as configured by this builderListTagDefaultsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment (remember that the tenancy is simply the root compartment).ListTagDefaultsRequest.Buildercopy(ListTagDefaultsRequest o)Copy method to populate the builder with values from the given instance.ListTagDefaultsRequest.Builderid(String id)A filter to only return resources that match the specified OCID exactly.ListTagDefaultsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListTagDefaultsRequest.BuilderlifecycleState(TagDefaultSummary.LifecycleState lifecycleState)A filter to only return resources that match the given lifecycle state.ListTagDefaultsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListTagDefaultsRequest.Builderpage(String page)The value of the opc-next-page response header from the previous “List” call.ListTagDefaultsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListTagDefaultsRequest.BuildertagDefinitionId(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:
copyin 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:
buildin 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
-
-