public static class FlowLogCaptureFilterRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public FlowLogCaptureFilterRuleDetails.Builder isEnabled(Boolean isEnabled)
Indicates whether a flow log capture filter rule is enabled.
isEnabled
- the value to setpublic FlowLogCaptureFilterRuleDetails.Builder priority(Integer priority)
A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
priority
- the value to setpublic FlowLogCaptureFilterRuleDetails.Builder samplingRate(Integer samplingRate)
Sampling interval as 1 of X, where X is an integer not greater than 100000.
samplingRate
- the value to setpublic FlowLogCaptureFilterRuleDetails.Builder sourceCidr(String sourceCidr)
Traffic from this CIDR will be captured in the flow log.
sourceCidr
- the value to setpublic FlowLogCaptureFilterRuleDetails.Builder destinationCidr(String destinationCidr)
Traffic to this CIDR will be captured in the flow log.
destinationCidr
- the value to setpublic FlowLogCaptureFilterRuleDetails.Builder protocol(String protocol)
The transport protocol the filter uses.
protocol
- the value to setpublic FlowLogCaptureFilterRuleDetails.Builder icmpOptions(IcmpOptions icmpOptions)
public FlowLogCaptureFilterRuleDetails.Builder tcpOptions(TcpOptions tcpOptions)
public FlowLogCaptureFilterRuleDetails.Builder udpOptions(UdpOptions udpOptions)
public FlowLogCaptureFilterRuleDetails.Builder flowLogType(FlowLogCaptureFilterRuleDetails.FlowLogType flowLogType)
Type or types of flow logs to store. ALL
includes records for both accepted
traffic and rejected traffic.
flowLogType
- the value to setpublic FlowLogCaptureFilterRuleDetails.Builder ruleAction(FlowLogCaptureFilterRuleDetails.RuleAction ruleAction)
Include or exclude a ruleAction object.
ruleAction
- the value to setpublic FlowLogCaptureFilterRuleDetails build()
public FlowLogCaptureFilterRuleDetails.Builder copy(FlowLogCaptureFilterRuleDetails model)
Copyright © 2016–2024. All rights reserved.