@Stability(value=Stable) public static final class LogSubscriptionDestinationConfig.Builder extends Object implements software.amazon.jsii.Builder<LogSubscriptionDestinationConfig>
LogSubscriptionDestinationConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LogSubscriptionDestinationConfig.Builder |
arn(String arn)
Sets the value of
LogSubscriptionDestinationConfig.getArn() |
LogSubscriptionDestinationConfig |
build()
Builds the configured instance.
|
LogSubscriptionDestinationConfig.Builder |
role(IRole role)
Sets the value of
LogSubscriptionDestinationConfig.getRole() |
@Stability(value=Stable) public LogSubscriptionDestinationConfig.Builder arn(String arn)
LogSubscriptionDestinationConfig.getArn()arn - The ARN of the subscription's destination. This parameter is required.this@Stability(value=Stable) public LogSubscriptionDestinationConfig.Builder role(IRole role)
LogSubscriptionDestinationConfig.getRole()role - The role to assume to write log events to the destination.this@Stability(value=Stable) public LogSubscriptionDestinationConfig build()
build in interface software.amazon.jsii.Builder<LogSubscriptionDestinationConfig>LogSubscriptionDestinationConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.