Package com.oracle.bmc.email.requests
Class CreateSuppressionRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.email.requests.CreateSuppressionRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateSuppressionRequest,CreateSuppressionDetails>
 - Enclosing class:
- CreateSuppressionRequest
 
 public static class CreateSuppressionRequest.Builder extends Object implements BmcRequest.Builder<CreateSuppressionRequest,CreateSuppressionDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSuppressionRequest.Builderbody$(CreateSuppressionDetails body)Alternative setter for the body parameter.CreateSuppressionRequestbuild()Build the instance of CreateSuppressionRequest as configured by this builderCreateSuppressionRequestbuildWithoutInvocationCallback()Build the instance of CreateSuppressionRequest as configured by this builderCreateSuppressionRequest.Buildercopy(CreateSuppressionRequest o)Copy method to populate the builder with values from the given instance.CreateSuppressionRequest.BuildercreateSuppressionDetails(CreateSuppressionDetails createSuppressionDetails)Adds a single email address to the suppression list for a compartment’s tenancy.CreateSuppressionRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateSuppressionRequest.BuilderopcRequestId(String opcRequestId)The request ID for tracing from the systemCreateSuppressionRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
createSuppressionDetailspublic CreateSuppressionRequest.Builder createSuppressionDetails(CreateSuppressionDetails createSuppressionDetails) Adds a single email address to the suppression list for a compartment’s tenancy.- Parameters:
- createSuppressionDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateSuppressionRequest.Builder opcRequestId(String opcRequestId) The request ID for tracing from the system- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateSuppressionRequest.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
 
 - 
retryConfigurationpublic CreateSuppressionRequest.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
 
 - 
copypublic CreateSuppressionRequest.Builder copy(CreateSuppressionRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateSuppressionRequest,CreateSuppressionDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateSuppressionRequest build() Build the instance of CreateSuppressionRequest 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 interface- BmcRequest.Builder<CreateSuppressionRequest,CreateSuppressionDetails>
- Returns:
- instance of CreateSuppressionRequest
 
 - 
body$public CreateSuppressionRequest.Builder body$(CreateSuppressionDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateSuppressionRequest,CreateSuppressionDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateSuppressionRequest buildWithoutInvocationCallback() Build the instance of CreateSuppressionRequest 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 CreateSuppressionRequest
 
 
- 
 
-