public static class GenerateDataKeysRequest.Builder extends Object implements BmcRequest.Builder<GenerateDataKeysRequest,List<GenerateDataKeyDetails>>
Modifier and Type | Method and 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 builder
|
GenerateDataKeysRequest |
buildWithoutInvocationCallback() |
GenerateDataKeysRequest.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(Consumer<javax.ws.rs.client.Invocation.Builder> 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.
|
String |
toString() |
public GenerateDataKeysRequest.Builder generateDataKeysListDetails(List<GenerateDataKeyDetails> generateDataKeysListDetails)
List of new Data Keys to be generated.
public GenerateDataKeysRequest.Builder generateDataKeysListDetails(GenerateDataKeyDetails singularValue)
Singular setter. List of new Data Keys to be generated.
public GenerateDataKeysRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GenerateDataKeysRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GenerateDataKeysRequest.Builder copy(GenerateDataKeysRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GenerateDataKeysRequest,List<GenerateDataKeyDetails>>
o
- other request from which to copy valuespublic GenerateDataKeysRequest build()
Build the instance of GenerateDataKeysRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GenerateDataKeysRequest,List<GenerateDataKeyDetails>>
public GenerateDataKeysRequest.Builder body$(List<GenerateDataKeyDetails> body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<GenerateDataKeysRequest,List<GenerateDataKeyDetails>>
body
- the body parameterpublic GenerateDataKeysRequest.Builder apmDomainId(String apmDomainId)
The OCID of the APM domain.
this
.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.
this
.public GenerateDataKeysRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public GenerateDataKeysRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.