Class RemoveDataKeysRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmcontrolplane.requests.RemoveDataKeysRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<RemoveDataKeysRequest,List<RemoveDataKeyDetails>>
- Enclosing class:
- RemoveDataKeysRequest
public static class RemoveDataKeysRequest.Builder extends Object implements BmcRequest.Builder<RemoveDataKeysRequest,List<RemoveDataKeyDetails>>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveDataKeysRequest.Builder
apmDomainId(String apmDomainId)
The OCID of the APM domain.RemoveDataKeysRequest.Builder
body$(List<RemoveDataKeyDetails> body)
Alternative setter for the body parameter.RemoveDataKeysRequest
build()
Build the instance of RemoveDataKeysRequest as configured by this builderRemoveDataKeysRequest
buildWithoutInvocationCallback()
Build the instance of RemoveDataKeysRequest as configured by this builderRemoveDataKeysRequest.Builder
copy(RemoveDataKeysRequest o)
Copy method to populate the builder with values from the given instance.RemoveDataKeysRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.RemoveDataKeysRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.RemoveDataKeysRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.RemoveDataKeysRequest.Builder
removeDataKeysListDetails(RemoveDataKeyDetails singularValue)
Singular setter.RemoveDataKeysRequest.Builder
removeDataKeysListDetails(List<RemoveDataKeyDetails> removeDataKeysListDetails)
List of Data Keys to be removed.RemoveDataKeysRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
apmDomainId
public RemoveDataKeysRequest.Builder apmDomainId(String apmDomainId)
The OCID of the APM domain.- Parameters:
apmDomainId
- the value to set- Returns:
- this builder instance
-
removeDataKeysListDetails
public RemoveDataKeysRequest.Builder removeDataKeysListDetails(List<RemoveDataKeyDetails> removeDataKeysListDetails)
List of Data Keys to be removed.- Parameters:
removeDataKeysListDetails
- the value to set- Returns:
- this builder instance
-
removeDataKeysListDetails
public RemoveDataKeysRequest.Builder removeDataKeysListDetails(RemoveDataKeyDetails singularValue)
Singular setter.List of Data Keys to be removed.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
ifMatch
public RemoveDataKeysRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.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 RemoveDataKeysRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public RemoveDataKeysRequest.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 RemoveDataKeysRequest.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 RemoveDataKeysRequest.Builder copy(RemoveDataKeysRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<RemoveDataKeysRequest,List<RemoveDataKeyDetails>>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public RemoveDataKeysRequest build()
Build the instance of RemoveDataKeysRequest 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:
build
in interfaceBmcRequest.Builder<RemoveDataKeysRequest,List<RemoveDataKeyDetails>>
- Returns:
- instance of RemoveDataKeysRequest
-
body$
public RemoveDataKeysRequest.Builder body$(List<RemoveDataKeyDetails> body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<RemoveDataKeysRequest,List<RemoveDataKeyDetails>>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public RemoveDataKeysRequest buildWithoutInvocationCallback()
Build the instance of RemoveDataKeysRequest 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 RemoveDataKeysRequest
-
-