public static class ListClusterPlacementGroupsRequest.Builder extends Object implements BmcRequest.Builder<ListClusterPlacementGroupsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListClusterPlacementGroupsRequest.Builder |
ad(String ad)
A filter to return only the resources that match the specified availability domain.
|
ListClusterPlacementGroupsRequest |
build()
Build the instance of ListClusterPlacementGroupsRequest as configured by this builder
|
ListClusterPlacementGroupsRequest |
buildWithoutInvocationCallback()
Build the instance of ListClusterPlacementGroupsRequest as configured by this builder
|
ListClusterPlacementGroupsRequest.Builder |
compartmentId(String compartmentId)
A filter to return only the resources that match the specified compartment
OCID.
|
ListClusterPlacementGroupsRequest.Builder |
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
When set to
true , cluster placement groups in all compartments under the
specified compartment are returned. |
ListClusterPlacementGroupsRequest.Builder |
copy(ListClusterPlacementGroupsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListClusterPlacementGroupsRequest.Builder |
id(String id)
A filter to return only the resources that match the specified unique cluster placement
group identifier.
|
ListClusterPlacementGroupsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListClusterPlacementGroupsRequest.Builder |
lifecycleState(ClusterPlacementGroup.LifecycleState lifecycleState)
A filter to return only the resources that match the specified lifecycle state.
|
ListClusterPlacementGroupsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListClusterPlacementGroupsRequest.Builder |
name(String name)
A filter to return only the resources that match the entire display name specified.
|
ListClusterPlacementGroupsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListClusterPlacementGroupsRequest.Builder |
page(String page)
A token representing the position at which to start retrieving results.
|
ListClusterPlacementGroupsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListClusterPlacementGroupsRequest.Builder |
sortBy(ListClusterPlacementGroupsRequest.SortBy sortBy)
The field to sort by.
|
ListClusterPlacementGroupsRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListClusterPlacementGroupsRequest.Builder compartmentId(String compartmentId)
A filter to return only the resources that match the specified compartment OCID.
compartmentId
- the value to setpublic ListClusterPlacementGroupsRequest.Builder lifecycleState(ClusterPlacementGroup.LifecycleState lifecycleState)
A filter to return only the resources that match the specified lifecycle state.
lifecycleState
- the value to setpublic ListClusterPlacementGroupsRequest.Builder name(String name)
A filter to return only the resources that match the entire display name specified.
name
- the value to setpublic ListClusterPlacementGroupsRequest.Builder ad(String ad)
A filter to return only the resources that match the specified availability domain.
ad
- the value to setpublic ListClusterPlacementGroupsRequest.Builder id(String id)
A filter to return only the resources that match the specified unique cluster placement group identifier.
id
- the value to setpublic ListClusterPlacementGroupsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListClusterPlacementGroupsRequest.Builder page(String page)
A token representing the position at which to start retrieving results. This must come
from the opc-next-page
header field of a previous response.
page
- the value to setpublic ListClusterPlacementGroupsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic ListClusterPlacementGroupsRequest.Builder sortBy(ListClusterPlacementGroupsRequest.SortBy sortBy)
The field to sort by. You can specify only one sort order. The default order for timeCreated
is descending. The default order for name
is ascending.
sortBy
- the value to setpublic ListClusterPlacementGroupsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
When set to true
, cluster placement groups in all compartments under the
specified compartment are returned. The default is set to false
.
compartmentIdInSubtree
- the value to setpublic ListClusterPlacementGroupsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListClusterPlacementGroupsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListClusterPlacementGroupsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListClusterPlacementGroupsRequest.Builder copy(ListClusterPlacementGroupsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListClusterPlacementGroupsRequest,Void>
o
- other request from which to copy valuespublic ListClusterPlacementGroupsRequest build()
Build the instance of ListClusterPlacementGroupsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListClusterPlacementGroupsRequest,Void>
public ListClusterPlacementGroupsRequest buildWithoutInvocationCallback()
Build the instance of ListClusterPlacementGroupsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.