Class GetFwRuleV2PlainArgs.Builder

  • Enclosing class:
    GetFwRuleV2PlainArgs

    public static final class GetFwRuleV2PlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • action

        public GetFwRuleV2PlainArgs.Builder action​(@Nullable
                                                   java.lang.String action)
        Parameters:
        action - Action to be taken when the firewall rule matches.
        Returns:
        builder
      • description

        public GetFwRuleV2PlainArgs.Builder description​(@Nullable
                                                        java.lang.String description)
        Parameters:
        description - The description of the firewall rule.
        Returns:
        builder
      • destinationIpAddress

        public GetFwRuleV2PlainArgs.Builder destinationIpAddress​(@Nullable
                                                                 java.lang.String destinationIpAddress)
        Parameters:
        destinationIpAddress - The destination IP address on which the firewall rule operates.
        Returns:
        builder
      • destinationPort

        public GetFwRuleV2PlainArgs.Builder destinationPort​(@Nullable
                                                            java.lang.String destinationPort)
        Parameters:
        destinationPort - The destination port on which the firewall rule operates.
        Returns:
        builder
      • enabled

        public GetFwRuleV2PlainArgs.Builder enabled​(@Nullable
                                                    java.lang.Boolean enabled)
        Parameters:
        enabled - Enabled status for the firewall rule.
        Returns:
        builder
      • firewallPolicyIds

        public GetFwRuleV2PlainArgs.Builder firewallPolicyIds​(@Nullable
                                                              java.util.List<java.lang.String> firewallPolicyIds)
        Parameters:
        firewallPolicyIds - The ID of the firewall policy the rule belongs to.
        Returns:
        builder
      • firewallPolicyIds

        public GetFwRuleV2PlainArgs.Builder firewallPolicyIds​(java.lang.String... firewallPolicyIds)
        Parameters:
        firewallPolicyIds - The ID of the firewall policy the rule belongs to.
        Returns:
        builder
      • ipVersion

        public GetFwRuleV2PlainArgs.Builder ipVersion​(@Nullable
                                                      java.lang.Integer ipVersion)
        Parameters:
        ipVersion - IP version, either 4 (default) or 6.
        Returns:
        builder
      • name

        public GetFwRuleV2PlainArgs.Builder name​(@Nullable
                                                 java.lang.String name)
        Parameters:
        name - The name of the firewall rule.
        Returns:
        builder
      • projectId

        public GetFwRuleV2PlainArgs.Builder projectId​(@Nullable
                                                      java.lang.String projectId)
        Parameters:
        projectId - This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall rule.
        Returns:
        builder
      • protocol

        public GetFwRuleV2PlainArgs.Builder protocol​(@Nullable
                                                     java.lang.String protocol)
        Parameters:
        protocol - The protocol type on which the firewall rule operates.
        Returns:
        builder
      • region

        public GetFwRuleV2PlainArgs.Builder region​(@Nullable
                                                   java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve firewall policy ids. If omitted, the `region` argument of the provider is used.
        Returns:
        builder
      • ruleId

        public GetFwRuleV2PlainArgs.Builder ruleId​(@Nullable
                                                   java.lang.String ruleId)
        Parameters:
        ruleId - The ID of the firewall rule.
        Returns:
        builder
      • shared

        public GetFwRuleV2PlainArgs.Builder shared​(@Nullable
                                                   java.lang.Boolean shared)
        Parameters:
        shared - The sharing status of the firewall policy.
        Returns:
        builder
      • sourceIpAddress

        public GetFwRuleV2PlainArgs.Builder sourceIpAddress​(@Nullable
                                                            java.lang.String sourceIpAddress)
        Parameters:
        sourceIpAddress - The source IP address on which the firewall rule operates.
        Returns:
        builder
      • sourcePort

        public GetFwRuleV2PlainArgs.Builder sourcePort​(@Nullable
                                                       java.lang.String sourcePort)
        Parameters:
        sourcePort - The source port on which the firewall rule operates.
        Returns:
        builder
      • tenantId

        public GetFwRuleV2PlainArgs.Builder tenantId​(@Nullable
                                                     java.lang.String tenantId)
        Parameters:
        tenantId - This argument conflicts and is interchangeable with `project_id`. The owner of the firewall rule.
        Returns:
        builder