Class UpdateAttributeRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.requests.UpdateAttributeRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateAttributeRequest,UpdateAttributeDetails>
- Enclosing class:
- UpdateAttributeRequest
public static class UpdateAttributeRequest.Builder extends Object implements BmcRequest.Builder<UpdateAttributeRequest,UpdateAttributeDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAttributeRequest.BuilderattributeKey(String attributeKey)Unique attribute key.UpdateAttributeRequest.Builderbody$(UpdateAttributeDetails body)Alternative setter for the body parameter.UpdateAttributeRequestbuild()Build the instance of UpdateAttributeRequest as configured by this builderUpdateAttributeRequestbuildWithoutInvocationCallback()Build the instance of UpdateAttributeRequest as configured by this builderUpdateAttributeRequest.BuildercatalogId(String catalogId)Unique catalog identifier.UpdateAttributeRequest.Buildercopy(UpdateAttributeRequest o)Copy method to populate the builder with values from the given instance.UpdateAttributeRequest.BuilderdataAssetKey(String dataAssetKey)Unique data asset key.UpdateAttributeRequest.BuilderentityKey(String entityKey)Unique entity key.UpdateAttributeRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateAttributeRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateAttributeRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateAttributeRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateAttributeRequest.BuilderupdateAttributeDetails(UpdateAttributeDetails updateAttributeDetails)The information to be updated in the attribute.
-
-
-
Method Detail
-
catalogId
public UpdateAttributeRequest.Builder catalogId(String catalogId)
Unique catalog identifier.- Parameters:
catalogId- the value to set- Returns:
- this builder instance
-
dataAssetKey
public UpdateAttributeRequest.Builder dataAssetKey(String dataAssetKey)
Unique data asset key.- Parameters:
dataAssetKey- the value to set- Returns:
- this builder instance
-
entityKey
public UpdateAttributeRequest.Builder entityKey(String entityKey)
Unique entity key.- Parameters:
entityKey- the value to set- Returns:
- this builder instance
-
attributeKey
public UpdateAttributeRequest.Builder attributeKey(String attributeKey)
Unique attribute key.- Parameters:
attributeKey- the value to set- Returns:
- this builder instance
-
updateAttributeDetails
public UpdateAttributeRequest.Builder updateAttributeDetails(UpdateAttributeDetails updateAttributeDetails)
The information to be updated in the attribute.- Parameters:
updateAttributeDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateAttributeRequest.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 UpdateAttributeRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateAttributeRequest.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 UpdateAttributeRequest.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 UpdateAttributeRequest.Builder copy(UpdateAttributeRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateAttributeRequest,UpdateAttributeDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateAttributeRequest build()
Build the instance of UpdateAttributeRequest 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<UpdateAttributeRequest,UpdateAttributeDetails>- Returns:
- instance of UpdateAttributeRequest
-
body$
public UpdateAttributeRequest.Builder body$(UpdateAttributeDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateAttributeRequest,UpdateAttributeDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateAttributeRequest buildWithoutInvocationCallback()
Build the instance of UpdateAttributeRequest 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 UpdateAttributeRequest
-
-