# ClientBuilderExtensions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.sqs/orleans.hosting.clientbuilderextensions/)

## AddSqsStreams(IClientBuilder, string, Action&lt;ClusterClientSqsStreamConfigurator&gt;) {#addsqsstreams-this-orleans-hosting-iclientbuilder-string-system-action-orleans-h-bafedeee}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.sqs/orleans.hosting.clientbuilderextensions/methods/addsqsstreams-this-orleans-hosting-iclientbuilder-string-system-action-orleans-h-bafedeee/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AWS/Orleans.Streaming.SQS/Hosting/ClientBuilderExtensions.cs#L22-L24)

```csharp
public static IClientBuilder AddSqsStreams(this IClientBuilder builder, string name, Action<ClusterClientSqsStreamConfigurator> configure)
```

Configure cluster client to use SQS persistent streams.

### Parameters

- `builder` (`IClientBuilder`)
- `name` (`string`)
- `configure` (`Action<ClusterClientSqsStreamConfigurator>`)

## AddSqsStreams(IClientBuilder, string, Action&lt;SqsOptions&gt;) {#addsqsstreams-this-orleans-hosting-iclientbuilder-string-system-action-orleans-c-c820a370}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.sqs/orleans.hosting.clientbuilderextensions/methods/addsqsstreams-this-orleans-hosting-iclientbuilder-string-system-action-orleans-c-c820a370/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AWS/Orleans.Streaming.SQS/Hosting/ClientBuilderExtensions.cs#L12-L14)

```csharp
public static IClientBuilder AddSqsStreams(this IClientBuilder builder, string name, Action<SqsOptions> configureOptions)
```

Configure cluster client to use SQS persistent streams with default settings

### Parameters

- `builder` (`IClientBuilder`)
- `name` (`string`)
- `configureOptions` (`Action<SqsOptions>`)
