Class CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty>
- Enclosing interface:
CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty
@Stability(Stable)
public static final class CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.getLogFormat()
maxAggregationInterval
(Number maxAggregationInterval) trafficType
(String trafficType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logFormat
@Stability(Stable) public CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder logFormat(String logFormat) Sets the value ofCfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.getLogFormat()
- Parameters:
logFormat
- The fields to include in the flow log record. If you omit this parameter, the flow log is created using the default format.- Returns:
this
-
maxAggregationInterval
@Stability(Stable) public CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder maxAggregationInterval(Number maxAggregationInterval) Sets the value ofCfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.getMaxAggregationInterval()
- Parameters:
maxAggregationInterval
- The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record. Default is 600s.- Returns:
this
-
trafficType
@Stability(Stable) public CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder trafficType(String trafficType) - Parameters:
trafficType
- The type of traffic captured for the flow log. Default is ALL- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty>
- Returns:
- a new instance of
CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-