Class ListAssociatedResourcesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListAssociatedResourcesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAssociatedResourcesRequest,Void>
- Enclosing class:
- ListAssociatedResourcesRequest
public static class ListAssociatedResourcesRequest.Builder extends Object implements BmcRequest.Builder<ListAssociatedResourcesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAssociatedResourcesRequest.BuilderassociatedResourceId(String associatedResourceId)A filter to return attribute set associated resource that matches the specified associated resource id query param.ListAssociatedResourcesRequest.BuilderassociatedResourceType(AssociatedResourceSummary.AssociatedResourceType associatedResourceType)A filter to return attribute set associated resources that matches the specified resource type query param.ListAssociatedResourcesRequest.BuilderattributeSetId(String attributeSetId)OCID of an attribute set.ListAssociatedResourcesRequestbuild()Build the instance of ListAssociatedResourcesRequest as configured by this builderListAssociatedResourcesRequestbuildWithoutInvocationCallback()Build the instance of ListAssociatedResourcesRequest as configured by this builderListAssociatedResourcesRequest.Buildercopy(ListAssociatedResourcesRequest o)Copy method to populate the builder with values from the given instance.ListAssociatedResourcesRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.ListAssociatedResourcesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListAssociatedResourcesRequest.Builderlimit(Integer limit)For list pagination.ListAssociatedResourcesRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListAssociatedResourcesRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ListAssociatedResourcesRequest.Builderpage(String page)For list pagination.ListAssociatedResourcesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
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
-
attributeSetId
public ListAssociatedResourcesRequest.Builder attributeSetId(String attributeSetId)
OCID of an attribute set.- Parameters:
attributeSetId- the value to set- Returns:
- this builder instance
-
ifMatch
public ListAssociatedResourcesRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAssociatedResourcesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListAssociatedResourcesRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
limit
public ListAssociatedResourcesRequest.Builder limit(Integer limit)
For list pagination.The maximum number of items to return per page in a paginated “List” call. For details about how pagination works, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListAssociatedResourcesRequest.Builder page(String page)
For list pagination.The page token representing the page at which to start retrieving results. It is usually retrieved from a previous “List” call. For details about how pagination works, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
associatedResourceType
public ListAssociatedResourcesRequest.Builder associatedResourceType(AssociatedResourceSummary.AssociatedResourceType associatedResourceType)
A filter to return attribute set associated resources that matches the specified resource type query param.- Parameters:
associatedResourceType- the value to set- Returns:
- this builder instance
-
associatedResourceId
public ListAssociatedResourcesRequest.Builder associatedResourceId(String associatedResourceId)
A filter to return attribute set associated resource that matches the specified associated resource id query param.- Parameters:
associatedResourceId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAssociatedResourcesRequest.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 ListAssociatedResourcesRequest.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 ListAssociatedResourcesRequest.Builder copy(ListAssociatedResourcesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListAssociatedResourcesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAssociatedResourcesRequest build()
Build the instance of ListAssociatedResourcesRequest 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<ListAssociatedResourcesRequest,Void>- Returns:
- instance of ListAssociatedResourcesRequest
-
buildWithoutInvocationCallback
public ListAssociatedResourcesRequest buildWithoutInvocationCallback()
Build the instance of ListAssociatedResourcesRequest 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 ListAssociatedResourcesRequest
-
-