Package com.oracle.bmc.datasafe.requests
Class PatchGroupedSensitiveTypesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.PatchGroupedSensitiveTypesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<PatchGroupedSensitiveTypesRequest,PatchGroupedSensitiveTypesDetails>
- Enclosing class:
- PatchGroupedSensitiveTypesRequest
public static class PatchGroupedSensitiveTypesRequest.Builder extends Object implements BmcRequest.Builder<PatchGroupedSensitiveTypesRequest,PatchGroupedSensitiveTypesDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchGroupedSensitiveTypesRequest.Builderbody$(PatchGroupedSensitiveTypesDetails body)Alternative setter for the body parameter.PatchGroupedSensitiveTypesRequestbuild()Build the instance of PatchGroupedSensitiveTypesRequest as configured by this builderPatchGroupedSensitiveTypesRequestbuildWithoutInvocationCallback()Build the instance of PatchGroupedSensitiveTypesRequest as configured by this builderPatchGroupedSensitiveTypesRequest.Buildercopy(PatchGroupedSensitiveTypesRequest o)Copy method to populate the builder with values from the given instance.PatchGroupedSensitiveTypesRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.PatchGroupedSensitiveTypesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.PatchGroupedSensitiveTypesRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.PatchGroupedSensitiveTypesRequest.BuilderpatchGroupedSensitiveTypesDetails(PatchGroupedSensitiveTypesDetails patchGroupedSensitiveTypesDetails)Details to patch sensitive type ids in a SensitiveTypeGroup.PatchGroupedSensitiveTypesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.PatchGroupedSensitiveTypesRequest.BuildersensitiveTypeGroupId(String sensitiveTypeGroupId)The OCID of the sensitive type group.
-
-
-
Method Detail
-
sensitiveTypeGroupId
public PatchGroupedSensitiveTypesRequest.Builder sensitiveTypeGroupId(String sensitiveTypeGroupId)
The OCID of the sensitive type group.- Parameters:
sensitiveTypeGroupId- the value to set- Returns:
- this builder instance
-
patchGroupedSensitiveTypesDetails
public PatchGroupedSensitiveTypesRequest.Builder patchGroupedSensitiveTypesDetails(PatchGroupedSensitiveTypesDetails patchGroupedSensitiveTypesDetails)
Details to patch sensitive type ids in a SensitiveTypeGroup.- Parameters:
patchGroupedSensitiveTypesDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public PatchGroupedSensitiveTypesRequest.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 PatchGroupedSensitiveTypesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public PatchGroupedSensitiveTypesRequest.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 PatchGroupedSensitiveTypesRequest.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 PatchGroupedSensitiveTypesRequest.Builder copy(PatchGroupedSensitiveTypesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<PatchGroupedSensitiveTypesRequest,PatchGroupedSensitiveTypesDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public PatchGroupedSensitiveTypesRequest build()
Build the instance of PatchGroupedSensitiveTypesRequest 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<PatchGroupedSensitiveTypesRequest,PatchGroupedSensitiveTypesDetails>- Returns:
- instance of PatchGroupedSensitiveTypesRequest
-
body$
public PatchGroupedSensitiveTypesRequest.Builder body$(PatchGroupedSensitiveTypesDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<PatchGroupedSensitiveTypesRequest,PatchGroupedSensitiveTypesDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public PatchGroupedSensitiveTypesRequest buildWithoutInvocationCallback()
Build the instance of PatchGroupedSensitiveTypesRequest 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 PatchGroupedSensitiveTypesRequest
-
-