Package com.oracle.bmc.identity.requests
Class ListUserGroupMembershipsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.requests.ListUserGroupMembershipsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListUserGroupMembershipsRequest,Void>
- Enclosing class:
- ListUserGroupMembershipsRequest
public static class ListUserGroupMembershipsRequest.Builder extends Object implements BmcRequest.Builder<ListUserGroupMembershipsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListUserGroupMembershipsRequestbuild()Build the instance of ListUserGroupMembershipsRequest as configured by this builderListUserGroupMembershipsRequestbuildWithoutInvocationCallback()Build the instance of ListUserGroupMembershipsRequest as configured by this builderListUserGroupMembershipsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment (remember that the tenancy is simply the root compartment).ListUserGroupMembershipsRequest.Buildercopy(ListUserGroupMembershipsRequest o)Copy method to populate the builder with values from the given instance.ListUserGroupMembershipsRequest.BuildergroupId(String groupId)The OCID of the group.ListUserGroupMembershipsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListUserGroupMembershipsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListUserGroupMembershipsRequest.Builderpage(String page)The value of the opc-next-page response header from the previous “List” call.ListUserGroupMembershipsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListUserGroupMembershipsRequest.BuilderuserId(String userId)The OCID of the user.-
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 ListUserGroupMembershipsRequest.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
-
userId
public ListUserGroupMembershipsRequest.Builder userId(String userId)
The OCID of the user.- Parameters:
userId- the value to set- Returns:
- this builder instance
-
groupId
public ListUserGroupMembershipsRequest.Builder groupId(String groupId)
The OCID of the group.- Parameters:
groupId- the value to set- Returns:
- this builder instance
-
page
public ListUserGroupMembershipsRequest.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 ListUserGroupMembershipsRequest.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
-
invocationCallback
public ListUserGroupMembershipsRequest.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 ListUserGroupMembershipsRequest.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 ListUserGroupMembershipsRequest.Builder copy(ListUserGroupMembershipsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListUserGroupMembershipsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListUserGroupMembershipsRequest build()
Build the instance of ListUserGroupMembershipsRequest 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<ListUserGroupMembershipsRequest,Void>- Returns:
- instance of ListUserGroupMembershipsRequest
-
buildWithoutInvocationCallback
public ListUserGroupMembershipsRequest buildWithoutInvocationCallback()
Build the instance of ListUserGroupMembershipsRequest 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 ListUserGroupMembershipsRequest
-
-