# IResourceBuilder<T> Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [IResourceBuilder<T>](/reference/api/csharp/aspire.hosting/iresourcebuilder-1.md)
- Kind: `Properties`
- Members: `2`

Defines a builder for creating resources of type `T`.

## ApplicationBuilder

- Name: `ApplicationBuilder`
- Modifiers: `abstract` `get`
- Returns: [IDistributedApplicationBuilder](/reference/api/csharp/aspire.hosting/idistributedapplicationbuilder.md)

Gets the distributed application builder associated with this resource builder.

```csharp
public abstract IDistributedApplicationBuilder ApplicationBuilder { get; }
```

## Resource

- Name: `Resource`
- Modifiers: `abstract` `get`
- Returns: `T`

Gets the resource of type `T` that is being built.

```csharp
public abstract T Resource { get; }
```
