Class UpdatePropertySetRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetoolsruntime.requests.UpdatePropertySetRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdatePropertySetRequest,UpdatePropertySetDetails>
- Enclosing class:
- UpdatePropertySetRequest
public static class UpdatePropertySetRequest.Builder extends Object implements BmcRequest.Builder<UpdatePropertySetRequest,UpdatePropertySetDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePropertySetRequest.Builderbody$(UpdatePropertySetDetails body)Alternative setter for the body parameter.UpdatePropertySetRequestbuild()Build the instance of UpdatePropertySetRequest as configured by this builderUpdatePropertySetRequestbuildWithoutInvocationCallback()Build the instance of UpdatePropertySetRequest as configured by this builderUpdatePropertySetRequest.Buildercopy(UpdatePropertySetRequest o)Copy method to populate the builder with values from the given instance.UpdatePropertySetRequest.BuilderdatabaseToolsConnectionId(String databaseToolsConnectionId)The OCID of a Database Tools connection.UpdatePropertySetRequest.BuilderifMatch(String ifMatch)If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).UpdatePropertySetRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdatePropertySetRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdatePropertySetRequest.BuilderpropertySetKey(PropertySetKey propertySetKey)The name of the property setUpdatePropertySetRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdatePropertySetRequest.BuilderupdatePropertySetDetails(UpdatePropertySetDetails updatePropertySetDetails)The information to be updated.
-
-
-
Method Detail
-
databaseToolsConnectionId
public UpdatePropertySetRequest.Builder databaseToolsConnectionId(String databaseToolsConnectionId)
The OCID of a Database Tools connection.- Parameters:
databaseToolsConnectionId- the value to set- Returns:
- this builder instance
-
propertySetKey
public UpdatePropertySetRequest.Builder propertySetKey(PropertySetKey propertySetKey)
The name of the property set- Parameters:
propertySetKey- the value to set- Returns:
- this builder instance
-
updatePropertySetDetails
public UpdatePropertySetRequest.Builder updatePropertySetDetails(UpdatePropertySetDetails updatePropertySetDetails)
The information to be updated.- Parameters:
updatePropertySetDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdatePropertySetRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdatePropertySetRequest.Builder ifMatch(String ifMatch)
If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).In general, it can be used with any method that involves the selection or modification of a representation to abort the request if the selected representation’s current entity tag is not a member within the If-Match field value. When specified on an action-specific subresource, the ETag value of the resource on which the action is requested should be provided.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdatePropertySetRequest.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 UpdatePropertySetRequest.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 UpdatePropertySetRequest.Builder copy(UpdatePropertySetRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdatePropertySetRequest,UpdatePropertySetDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdatePropertySetRequest build()
Build the instance of UpdatePropertySetRequest 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<UpdatePropertySetRequest,UpdatePropertySetDetails>- Returns:
- instance of UpdatePropertySetRequest
-
body$
public UpdatePropertySetRequest.Builder body$(UpdatePropertySetDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdatePropertySetRequest,UpdatePropertySetDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdatePropertySetRequest buildWithoutInvocationCallback()
Build the instance of UpdatePropertySetRequest 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 UpdatePropertySetRequest
-
-