public static final class CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder cidr(java.lang.String cidr)
CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.getCidr()
cidr
- The IPv4 address range, in CIDR notation.this
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder direction(java.lang.String direction)
direction
- The direction. The following are the possible values:.
this
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder portRange(IResolvable portRange)
portRange
- The port range.this
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder portRange(CfnNetworkInsightsAnalysis.PortRangeProperty portRange)
portRange
- The port range.this
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder prefixListId(java.lang.String prefixListId)
prefixListId
- The prefix list ID.this
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder protocol(java.lang.String protocol)
protocol
- The protocol name.this
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty.Builder securityGroupId(java.lang.String securityGroupId)
securityGroupId
- The security group ID.this
public CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty build()
CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty
java.lang.NullPointerException
- if any required attribute was not provided