Interface TransitGatewayPolicyRule.Builder

    • Method Detail

      • sourceCidrBlock

        TransitGatewayPolicyRule.Builder sourceCidrBlock​(String sourceCidrBlock)

        The source CIDR block for the transit gateway policy rule.

        Parameters:
        sourceCidrBlock - The source CIDR block for the transit gateway policy rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourcePortRange

        TransitGatewayPolicyRule.Builder sourcePortRange​(String sourcePortRange)

        The port range for the transit gateway policy rule. Currently this is set to * (all).

        Parameters:
        sourcePortRange - The port range for the transit gateway policy rule. Currently this is set to * (all).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationCidrBlock

        TransitGatewayPolicyRule.Builder destinationCidrBlock​(String destinationCidrBlock)

        The destination CIDR block for the transit gateway policy rule.

        Parameters:
        destinationCidrBlock - The destination CIDR block for the transit gateway policy rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPortRange

        TransitGatewayPolicyRule.Builder destinationPortRange​(String destinationPortRange)

        The port range for the transit gateway policy rule. Currently this is set to * (all).

        Parameters:
        destinationPortRange - The port range for the transit gateway policy rule. Currently this is set to * (all).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        TransitGatewayPolicyRule.Builder protocol​(String protocol)

        The protocol used by the transit gateway policy rule.

        Parameters:
        protocol - The protocol used by the transit gateway policy rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metaData

        TransitGatewayPolicyRule.Builder metaData​(TransitGatewayPolicyRuleMetaData metaData)

        The meta data tags used for the transit gateway policy rule.

        Parameters:
        metaData - The meta data tags used for the transit gateway policy rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.