Class SubmitRawEmailRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<InputStream>
- 
- com.oracle.bmc.emaildataplane.requests.SubmitRawEmailRequest
 
 
- 
- All Implemented Interfaces:
- HasContentLength
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220926") public class SubmitRawEmailRequest extends BmcRequest<InputStream> implements HasContentLengthExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/emaildataplane/SubmitRawEmailExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use SubmitRawEmailRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSubmitRawEmailRequest.Builderstatic classSubmitRawEmailRequest.ContentTypeThe media type of the body.
 - 
Constructor SummaryConstructors Constructor Description SubmitRawEmailRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubmitRawEmailRequest.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’.InputStreamgetBody$()Alternative accessor for the body parameter.StringgetCompartmentId()The OCID of the compartment that contains the approved sender resource.LonggetContentLength()The content length of the body.SubmitRawEmailRequest.ContentTypegetContentType()The media type of the body.StringgetOpcRequestId()The request ID for tracing from the systemInputStreamgetRawMessage()This should be formatted in valid MIME format.List<String>getRecipients()The destination for the email, all recipients including to, cc and bcc addresses.StringgetSender()The envelope and the header from email address, that is sending the email.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.SubmitRawEmailRequest.BuildertoBuilder()Return an instance ofSubmitRawEmailRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getContentTypepublic SubmitRawEmailRequest.ContentType getContentType() The media type of the body.
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment that contains the approved sender resource.
 - 
getSenderpublic String getSender() The envelope and the header from email address, that is sending the email.Email address must be an approved sender. 
 - 
getRecipientspublic List<String> getRecipients() The destination for the email, all recipients including to, cc and bcc addresses.
 - 
getRawMessagepublic InputStream getRawMessage() This should be formatted in valid MIME format.Message can include attachments. MIME libraries should be used to convert the content into the appropriate format. 
 - 
getOpcRequestIdpublic String getOpcRequestId() The request ID for tracing from the system
 - 
getContentLengthpublic Long getContentLength() The content length of the body.- Specified by:
- getContentLengthin interface- HasContentLength
 
 - 
getBody$public InputStream getBody$() Alternative accessor for the body parameter.- Overrides:
- getBody$in class- BmcRequest<InputStream>
- Returns:
- body parameter
 
 - 
toBuilderpublic SubmitRawEmailRequest.Builder toBuilder() Return an instance ofSubmitRawEmailRequest.Builderthat allows you to modify request properties.- Returns:
- instance of SubmitRawEmailRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static SubmitRawEmailRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<InputStream>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<InputStream>
 
 
- 
 
-