Class ListDashboardGroupsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dashboardservice.requests.ListDashboardGroupsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDashboardGroupsRequest,Void>
- Enclosing class:
- ListDashboardGroupsRequest
public static class ListDashboardGroupsRequest.Builder extends Object implements BmcRequest.Builder<ListDashboardGroupsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDashboardGroupsRequest
build()
Build the instance of ListDashboardGroupsRequest as configured by this builderListDashboardGroupsRequest
buildWithoutInvocationCallback()
Build the instance of ListDashboardGroupsRequest as configured by this builderListDashboardGroupsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.ListDashboardGroupsRequest.Builder
copy(ListDashboardGroupsRequest o)
Copy method to populate the builder with values from the given instance.ListDashboardGroupsRequest.Builder
displayName(String displayName)
A case-sensitive filter that returns resources that match the entire display name specified.ListDashboardGroupsRequest.Builder
id(String id)
The OCID of the dashboard group.ListDashboardGroupsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDashboardGroupsRequest.Builder
lifecycleState(DashboardGroup.LifecycleState lifecycleState)
A filter that returns dashboard groups that match the lifecycle state specified.ListDashboardGroupsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListDashboardGroupsRequest.Builder
opcCrossRegion(String opcCrossRegion)
To identify if the call is cross-regional.ListDashboardGroupsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListDashboardGroupsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListDashboardGroupsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDashboardGroupsRequest.Builder
sortBy(ListDashboardGroupsRequest.SortBy sortBy)
The field to sort by.ListDashboardGroupsRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).-
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 ListDashboardGroupsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDashboardGroupsRequest.Builder lifecycleState(DashboardGroup.LifecycleState lifecycleState)
A filter that returns dashboard groups that match the lifecycle state specified.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListDashboardGroupsRequest.Builder displayName(String displayName)
A case-sensitive filter that returns resources that match the entire display name specified.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
id
public ListDashboardGroupsRequest.Builder id(String id)
The OCID of the dashboard group.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
limit
public ListDashboardGroupsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListDashboardGroupsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This value is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDashboardGroupsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListDashboardGroupsRequest.Builder sortBy(ListDashboardGroupsRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDashboardGroupsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
opcCrossRegion
public ListDashboardGroupsRequest.Builder opcCrossRegion(String opcCrossRegion)
To identify if the call is cross-regional.In CRUD calls for a resource, to identify that the call originates from different region, set the CrossRegionIdentifierHeader parameter to a region name (ex - US-ASHBURN-1) The call will be served from a Replicated bucket. For same-region calls, the value is unassigned.
- Parameters:
opcCrossRegion
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDashboardGroupsRequest.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 ListDashboardGroupsRequest.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 ListDashboardGroupsRequest.Builder copy(ListDashboardGroupsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDashboardGroupsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDashboardGroupsRequest build()
Build the instance of ListDashboardGroupsRequest 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<ListDashboardGroupsRequest,Void>
- Returns:
- instance of ListDashboardGroupsRequest
-
buildWithoutInvocationCallback
public ListDashboardGroupsRequest buildWithoutInvocationCallback()
Build the instance of ListDashboardGroupsRequest 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 ListDashboardGroupsRequest
-
-