Class GroupV2State.Builder
- java.lang.Object
-
- com.pulumi.openstack.firewall.inputs.GroupV2State.Builder
-
- Enclosing class:
- GroupV2State
public static final class GroupV2State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GroupV2State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupV2State.BuilderadminStateUp(com.pulumi.core.Output<java.lang.Boolean> adminStateUp)GroupV2State.BuilderadminStateUp(java.lang.Boolean adminStateUp)GroupV2Statebuild()GroupV2State.Builderdescription(com.pulumi.core.Output<java.lang.String> description)GroupV2State.Builderdescription(java.lang.String description)GroupV2State.BuilderegressFirewallPolicyId(com.pulumi.core.Output<java.lang.String> egressFirewallPolicyId)GroupV2State.BuilderegressFirewallPolicyId(java.lang.String egressFirewallPolicyId)GroupV2State.BuilderingressFirewallPolicyId(com.pulumi.core.Output<java.lang.String> ingressFirewallPolicyId)GroupV2State.BuilderingressFirewallPolicyId(java.lang.String ingressFirewallPolicyId)GroupV2State.Buildername(com.pulumi.core.Output<java.lang.String> name)GroupV2State.Buildername(java.lang.String name)GroupV2State.Builderports(com.pulumi.core.Output<java.util.List<java.lang.String>> ports)GroupV2State.Builderports(java.lang.String... ports)GroupV2State.Builderports(java.util.List<java.lang.String> ports)GroupV2State.BuilderprojectId(com.pulumi.core.Output<java.lang.String> projectId)GroupV2State.BuilderprojectId(java.lang.String projectId)GroupV2State.Builderregion(com.pulumi.core.Output<java.lang.String> region)GroupV2State.Builderregion(java.lang.String region)GroupV2State.Buildershared(com.pulumi.core.Output<java.lang.Boolean> shared)GroupV2State.Buildershared(java.lang.Boolean shared)GroupV2State.Builderstatus(com.pulumi.core.Output<java.lang.String> status)GroupV2State.Builderstatus(java.lang.String status)GroupV2State.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)GroupV2State.BuildertenantId(java.lang.String tenantId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GroupV2State defaults)
-
-
Method Detail
-
adminStateUp
public GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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 GroupV2State.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
-
status
public GroupV2State.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status- The status of the firewall group.- Returns:
- builder
-
status
public GroupV2State.Builder status(java.lang.String status)
- Parameters:
status- The status of the firewall group.- Returns:
- builder
-
tenantId
public GroupV2State.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 GroupV2State.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 GroupV2State build()
-
-