# Class BounceNotification.BounceNotificationBuilder (5.0.3)

    public static class BounceNotification.BounceNotificationBuilder

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> BounceNotification.BounceNotificationBuilder

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Constructors

### BounceNotificationBuilder()

    public BounceNotificationBuilder()

## Methods

### build()

    public BounceNotification build()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.mail.BounceNotification` |   |

### withNotification(BounceNotification.Details notification)

    public BounceNotification.BounceNotificationBuilder withNotification(BounceNotification.Details notification)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `notification` | `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.mail.BounceNotification.Details` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.mail.BounceNotification.BounceNotificationBuilder` |   |

### withOriginal(BounceNotification.Details original)

    public BounceNotification.BounceNotificationBuilder withOriginal(BounceNotification.Details original)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `original` | `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.mail.BounceNotification.Details` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.mail.BounceNotification.BounceNotificationBuilder` |   |

### withRawMessage(MimeMessage rawMessage)

    public BounceNotification.BounceNotificationBuilder withRawMessage(MimeMessage rawMessage)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `rawMessage` | `https://docs.oracle.com/javase/8/docs/api/javax/mail/internet/MimeMessage.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.mail.BounceNotification.BounceNotificationBuilder` |   |