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