@Stability(value=Experimental) public static final class FlowLogOptions.Builder extends Object implements software.amazon.jsii.Builder<FlowLogOptions>
FlowLogOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FlowLogOptions |
build()
Builds the configured instance.
|
FlowLogOptions.Builder |
destination(FlowLogDestination destination)
Sets the value of
FlowLogOptions.getDestination() |
FlowLogOptions.Builder |
trafficType(FlowLogTrafficType trafficType)
Sets the value of
FlowLogOptions.getTrafficType() |
@Stability(value=Experimental) public FlowLogOptions.Builder destination(FlowLogDestination destination)
FlowLogOptions.getDestination()destination - Specifies the type of destination to which the flow log data is to be published.
Flow log data can be published to CloudWatch Logs or Amazon S3this@Stability(value=Experimental) public FlowLogOptions.Builder trafficType(FlowLogTrafficType trafficType)
FlowLogOptions.getTrafficType()trafficType - The type of traffic to log.
You can log traffic that the resource accepts or rejects, or all traffic.this@Stability(value=Experimental) public FlowLogOptions build()
build in interface software.amazon.jsii.Builder<FlowLogOptions>FlowLogOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.