Class ListOdaPrivateEndpointAttachmentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.requests.ListOdaPrivateEndpointAttachmentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListOdaPrivateEndpointAttachmentsRequest,Void>
- Enclosing class:
- ListOdaPrivateEndpointAttachmentsRequest
public static class ListOdaPrivateEndpointAttachmentsRequest.Builder extends Object implements BmcRequest.Builder<ListOdaPrivateEndpointAttachmentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOdaPrivateEndpointAttachmentsRequestbuild()Build the instance of ListOdaPrivateEndpointAttachmentsRequest as configured by this builderListOdaPrivateEndpointAttachmentsRequestbuildWithoutInvocationCallback()Build the instance of ListOdaPrivateEndpointAttachmentsRequest as configured by this builderListOdaPrivateEndpointAttachmentsRequest.BuildercompartmentId(String compartmentId)List the ODA Private Endpoint Attachments that belong to this compartment.ListOdaPrivateEndpointAttachmentsRequest.Buildercopy(ListOdaPrivateEndpointAttachmentsRequest o)Copy method to populate the builder with values from the given instance.ListOdaPrivateEndpointAttachmentsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListOdaPrivateEndpointAttachmentsRequest.BuilderlifecycleState(OdaPrivateEndpointAttachment.LifecycleState lifecycleState)List only the ODA Private Endpoint Attachments that are in this lifecycle state.ListOdaPrivateEndpointAttachmentsRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListOdaPrivateEndpointAttachmentsRequest.BuilderodaPrivateEndpointId(String odaPrivateEndpointId)The OCID of ODA Private Endpoint.ListOdaPrivateEndpointAttachmentsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListOdaPrivateEndpointAttachmentsRequest.Builderpage(String page)The page at which to start retrieving results.ListOdaPrivateEndpointAttachmentsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListOdaPrivateEndpointAttachmentsRequest.BuildersortBy(ListOdaPrivateEndpointAttachmentsRequest.SortBy sortBy)Sort on this field.ListOdaPrivateEndpointAttachmentsRequest.BuildersortOrder(ListOdaPrivateEndpointAttachmentsRequest.SortOrder sortOrder)Sort the results in this order, use either ASC (ascending) or DESC (descending).-
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
-
odaPrivateEndpointId
public ListOdaPrivateEndpointAttachmentsRequest.Builder odaPrivateEndpointId(String odaPrivateEndpointId)
The OCID of ODA Private Endpoint.- Parameters:
odaPrivateEndpointId- the value to set- Returns:
- this builder instance
-
compartmentId
public ListOdaPrivateEndpointAttachmentsRequest.Builder compartmentId(String compartmentId)
List the ODA Private Endpoint Attachments that belong to this compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
limit
public ListOdaPrivateEndpointAttachmentsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListOdaPrivateEndpointAttachmentsRequest.Builder page(String page)
The page at which to start retrieving results.You get this value from the opc-next-page header in a previous list request. To retireve the first page, omit this query parameter.
Example: MToxMA==
- Parameters:
page- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListOdaPrivateEndpointAttachmentsRequest.Builder lifecycleState(OdaPrivateEndpointAttachment.LifecycleState lifecycleState)
List only the ODA Private Endpoint Attachments that are in this lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
sortOrder
public ListOdaPrivateEndpointAttachmentsRequest.Builder sortOrder(ListOdaPrivateEndpointAttachmentsRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC (ascending) or DESC (descending).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListOdaPrivateEndpointAttachmentsRequest.Builder sortBy(ListOdaPrivateEndpointAttachmentsRequest.SortBy sortBy)
Sort on this field.You can specify one sort order only. The default sort field is TIMECREATED.
The default sort order for TIMECREATED is descending, and the default sort order for DISPLAYNAME is ascending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListOdaPrivateEndpointAttachmentsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.This value is included in the opc-request-id response header.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListOdaPrivateEndpointAttachmentsRequest.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 ListOdaPrivateEndpointAttachmentsRequest.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 ListOdaPrivateEndpointAttachmentsRequest.Builder copy(ListOdaPrivateEndpointAttachmentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListOdaPrivateEndpointAttachmentsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListOdaPrivateEndpointAttachmentsRequest build()
Build the instance of ListOdaPrivateEndpointAttachmentsRequest 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<ListOdaPrivateEndpointAttachmentsRequest,Void>- Returns:
- instance of ListOdaPrivateEndpointAttachmentsRequest
-
buildWithoutInvocationCallback
public ListOdaPrivateEndpointAttachmentsRequest buildWithoutInvocationCallback()
Build the instance of ListOdaPrivateEndpointAttachmentsRequest 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 ListOdaPrivateEndpointAttachmentsRequest
-
-