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 format in which VPC Flow Log entries should be logged.- Returns:
this
-
maxAggregationInterval
@Stability(Stable) public CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder maxAggregationInterval(Number maxAggregationInterval) Sets the value ofCfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.getMaxAggregationInterval()- Parameters:
maxAggregationInterval- The maximum interval in seconds between the capture of flow log records.- Returns:
this
-
trafficType
@Stability(Stable) public CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty.Builder trafficType(String trafficType) - Parameters:
trafficType- The type of traffic to log (ACCEPT, REJECT, or ALL).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty>- Returns:
- a new instance of
CfnOrganizationTelemetryRule.VPCFlowLogParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-