Package com.oracle.bmc.email.requests
Class CreateSuppressionRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<CreateSuppressionDetails>
-
- com.oracle.bmc.email.requests.CreateSuppressionRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public class CreateSuppressionRequest extends BmcRequest<CreateSuppressionDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/email/CreateSuppressionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateSuppressionRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateSuppressionRequest.Builder
-
Constructor Summary
Constructors Constructor Description CreateSuppressionRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSuppressionRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.CreateSuppressionDetailsgetBody$()Alternative accessor for the body parameter.CreateSuppressionDetailsgetCreateSuppressionDetails()Adds a single email address to the suppression list for a compartment’s tenancy.StringgetOpcRequestId()The request ID for tracing from the systeminthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.CreateSuppressionRequest.BuildertoBuilder()Return an instance ofCreateSuppressionRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCreateSuppressionDetails
public CreateSuppressionDetails getCreateSuppressionDetails()
Adds a single email address to the suppression list for a compartment’s tenancy.
-
getOpcRequestId
public String getOpcRequestId()
The request ID for tracing from the system
-
getBody$
public CreateSuppressionDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$in classBmcRequest<CreateSuppressionDetails>- Returns:
- body parameter
-
toBuilder
public CreateSuppressionRequest.Builder toBuilder()
Return an instance ofCreateSuppressionRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
CreateSuppressionRequest.Builderthat allows you to modify request properties.
-
builder
public static CreateSuppressionRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<CreateSuppressionDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<CreateSuppressionDetails>
-
-