Class SecGroupArgs.Builder

  • Enclosing class:
    SecGroupArgs

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

      • Builder

        public Builder()
    • Method Detail

      • deleteDefaultRules

        public SecGroupArgs.Builder deleteDefaultRules​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> deleteDefaultRules)
        Parameters:
        deleteDefaultRules - Whether or not to delete the default egress security rules. This is `false` by default. See the below note for more information.
        Returns:
        builder
      • deleteDefaultRules

        public SecGroupArgs.Builder deleteDefaultRules​(java.lang.Boolean deleteDefaultRules)
        Parameters:
        deleteDefaultRules - Whether or not to delete the default egress security rules. This is `false` by default. See the below note for more information.
        Returns:
        builder
      • description

        public SecGroupArgs.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A unique name for the security group.
        Returns:
        builder
      • description

        public SecGroupArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A unique name for the security group.
        Returns:
        builder
      • name

        public SecGroupArgs.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name for the security group.
        Returns:
        builder
      • name

        public SecGroupArgs.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the security group.
        Returns:
        builder
      • region

        public SecGroupArgs.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 port. If omitted, the `region` argument of the provider is used. Changing this creates a new security group.
        Returns:
        builder
      • region

        public SecGroupArgs.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 port. If omitted, the `region` argument of the provider is used. Changing this creates a new security group.
        Returns:
        builder
      • tags

        public SecGroupArgs.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
        Parameters:
        tags - A set of string tags for the security group.
        Returns:
        builder
      • tags

        public SecGroupArgs.Builder tags​(java.util.List<java.lang.String> tags)
        Parameters:
        tags - A set of string tags for the security group.
        Returns:
        builder
      • tags

        public SecGroupArgs.Builder tags​(java.lang.String... tags)
        Parameters:
        tags - A set of string tags for the security group.
        Returns:
        builder
      • tenantId

        public SecGroupArgs.Builder tenantId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> tenantId)
        Parameters:
        tenantId - The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.
        Returns:
        builder
      • tenantId

        public SecGroupArgs.Builder tenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.
        Returns:
        builder