Class CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty>
- Enclosing interface:
CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty
@Stability(Stable)
public static final class CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxAggregationInterval(Number maxAggregationInterval) trafficType(String trafficType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logFormat
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.Builder logFormat(String logFormat) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.getLogFormat()- Parameters:
logFormat- The format in which VPC Flow Log entries should be logged.- Returns:
this
-
maxAggregationInterval
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.Builder maxAggregationInterval(Number maxAggregationInterval) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.getMaxAggregationInterval()- Parameters:
maxAggregationInterval- The maximum interval in seconds between the capture of flow log records.- Returns:
this
-
trafficType
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.Builder trafficType(String trafficType) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty.getTrafficType()- Parameters:
trafficType- The type of traffic to log (ACCEPT, REJECT, or ALL).- Returns:
this
-
build
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty>- Returns:
- a new instance of
CfnOrganizationTelemetryRulePropsMixin.VPCFlowLogParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-