Class InstanceSchedulerHintArgs.Builder

  • Enclosing class:
    InstanceSchedulerHintArgs

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

      • additionalProperties

        public InstanceSchedulerHintArgs.Builder additionalProperties​(@Nullable
                                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> additionalProperties)
        Parameters:
        additionalProperties - Arbitrary key/value pairs of additional properties to pass to the scheduler.
        Returns:
        builder
      • additionalProperties

        public InstanceSchedulerHintArgs.Builder additionalProperties​(java.util.Map<java.lang.String,​java.lang.Object> additionalProperties)
        Parameters:
        additionalProperties - Arbitrary key/value pairs of additional properties to pass to the scheduler.
        Returns:
        builder
      • buildNearHostIp

        public InstanceSchedulerHintArgs.Builder buildNearHostIp​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> buildNearHostIp)
        Parameters:
        buildNearHostIp - An IP Address in CIDR form. The instance will be placed on a compute node that is in the same subnet.
        Returns:
        builder
      • buildNearHostIp

        public InstanceSchedulerHintArgs.Builder buildNearHostIp​(java.lang.String buildNearHostIp)
        Parameters:
        buildNearHostIp - An IP Address in CIDR form. The instance will be placed on a compute node that is in the same subnet.
        Returns:
        builder
      • differentCells

        public InstanceSchedulerHintArgs.Builder differentCells​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> differentCells)
        Parameters:
        differentCells - The names of cells where not to build the instance.
        Returns:
        builder
      • differentCells

        public InstanceSchedulerHintArgs.Builder differentCells​(java.util.List<java.lang.String> differentCells)
        Parameters:
        differentCells - The names of cells where not to build the instance.
        Returns:
        builder
      • differentCells

        public InstanceSchedulerHintArgs.Builder differentCells​(java.lang.String... differentCells)
        Parameters:
        differentCells - The names of cells where not to build the instance.
        Returns:
        builder
      • differentHosts

        public InstanceSchedulerHintArgs.Builder differentHosts​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> differentHosts)
        Parameters:
        differentHosts - A list of instance UUIDs. The instance will be scheduled on a different host than all other instances.
        Returns:
        builder
      • differentHosts

        public InstanceSchedulerHintArgs.Builder differentHosts​(java.util.List<java.lang.String> differentHosts)
        Parameters:
        differentHosts - A list of instance UUIDs. The instance will be scheduled on a different host than all other instances.
        Returns:
        builder
      • differentHosts

        public InstanceSchedulerHintArgs.Builder differentHosts​(java.lang.String... differentHosts)
        Parameters:
        differentHosts - A list of instance UUIDs. The instance will be scheduled on a different host than all other instances.
        Returns:
        builder
      • group

        public InstanceSchedulerHintArgs.Builder group​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> group)
        Parameters:
        group - A UUID of a Server Group. The instance will be placed into that group.
        Returns:
        builder
      • group

        public InstanceSchedulerHintArgs.Builder group​(java.lang.String group)
        Parameters:
        group - A UUID of a Server Group. The instance will be placed into that group.
        Returns:
        builder
      • queries

        public InstanceSchedulerHintArgs.Builder queries​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> queries)
        Parameters:
        queries - A conditional query that a compute node must pass in order to host an instance. The query must use the `JsonFilter` syntax which is described [here](https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#jsonfilter). At this time, only simple queries are supported. Compound queries using `and`, `or`, or `not` are not supported. An example of a simple query is:
        Returns:
        builder
      • queries

        public InstanceSchedulerHintArgs.Builder queries​(java.util.List<java.lang.String> queries)
        Parameters:
        queries - A conditional query that a compute node must pass in order to host an instance. The query must use the `JsonFilter` syntax which is described [here](https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#jsonfilter). At this time, only simple queries are supported. Compound queries using `and`, `or`, or `not` are not supported. An example of a simple query is:
        Returns:
        builder
      • queries

        public InstanceSchedulerHintArgs.Builder queries​(java.lang.String... queries)
        Parameters:
        queries - A conditional query that a compute node must pass in order to host an instance. The query must use the `JsonFilter` syntax which is described [here](https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#jsonfilter). At this time, only simple queries are supported. Compound queries using `and`, `or`, or `not` are not supported. An example of a simple query is:
        Returns:
        builder
      • sameHosts

        public InstanceSchedulerHintArgs.Builder sameHosts​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> sameHosts)
        Parameters:
        sameHosts - A list of instance UUIDs. The instance will be scheduled on the same host of those specified.
        Returns:
        builder
      • sameHosts

        public InstanceSchedulerHintArgs.Builder sameHosts​(java.util.List<java.lang.String> sameHosts)
        Parameters:
        sameHosts - A list of instance UUIDs. The instance will be scheduled on the same host of those specified.
        Returns:
        builder
      • sameHosts

        public InstanceSchedulerHintArgs.Builder sameHosts​(java.lang.String... sameHosts)
        Parameters:
        sameHosts - A list of instance UUIDs. The instance will be scheduled on the same host of those specified.
        Returns:
        builder
      • targetCell

        public InstanceSchedulerHintArgs.Builder targetCell​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> targetCell)
        Parameters:
        targetCell - The name of a cell to host the instance.
        Returns:
        builder
      • targetCell

        public InstanceSchedulerHintArgs.Builder targetCell​(java.lang.String targetCell)
        Parameters:
        targetCell - The name of a cell to host the instance.
        Returns:
        builder