Package com.oracle.bmc.email.requests
Class UpdateEmailReturnPathRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.email.requests.UpdateEmailReturnPathRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateEmailReturnPathRequest,UpdateEmailReturnPathDetails>
- Enclosing class:
- UpdateEmailReturnPathRequest
public static class UpdateEmailReturnPathRequest.Builder extends Object implements BmcRequest.Builder<UpdateEmailReturnPathRequest,UpdateEmailReturnPathDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateEmailReturnPathRequest.Builder
body$(UpdateEmailReturnPathDetails body)
Alternative setter for the body parameter.UpdateEmailReturnPathRequest
build()
Build the instance of UpdateEmailReturnPathRequest as configured by this builderUpdateEmailReturnPathRequest
buildWithoutInvocationCallback()
Build the instance of UpdateEmailReturnPathRequest as configured by this builderUpdateEmailReturnPathRequest.Builder
copy(UpdateEmailReturnPathRequest o)
Copy method to populate the builder with values from the given instance.UpdateEmailReturnPathRequest.Builder
emailReturnPathId(String emailReturnPathId)
The OCID of this email return path.UpdateEmailReturnPathRequest.Builder
ifMatch(String ifMatch)
Used for optimistic concurrency control.UpdateEmailReturnPathRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateEmailReturnPathRequest.Builder
opcRequestId(String opcRequestId)
The request ID for tracing from the systemUpdateEmailReturnPathRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateEmailReturnPathRequest.Builder
updateEmailReturnPathDetails(UpdateEmailReturnPathDetails updateEmailReturnPathDetails)
The new email return path attributes to apply.
-
-
-
Method Detail
-
emailReturnPathId
public UpdateEmailReturnPathRequest.Builder emailReturnPathId(String emailReturnPathId)
The OCID of this email return path.- Parameters:
emailReturnPathId
- the value to set- Returns:
- this builder instance
-
updateEmailReturnPathDetails
public UpdateEmailReturnPathRequest.Builder updateEmailReturnPathDetails(UpdateEmailReturnPathDetails updateEmailReturnPathDetails)
The new email return path attributes to apply.- Parameters:
updateEmailReturnPathDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateEmailReturnPathRequest.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 UpdateEmailReturnPathRequest.Builder opcRequestId(String opcRequestId)
The request ID for tracing from the system- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateEmailReturnPathRequest.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 UpdateEmailReturnPathRequest.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 UpdateEmailReturnPathRequest.Builder copy(UpdateEmailReturnPathRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateEmailReturnPathRequest,UpdateEmailReturnPathDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateEmailReturnPathRequest build()
Build the instance of UpdateEmailReturnPathRequest 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<UpdateEmailReturnPathRequest,UpdateEmailReturnPathDetails>
- Returns:
- instance of UpdateEmailReturnPathRequest
-
body$
public UpdateEmailReturnPathRequest.Builder body$(UpdateEmailReturnPathDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateEmailReturnPathRequest,UpdateEmailReturnPathDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateEmailReturnPathRequest buildWithoutInvocationCallback()
Build the instance of UpdateEmailReturnPathRequest 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 UpdateEmailReturnPathRequest
-
-