Interface AnalysisSecurityGroupRule.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<AnalysisSecurityGroupRule.Builder,,AnalysisSecurityGroupRule> SdkBuilder<AnalysisSecurityGroupRule.Builder,,AnalysisSecurityGroupRule> SdkPojo
- Enclosing class:
 AnalysisSecurityGroupRule
public static interface AnalysisSecurityGroupRule.Builder
extends SdkPojo, CopyableBuilder<AnalysisSecurityGroupRule.Builder,AnalysisSecurityGroupRule> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe IPv4 address range, in CIDR notation.The direction.portRange(Consumer<PortRange.Builder> portRange) The port range.The port range.prefixListId(String prefixListId) The prefix list ID.The protocol name.securityGroupId(String securityGroupId) The security group ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
cidr
The IPv4 address range, in CIDR notation.
- Parameters:
 cidr- The IPv4 address range, in CIDR notation.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
direction
The direction. The following are the possible values:
- 
 
egress
 - 
 
ingress
 
- Parameters:
 direction- The direction. The following are the possible values:- 
        
egress
 - 
        
ingress
 
- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
securityGroupId
The security group ID.
- Parameters:
 securityGroupId- The security group ID.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
portRange
The port range.
- Parameters:
 portRange- The port range.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
portRange
The port range.
This is a convenience method that creates an instance of thePortRange.Builderavoiding the need to create one manually viaPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toportRange(PortRange).- Parameters:
 portRange- a consumer that will call methods onPortRange.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
prefixListId
The prefix list ID.
- Parameters:
 prefixListId- The prefix list ID.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
protocol
The protocol name.
- Parameters:
 protocol- The protocol name.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -