Class SecurityGroupEgressRuleState.Builder

    • Method Detail

      • arn

        public SecurityGroupEgressRuleState.Builder arn​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) of the security group rule.
        Returns:
        builder
      • cidrIpv4

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

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

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

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

        public SecurityGroupEgressRuleState.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 SecurityGroupEgressRuleState.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 SecurityGroupEgressRuleState.Builder ipProtocol​(@Nullable
                                                               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 SecurityGroupEgressRuleState.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 SecurityGroupEgressRuleState.Builder prefixListId​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> prefixListId)
        Parameters:
        prefixListId - The ID of the destination prefix list.
        Returns:
        builder
      • prefixListId

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

        public SecurityGroupEgressRuleState.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 SecurityGroupEgressRuleState.Builder referencedSecurityGroupId​(java.lang.String referencedSecurityGroupId)
        Parameters:
        referencedSecurityGroupId - The destination security group that is referenced in the rule.
        Returns:
        builder
      • securityGroupId

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

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

        public SecurityGroupEgressRuleState.Builder securityGroupRuleId​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> securityGroupRuleId)
        Parameters:
        securityGroupRuleId - The ID of the security group rule.
        Returns:
        builder
      • securityGroupRuleId

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

        public SecurityGroupEgressRuleState.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 SecurityGroupEgressRuleState.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
      • tagsAll

        @Deprecated
        public SecurityGroupEgressRuleState.Builder tagsAll​(@Nullable
                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public SecurityGroupEgressRuleState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • toPort

        public SecurityGroupEgressRuleState.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 SecurityGroupEgressRuleState.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