Package com.oracle.bmc.email.requests
Class CreateEmailReturnPathRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.email.requests.CreateEmailReturnPathRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<CreateEmailReturnPathRequest,CreateEmailReturnPathDetails>
- Enclosing class:
- CreateEmailReturnPathRequest
public static class CreateEmailReturnPathRequest.Builder extends Object implements BmcRequest.Builder<CreateEmailReturnPathRequest,CreateEmailReturnPathDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEmailReturnPathRequest.Builderbody$(CreateEmailReturnPathDetails body)Alternative setter for the body parameter.CreateEmailReturnPathRequestbuild()Build the instance of CreateEmailReturnPathRequest as configured by this builderCreateEmailReturnPathRequestbuildWithoutInvocationCallback()Build the instance of CreateEmailReturnPathRequest as configured by this builderCreateEmailReturnPathRequest.Buildercopy(CreateEmailReturnPathRequest o)Copy method to populate the builder with values from the given instance.CreateEmailReturnPathRequest.BuildercreateEmailReturnPathDetails(CreateEmailReturnPathDetails createEmailReturnPathDetails)The email return path to create.CreateEmailReturnPathRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateEmailReturnPathRequest.BuilderopcRequestId(String opcRequestId)The request ID for tracing from the systemCreateEmailReturnPathRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.CreateEmailReturnPathRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
createEmailReturnPathDetails
public CreateEmailReturnPathRequest.Builder createEmailReturnPathDetails(CreateEmailReturnPathDetails createEmailReturnPathDetails)
The email return path to create.- Parameters:
createEmailReturnPathDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public CreateEmailReturnPathRequest.Builder opcRequestId(String opcRequestId)
The request ID for tracing from the system- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public CreateEmailReturnPathRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
invocationCallback
public CreateEmailReturnPathRequest.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 CreateEmailReturnPathRequest.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 CreateEmailReturnPathRequest.Builder copy(CreateEmailReturnPathRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<CreateEmailReturnPathRequest,CreateEmailReturnPathDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateEmailReturnPathRequest build()
Build the instance of CreateEmailReturnPathRequest 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:
buildin interfaceBmcRequest.Builder<CreateEmailReturnPathRequest,CreateEmailReturnPathDetails>- Returns:
- instance of CreateEmailReturnPathRequest
-
body$
public CreateEmailReturnPathRequest.Builder body$(CreateEmailReturnPathDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<CreateEmailReturnPathRequest,CreateEmailReturnPathDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public CreateEmailReturnPathRequest buildWithoutInvocationCallback()
Build the instance of CreateEmailReturnPathRequest 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 CreateEmailReturnPathRequest
-
-