Class SecGroupState.Builder

  • Enclosing class:
    SecGroupState

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

      • Builder

        public Builder()
    • Method Detail

      • description

        public SecGroupState.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description for the security group. Changing this updates the `description` of an existing security group.
        Returns:
        builder
      • description

        public SecGroupState.Builder description​(java.lang.String description)
        Parameters:
        description - A description for the security group. Changing this updates the `description` of an existing security group.
        Returns:
        builder
      • name

        public SecGroupState.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name for the security group. Changing this updates the `name` of an existing security group.
        Returns:
        builder
      • name

        public SecGroupState.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the security group. Changing this updates the `name` of an existing security group.
        Returns:
        builder
      • region

        public SecGroupState.Builder region​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V2 Compute client. A Compute client is needed to create a security group. If omitted, the `region` argument of the provider is used. Changing this creates a new security group.
        Returns:
        builder
      • region

        public SecGroupState.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 Compute client. A Compute client is needed to create a security group. If omitted, the `region` argument of the provider is used. Changing this creates a new security group.
        Returns:
        builder
      • rules

        public SecGroupState.Builder rules​(@Nullable
                                           com.pulumi.core.Output<java.util.List<SecGroupRuleArgs>> rules)
        Parameters:
        rules - A rule describing how the security group operates. The rule object structure is documented below. Changing this updates the security group rules. As shown in the example above, multiple rule blocks may be used.
        Returns:
        builder
      • rules

        public SecGroupState.Builder rules​(java.util.List<SecGroupRuleArgs> rules)
        Parameters:
        rules - A rule describing how the security group operates. The rule object structure is documented below. Changing this updates the security group rules. As shown in the example above, multiple rule blocks may be used.
        Returns:
        builder
      • rules

        public SecGroupState.Builder rules​(SecGroupRuleArgs... rules)
        Parameters:
        rules - A rule describing how the security group operates. The rule object structure is documented below. Changing this updates the security group rules. As shown in the example above, multiple rule blocks may be used.
        Returns:
        builder