> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Java: ResolveOptions

> CDKTN Core API Reference for ResolveOptions in Java.

Options to the resolve() operation.

NOT the same as the ResolveContext; ResolveContext is exposed to Token
implementors and resolution hooks, whereas this struct is just to bundle
a number of things that would otherwise be arguments to resolve() in a
readable way.

## Initializer <a name="Initializer" id="cdktn.ResolveOptions.Initializer" />

```java theme={null}
import io.cdktn.cdktn.ResolveOptions;

ResolveOptions.builder()
    .resolver(ITokenResolver)
    .scope(IConstruct)
//  .preparing(java.lang.Boolean)
    .build();
```

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                      | **Type**                                                        | **Description**                                                           |
| ----------------------------------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------- |
| <code><a href="#cdktn.ResolveOptions.property.resolver">resolver</a></code>   | <code><a href="#cdktn.ITokenResolver">ITokenResolver</a></code> | The resolver to apply to any resolvable tokens found.                     |
| <code><a href="#cdktn.ResolveOptions.property.scope">scope</a></code>         | <code>software.constructs.IConstruct</code>                     | The scope from which resolution is performed.                             |
| <code><a href="#cdktn.ResolveOptions.property.preparing">preparing</a></code> | <code>java.lang.Boolean</code>                                  | Whether the resolution is being executed during the prepare phase or not. |

***

### `resolver`<sup>Required</sup> <a name="resolver" id="cdktn.ResolveOptions.property.resolver" />

```java theme={null}
public ITokenResolver getResolver();
```

* *Type:* <a href="#cdktn.ITokenResolver">ITokenResolver</a>

The resolver to apply to any resolvable tokens found.

***

### `scope`<sup>Required</sup> <a name="scope" id="cdktn.ResolveOptions.property.scope" />

```java theme={null}
public IConstruct getScope();
```

* *Type:* software.constructs.IConstruct

The scope from which resolution is performed.

***

### `preparing`<sup>Optional</sup> <a name="preparing" id="cdktn.ResolveOptions.property.preparing" />

```java theme={null}
public java.lang.Boolean getPreparing();
```

* *Type:* java.lang.Boolean
* *Default:* false

Whether the resolution is being executed during the prepare phase or not.

***
