Class PortSecGroupAssociateState.Builder

  • Enclosing class:
    PortSecGroupAssociateState

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

      • allSecurityGroupIds

        public PortSecGroupAssociateState.Builder allSecurityGroupIds​(@Nullable
                                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> allSecurityGroupIds)
        Parameters:
        allSecurityGroupIds - The collection of Security Group IDs on the port which have been explicitly and implicitly added.
        Returns:
        builder
      • allSecurityGroupIds

        public PortSecGroupAssociateState.Builder allSecurityGroupIds​(java.util.List<java.lang.String> allSecurityGroupIds)
        Parameters:
        allSecurityGroupIds - The collection of Security Group IDs on the port which have been explicitly and implicitly added.
        Returns:
        builder
      • allSecurityGroupIds

        public PortSecGroupAssociateState.Builder allSecurityGroupIds​(java.lang.String... allSecurityGroupIds)
        Parameters:
        allSecurityGroupIds - The collection of Security Group IDs on the port which have been explicitly and implicitly added.
        Returns:
        builder
      • enforce

        public PortSecGroupAssociateState.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 PortSecGroupAssociateState.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 PortSecGroupAssociateState.Builder portId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> portId)
        Parameters:
        portId - An UUID of the port to apply security groups to.
        Returns:
        builder
      • portId

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

        public PortSecGroupAssociateState.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 PortSecGroupAssociateState.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 PortSecGroupAssociateState.Builder securityGroupIds​(@Nullable
                                                                   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 PortSecGroupAssociateState.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 PortSecGroupAssociateState.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