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 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

      AnalysisSecurityGroupRule.Builder securityGroupId(String 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 the PortRange.Builder avoiding the need to create one manually via PortRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to portRange(PortRange).

      Parameters:
      portRange - a consumer that will call methods on PortRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • prefixListId

      AnalysisSecurityGroupRule.Builder prefixListId(String 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.