Class GetFwRuleV2Args.Builder

  • Enclosing class:
    GetFwRuleV2Args

    public static final class GetFwRuleV2Args.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • action

        public GetFwRuleV2Args.Builder action​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> action)
        Parameters:
        action - Action to be taken when the firewall rule matches.
        Returns:
        builder
      • action

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

        public GetFwRuleV2Args.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the firewall rule.
        Returns:
        builder
      • description

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

        public GetFwRuleV2Args.Builder destinationIpAddress​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> destinationIpAddress)
        Parameters:
        destinationIpAddress - The destination IP address on which the firewall rule operates.
        Returns:
        builder
      • destinationIpAddress

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

        public GetFwRuleV2Args.Builder destinationPort​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> destinationPort)
        Parameters:
        destinationPort - The destination port on which the firewall rule operates.
        Returns:
        builder
      • destinationPort

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

        public GetFwRuleV2Args.Builder enabled​(@Nullable
                                               com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Enabled status for the firewall rule.
        Returns:
        builder
      • enabled

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

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

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

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

        public GetFwRuleV2Args.Builder ipVersion​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> ipVersion)
        Parameters:
        ipVersion - IP version, either 4 (default) or 6.
        Returns:
        builder
      • ipVersion

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

        public GetFwRuleV2Args.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the firewall rule.
        Returns:
        builder
      • name

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

        public GetFwRuleV2Args.Builder projectId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> projectId)
        Parameters:
        projectId - This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall rule.
        Returns:
        builder
      • projectId

        public GetFwRuleV2Args.Builder projectId​(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 GetFwRuleV2Args.Builder protocol​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - The protocol type on which the firewall rule operates.
        Returns:
        builder
      • protocol

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

        public GetFwRuleV2Args.Builder region​(@Nullable
                                              com.pulumi.core.Output<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
      • region

        public GetFwRuleV2Args.Builder region​(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 GetFwRuleV2Args.Builder ruleId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> ruleId)
        Parameters:
        ruleId - The ID of the firewall rule.
        Returns:
        builder
      • ruleId

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

        public GetFwRuleV2Args.Builder shared​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> shared)
        Parameters:
        shared - The sharing status of the firewall policy.
        Returns:
        builder
      • shared

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

        public GetFwRuleV2Args.Builder sourceIpAddress​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> sourceIpAddress)
        Parameters:
        sourceIpAddress - The source IP address on which the firewall rule operates.
        Returns:
        builder
      • sourceIpAddress

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

        public GetFwRuleV2Args.Builder sourcePort​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> sourcePort)
        Parameters:
        sourcePort - The source port on which the firewall rule operates.
        Returns:
        builder
      • sourcePort

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

        public GetFwRuleV2Args.Builder tenantId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> tenantId)
        Parameters:
        tenantId - This argument conflicts and is interchangeable with `project_id`. The owner of the firewall rule.
        Returns:
        builder
      • tenantId

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