Class PortSecGroupAssociateArgs.Builder

  • Enclosing class:
    PortSecGroupAssociateArgs

    public static final class PortSecGroupAssociateArgs.Builder
    extends java.lang.Object
    • Method Detail

      • enforce

        public PortSecGroupAssociateArgs.Builder enforce​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> enforce)
        Parameters:
        enforce - Whether to replace or append the list of security groups, specified in the `security_group_ids`. Defaults to `false`.
        Returns:
        builder
      • enforce

        public PortSecGroupAssociateArgs.Builder enforce​(java.lang.Boolean enforce)
        Parameters:
        enforce - Whether to replace or append the list of security groups, specified in the `security_group_ids`. Defaults to `false`.
        Returns:
        builder
      • portId

        public PortSecGroupAssociateArgs.Builder portId​(com.pulumi.core.Output<java.lang.String> portId)
        Parameters:
        portId - An UUID of the port to apply security groups to.
        Returns:
        builder
      • portId

        public PortSecGroupAssociateArgs.Builder portId​(java.lang.String portId)
        Parameters:
        portId - An UUID of the port to apply security groups to.
        Returns:
        builder
      • region

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

        public PortSecGroupAssociateArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 networking client. A networking client is needed to manage a port. If omitted, the `region` argument of the provider is used. Changing this creates a new resource.
        Returns:
        builder
      • securityGroupIds

        public PortSecGroupAssociateArgs.Builder securityGroupIds​(com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
        Returns:
        builder
      • securityGroupIds

        public PortSecGroupAssociateArgs.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
        Returns:
        builder
      • securityGroupIds

        public PortSecGroupAssociateArgs.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
        Returns:
        builder