Class SecurityGroupEgressRuleArgs.Builder

    • Method Detail

      • cidrIpv4

        public SecurityGroupEgressRuleArgs.Builder cidrIpv4​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> cidrIpv4)
        Parameters:
        cidrIpv4 - The destination IPv4 CIDR range.
        Returns:
        builder
      • cidrIpv6

        public SecurityGroupEgressRuleArgs.Builder cidrIpv6​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> cidrIpv6)
        Parameters:
        cidrIpv6 - The destination IPv6 CIDR range.
        Returns:
        builder
      • description

        public SecurityGroupEgressRuleArgs.Builder description​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The security group rule description.
        Returns:
        builder
      • description

        public SecurityGroupEgressRuleArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The security group rule description.
        Returns:
        builder
      • fromPort

        public SecurityGroupEgressRuleArgs.Builder fromPort​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> fromPort)
        Parameters:
        fromPort - The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
        Returns:
        builder
      • fromPort

        public SecurityGroupEgressRuleArgs.Builder fromPort​(java.lang.Integer fromPort)
        Parameters:
        fromPort - The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
        Returns:
        builder
      • ipProtocol

        public SecurityGroupEgressRuleArgs.Builder ipProtocol​(com.pulumi.core.Output<java.lang.String> ipProtocol)
        Parameters:
        ipProtocol - The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ip_protocol` is set to `-1`, it translates to all protocols, all port ranges, and `from_port` and `to_port` values should not be defined.
        Returns:
        builder
      • ipProtocol

        public SecurityGroupEgressRuleArgs.Builder ipProtocol​(java.lang.String ipProtocol)
        Parameters:
        ipProtocol - The IP protocol name or number. Use `-1` to specify all protocols. Note that if `ip_protocol` is set to `-1`, it translates to all protocols, all port ranges, and `from_port` and `to_port` values should not be defined.
        Returns:
        builder
      • prefixListId

        public SecurityGroupEgressRuleArgs.Builder prefixListId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> prefixListId)
        Parameters:
        prefixListId - The ID of the destination prefix list.
        Returns:
        builder
      • prefixListId

        public SecurityGroupEgressRuleArgs.Builder prefixListId​(java.lang.String prefixListId)
        Parameters:
        prefixListId - The ID of the destination prefix list.
        Returns:
        builder
      • referencedSecurityGroupId

        public SecurityGroupEgressRuleArgs.Builder referencedSecurityGroupId​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> referencedSecurityGroupId)
        Parameters:
        referencedSecurityGroupId - The destination security group that is referenced in the rule.
        Returns:
        builder
      • referencedSecurityGroupId

        public SecurityGroupEgressRuleArgs.Builder referencedSecurityGroupId​(java.lang.String referencedSecurityGroupId)
        Parameters:
        referencedSecurityGroupId - The destination security group that is referenced in the rule.
        Returns:
        builder
      • securityGroupId

        public SecurityGroupEgressRuleArgs.Builder securityGroupId​(com.pulumi.core.Output<java.lang.String> securityGroupId)
        Parameters:
        securityGroupId - The ID of the security group.
        Returns:
        builder
      • securityGroupId

        public SecurityGroupEgressRuleArgs.Builder securityGroupId​(java.lang.String securityGroupId)
        Parameters:
        securityGroupId - The ID of the security group.
        Returns:
        builder
      • tags

        public SecurityGroupEgressRuleArgs.Builder tags​(@Nullable
                                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public SecurityGroupEgressRuleArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • toPort

        public SecurityGroupEgressRuleArgs.Builder toPort​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> toPort)
        Parameters:
        toPort - The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
        Returns:
        builder
      • toPort

        public SecurityGroupEgressRuleArgs.Builder toPort​(java.lang.Integer toPort)
        Parameters:
        toPort - The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
        Returns:
        builder