Package com.pulumi.openstack.firewall
Class GroupV2Args.Builder
- java.lang.Object
-
- com.pulumi.openstack.firewall.GroupV2Args.Builder
-
- Enclosing class:
- GroupV2Args
public static final class GroupV2Args.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GroupV2Args defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupV2Args.BuilderadminStateUp(com.pulumi.core.Output<java.lang.Boolean> adminStateUp)GroupV2Args.BuilderadminStateUp(java.lang.Boolean adminStateUp)GroupV2Argsbuild()GroupV2Args.Builderdescription(com.pulumi.core.Output<java.lang.String> description)GroupV2Args.Builderdescription(java.lang.String description)GroupV2Args.BuilderegressFirewallPolicyId(com.pulumi.core.Output<java.lang.String> egressFirewallPolicyId)GroupV2Args.BuilderegressFirewallPolicyId(java.lang.String egressFirewallPolicyId)GroupV2Args.BuilderingressFirewallPolicyId(com.pulumi.core.Output<java.lang.String> ingressFirewallPolicyId)GroupV2Args.BuilderingressFirewallPolicyId(java.lang.String ingressFirewallPolicyId)GroupV2Args.Buildername(com.pulumi.core.Output<java.lang.String> name)GroupV2Args.Buildername(java.lang.String name)GroupV2Args.Builderports(com.pulumi.core.Output<java.util.List<java.lang.String>> ports)GroupV2Args.Builderports(java.lang.String... ports)GroupV2Args.Builderports(java.util.List<java.lang.String> ports)GroupV2Args.BuilderprojectId(com.pulumi.core.Output<java.lang.String> projectId)GroupV2Args.BuilderprojectId(java.lang.String projectId)GroupV2Args.Builderregion(com.pulumi.core.Output<java.lang.String> region)GroupV2Args.Builderregion(java.lang.String region)GroupV2Args.Buildershared(com.pulumi.core.Output<java.lang.Boolean> shared)GroupV2Args.Buildershared(java.lang.Boolean shared)GroupV2Args.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)GroupV2Args.BuildertenantId(java.lang.String tenantId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GroupV2Args defaults)
-
-
Method Detail
-
adminStateUp
public GroupV2Args.Builder adminStateUp(@Nullable com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
- Parameters:
adminStateUp- Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the `admin_state_up` of an existing firewall group.- Returns:
- builder
-
adminStateUp
public GroupV2Args.Builder adminStateUp(java.lang.Boolean adminStateUp)
- Parameters:
adminStateUp- Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the `admin_state_up` of an existing firewall group.- Returns:
- builder
-
description
public GroupV2Args.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A description for the firewall group. Changing this updates the `description` of an existing firewall group.- Returns:
- builder
-
description
public GroupV2Args.Builder description(java.lang.String description)
- Parameters:
description- A description for the firewall group. Changing this updates the `description` of an existing firewall group.- Returns:
- builder
-
egressFirewallPolicyId
public GroupV2Args.Builder egressFirewallPolicyId(@Nullable com.pulumi.core.Output<java.lang.String> egressFirewallPolicyId)
- Parameters:
egressFirewallPolicyId- The egress firewall policy resource id for the firewall group. Changing this updates the `egress_firewall_policy_id` of an existing firewall group.- Returns:
- builder
-
egressFirewallPolicyId
public GroupV2Args.Builder egressFirewallPolicyId(java.lang.String egressFirewallPolicyId)
- Parameters:
egressFirewallPolicyId- The egress firewall policy resource id for the firewall group. Changing this updates the `egress_firewall_policy_id` of an existing firewall group.- Returns:
- builder
-
ingressFirewallPolicyId
public GroupV2Args.Builder ingressFirewallPolicyId(@Nullable com.pulumi.core.Output<java.lang.String> ingressFirewallPolicyId)
- Parameters:
ingressFirewallPolicyId- The ingress firewall policy resource id for the firewall group. Changing this updates the `ingress_firewall_policy_id` of an existing firewall group.- Returns:
- builder
-
ingressFirewallPolicyId
public GroupV2Args.Builder ingressFirewallPolicyId(java.lang.String ingressFirewallPolicyId)
- Parameters:
ingressFirewallPolicyId- The ingress firewall policy resource id for the firewall group. Changing this updates the `ingress_firewall_policy_id` of an existing firewall group.- Returns:
- builder
-
name
public GroupV2Args.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- A name for the firewall group. Changing this updates the `name` of an existing firewall.- Returns:
- builder
-
name
public GroupV2Args.Builder name(java.lang.String name)
- Parameters:
name- A name for the firewall group. Changing this updates the `name` of an existing firewall.- Returns:
- builder
-
ports
public GroupV2Args.Builder ports(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> ports)
- Parameters:
ports- Port(s) to associate this firewall group with. Must be a list of strings. Changing this updates the associated ports of an existing firewall group.- Returns:
- builder
-
ports
public GroupV2Args.Builder ports(java.util.List<java.lang.String> ports)
- Parameters:
ports- Port(s) to associate this firewall group with. Must be a list of strings. Changing this updates the associated ports of an existing firewall group.- Returns:
- builder
-
ports
public GroupV2Args.Builder ports(java.lang.String... ports)
- Parameters:
ports- Port(s) to associate this firewall group with. Must be a list of strings. Changing this updates the associated ports of an existing firewall group.- Returns:
- builder
-
projectId
public GroupV2Args.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 group. Required if admin wants to create a firewall group for another project. Changing this creates a new firewall group.- Returns:
- builder
-
projectId
public GroupV2Args.Builder projectId(java.lang.String projectId)
- Parameters:
projectId- This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall group. Required if admin wants to create a firewall group for another project. Changing this creates a new firewall group.- Returns:
- builder
-
region
public GroupV2Args.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to obtain the v2 networking client. A networking client is needed to create a firewall group. If omitted, the `region` argument of the provider is used. Changing this creates a new firewall group.- Returns:
- builder
-
region
public GroupV2Args.Builder region(java.lang.String region)
- Parameters:
region- The region in which to obtain the v2 networking client. A networking client is needed to create a firewall group. If omitted, the `region` argument of the provider is used. Changing this creates a new firewall group.- Returns:
- builder
-
shared
public GroupV2Args.Builder shared(@Nullable com.pulumi.core.Output<java.lang.Boolean> shared)
- Parameters:
shared- Sharing status of the firewall group (must be "true" or "false" if provided). If this is "true" the firewall group is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall group. Only administrative users can specify if the firewall group should be shared.- Returns:
- builder
-
shared
public GroupV2Args.Builder shared(java.lang.Boolean shared)
- Parameters:
shared- Sharing status of the firewall group (must be "true" or "false" if provided). If this is "true" the firewall group is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall group. Only administrative users can specify if the firewall group should be shared.- Returns:
- builder
-
tenantId
public GroupV2Args.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 group. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.- Returns:
- builder
-
tenantId
public GroupV2Args.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- This argument conflicts and is interchangeable with `project_id`. The owner of the firewall group. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.- Returns:
- builder
-
build
public GroupV2Args build()
-
-