# SuppressionNodeDsl

# SuppressionNodeDsl


```
interface SuppressionNodeDsl : AutomationFlowContributor
```

<br />

Known direct subclasses [SequentialFlowBuilder](https://developers.home.google.com/reference/kotlin/com/google/home/automation/SequentialFlowBuilder)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SequentialFlowBuilder` | Type-safe builder that builds a `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SequentialFlow` Node. |

*** ** * ** ***

Interface for constructing `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Suppression` nodes and contributing them to an automation flow.

## Summary

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SuppressionNodeDsl#suppressFor(java.time.Duration)(duration: https://developer.android.com/reference/java/time/Duration.html)` |

| ### Inherited functions |
|---|
| From [com.google.home.automation.AutomationFlowContributor](https://developers.home.google.com/reference/kotlin/com/google/home/automation/AutomationFlowContributor) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/AutomationFlowBuilder` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/AutomationFlowContributor#flowBuilder()()` | |

## Public functions

### suppressFor

```
open fun suppressFor(duration: Duration): Unit
```