Package com.oracle.bmc.email.requests
Class UpdateDkimRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.email.requests.UpdateDkimRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateDkimRequest,UpdateDkimDetails>
- Enclosing class:
- UpdateDkimRequest
public static class UpdateDkimRequest.Builder extends Object implements BmcRequest.Builder<UpdateDkimRequest,UpdateDkimDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDkimRequest.Builder
body$(UpdateDkimDetails body)
Alternative setter for the body parameter.UpdateDkimRequest
build()
Build the instance of UpdateDkimRequest as configured by this builderUpdateDkimRequest
buildWithoutInvocationCallback()
Build the instance of UpdateDkimRequest as configured by this builderUpdateDkimRequest.Builder
copy(UpdateDkimRequest o)
Copy method to populate the builder with values from the given instance.UpdateDkimRequest.Builder
dkimId(String dkimId)
The OCID of this DKIM.UpdateDkimRequest.Builder
ifMatch(String ifMatch)
Used for optimistic concurrency control.UpdateDkimRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateDkimRequest.Builder
opcRequestId(String opcRequestId)
The request ID for tracing from the systemUpdateDkimRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateDkimRequest.Builder
updateDkimDetails(UpdateDkimDetails updateDkimDetails)
The new DKIM attributes to apply.
-
-
-
Method Detail
-
dkimId
public UpdateDkimRequest.Builder dkimId(String dkimId)
The OCID of this DKIM.- Parameters:
dkimId
- the value to set- Returns:
- this builder instance
-
updateDkimDetails
public UpdateDkimRequest.Builder updateDkimDetails(UpdateDkimDetails updateDkimDetails)
The new DKIM attributes to apply.- Parameters:
updateDkimDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateDkimRequest.Builder ifMatch(String ifMatch)
Used for optimistic concurrency control.In the update or delete call for a resource, set the if-match parameter to the value of the etag from a previous get, create, or update 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 UpdateDkimRequest.Builder opcRequestId(String opcRequestId)
The request ID for tracing from the system- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateDkimRequest.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 UpdateDkimRequest.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 UpdateDkimRequest.Builder copy(UpdateDkimRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateDkimRequest,UpdateDkimDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateDkimRequest build()
Build the instance of UpdateDkimRequest 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<UpdateDkimRequest,UpdateDkimDetails>
- Returns:
- instance of UpdateDkimRequest
-
body$
public UpdateDkimRequest.Builder body$(UpdateDkimDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateDkimRequest,UpdateDkimDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateDkimRequest buildWithoutInvocationCallback()
Build the instance of UpdateDkimRequest 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 UpdateDkimRequest
-
-