@Stability(value=Experimental) public static final class FlowLogDestinationConfig.Builder extends Object implements software.amazon.jsii.Builder<FlowLogDestinationConfig>
FlowLogDestinationConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FlowLogDestinationConfig |
build()
Builds the configured instance.
|
FlowLogDestinationConfig.Builder |
iamRole(IRole iamRole)
Sets the value of
FlowLogDestinationConfig.getIamRole() |
FlowLogDestinationConfig.Builder |
keyPrefix(String keyPrefix)
Sets the value of
FlowLogDestinationConfig.getKeyPrefix() |
FlowLogDestinationConfig.Builder |
logDestinationType(FlowLogDestinationType logDestinationType)
Sets the value of
FlowLogDestinationConfig.getLogDestinationType() |
FlowLogDestinationConfig.Builder |
logGroup(ILogGroup logGroup)
Sets the value of
FlowLogDestinationConfig.getLogGroup() |
FlowLogDestinationConfig.Builder |
s3Bucket(IBucket s3Bucket)
Sets the value of
FlowLogDestinationConfig.getS3Bucket() |
@Stability(value=Experimental) public FlowLogDestinationConfig.Builder logDestinationType(FlowLogDestinationType logDestinationType)
FlowLogDestinationConfig.getLogDestinationType()logDestinationType - The type of destination to publish the flow logs to. This parameter is required.this@Stability(value=Experimental) public FlowLogDestinationConfig.Builder iamRole(IRole iamRole)
FlowLogDestinationConfig.getIamRole()iamRole - The IAM Role that has access to publish to CloudWatch logs.this@Stability(value=Experimental) public FlowLogDestinationConfig.Builder keyPrefix(String keyPrefix)
FlowLogDestinationConfig.getKeyPrefix()keyPrefix - S3 bucket key prefix to publish the flow logs to.this@Stability(value=Experimental) public FlowLogDestinationConfig.Builder logGroup(ILogGroup logGroup)
FlowLogDestinationConfig.getLogGroup()logGroup - The CloudWatch Logs Log Group to publish the flow logs to.this@Stability(value=Experimental) public FlowLogDestinationConfig.Builder s3Bucket(IBucket s3Bucket)
FlowLogDestinationConfig.getS3Bucket()s3Bucket - S3 bucket to publish the flow logs to.this@Stability(value=Experimental) public FlowLogDestinationConfig build()
build in interface software.amazon.jsii.Builder<FlowLogDestinationConfig>FlowLogDestinationConfigNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.