[**Added in Android UpsideDownCakePrivacySandbox**](https://developer.android.com/preview)  
Summary: [Ctors](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#pubctors) \| [Methods](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#pubmethods) \| [Inherited Methods](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#inhmethods)  

# ExecuteOutput.Builder


`
public
static
final

class
ExecuteOutput.Builder
`


`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


`

`


`

|---|------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.adservices.ondevicepersonalization.ExecuteOutput.Builder |

<br />

*** ** * ** ***

A builder for [ExecuteOutput](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput)

## Summary

|                                                                      ### Public constructors                                                                       ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[Builder](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#Builder())`() ` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[ExecuteOutput.Builder](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder) | ` `[addRenderingConfig](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#addRenderingConfig(android.adservices.ondevicepersonalization.RenderingConfig))`(`[RenderingConfig](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/RenderingConfig)` value) `                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` `[ExecuteOutput](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput)                 | ` `[build](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#build())`() ` Builds the instance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` `[ExecuteOutput.Builder](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder) | ` `[setRenderingConfigs](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#setRenderingConfigs(java.util.List<android.adservices.ondevicepersonalization.RenderingConfig>))`(`[List](https://developer.android.com/reference/java/util/List)`<`[RenderingConfig](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/RenderingConfig)`> value) ` A list of [RenderingConfig](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/RenderingConfig) objects, one per slot specified in the request from the calling app.                                                                                                                       |
| ` `[ExecuteOutput.Builder](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder) | ` `[setRequestLogRecord](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#setRequestLogRecord(android.adservices.ondevicepersonalization.RequestLogRecord))`(`[RequestLogRecord](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/RequestLogRecord)` value) ` Persistent data to be written to the REQUESTS table after [IsolatedWorker#onExecute(ExecuteInput, java.util.function.Consumer)](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/IsolatedWorker#onExecute(android.adservices.ondevicepersonalization.ExecuteInput,%20java.util.function.Consumer<android.adservices.ondevicepersonalization.ExecuteOutput>)) completes. |

| ### Inherited methods |
|-----------------------|---|
| From class ` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                        | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                             | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                            | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this `Object`.                                                                                                                                                 | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                   | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                              | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                           | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                              | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.                                                                                             | ||

## Public constructors

### Builder

[**Added in Android UpsideDownCakePrivacySandbox**](https://developer.android.com/preview)  

```
public Builder ()
```

<br />

<br />

## Public methods

### addRenderingConfig

[**Added in Android UpsideDownCakePrivacySandbox**](https://developer.android.com/preview)  

```
public ExecuteOutput.Builder addRenderingConfig (RenderingConfig value)
```

<br />

<br />

|                           Parameters                            ||
|---------|--------------------------------------------------------|
| `value` | `RenderingConfig`: This value cannot be `null`. <br /> |

|                                                                                             Returns                                                                                              ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|
| [ExecuteOutput.Builder](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder) | This value cannot be `null`. <br /> |

**See also:**

- [setRenderingConfigs(List)](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder#setRenderingConfigs(java.util.List<android.adservices.ondevicepersonalization.RenderingConfig>))  

### build

[**Added in Android UpsideDownCakePrivacySandbox**](https://developer.android.com/preview)  

```
public ExecuteOutput build ()
```

Builds the instance. This builder should not be touched after calling this!

<br />

|                                                                                     Returns                                                                                      ||
|---------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|
| [ExecuteOutput](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput) | This value cannot be `null`. <br /> |

### setRenderingConfigs

[**Added in Android UpsideDownCakePrivacySandbox**](https://developer.android.com/preview)  

```
public ExecuteOutput.Builder setRenderingConfigs (List<RenderingConfig> value)
```

A list of [RenderingConfig](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/RenderingConfig) objects, one per slot specified in the request from the
calling app. The calling app and the service must agree on the expected size of this list.

<br />

|                      Parameters                      ||
|---------|---------------------------------------------|
| `value` | `List`: This value cannot be `null`. <br /> |

|                                                                                             Returns                                                                                              ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|
| [ExecuteOutput.Builder](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder) | This value cannot be `null`. <br /> |

### setRequestLogRecord

[**Added in Android UpsideDownCakePrivacySandbox**](https://developer.android.com/preview)  

```
public ExecuteOutput.Builder setRequestLogRecord (RequestLogRecord value)
```

Persistent data to be written to the REQUESTS table after
[IsolatedWorker#onExecute(ExecuteInput, java.util.function.Consumer)](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/IsolatedWorker#onExecute(android.adservices.ondevicepersonalization.ExecuteInput,%20java.util.function.Consumer<android.adservices.ondevicepersonalization.ExecuteOutput>))
completes. If null, no persistent data will be written.

<br />

|                            Parameters                            ||
|---------|---------------------------------------------------------|
| `value` | `RequestLogRecord`: This value cannot be `null`. <br /> |

|                                                                               Returns                                                                               ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [ExecuteOutput.Builder](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/ondevicepersonalization/ExecuteOutput.Builder) | <br /> |