Class VolumeV2SchedulerHintArgs.Builder

  • Enclosing class:
    VolumeV2SchedulerHintArgs

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

      • additionalProperties

        public VolumeV2SchedulerHintArgs.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 VolumeV2SchedulerHintArgs.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
      • differentHosts

        public VolumeV2SchedulerHintArgs.Builder differentHosts​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> differentHosts)
        Parameters:
        differentHosts - The volume should be scheduled on a different host from the set of volumes specified in the list provided.
        Returns:
        builder
      • differentHosts

        public VolumeV2SchedulerHintArgs.Builder differentHosts​(java.util.List<java.lang.String> differentHosts)
        Parameters:
        differentHosts - The volume should be scheduled on a different host from the set of volumes specified in the list provided.
        Returns:
        builder
      • differentHosts

        public VolumeV2SchedulerHintArgs.Builder differentHosts​(java.lang.String... differentHosts)
        Parameters:
        differentHosts - The volume should be scheduled on a different host from the set of volumes specified in the list provided.
        Returns:
        builder
      • localToInstance

        public VolumeV2SchedulerHintArgs.Builder localToInstance​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> localToInstance)
        Parameters:
        localToInstance - An instance UUID. The volume should be scheduled on the same host as the instance.
        Returns:
        builder
      • localToInstance

        public VolumeV2SchedulerHintArgs.Builder localToInstance​(java.lang.String localToInstance)
        Parameters:
        localToInstance - An instance UUID. The volume should be scheduled on the same host as the instance.
        Returns:
        builder
      • query

        public VolumeV2SchedulerHintArgs.Builder query​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> query)
        Parameters:
        query - A conditional query that a back-end must pass in order to host a volume. The query must use the `JsonFilter` syntax which is described [here](https://docs.openstack.org/cinder/latest/configuration/block-storage/scheduler-filters.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
      • query

        public VolumeV2SchedulerHintArgs.Builder query​(java.lang.String query)
        Parameters:
        query - A conditional query that a back-end must pass in order to host a volume. The query must use the `JsonFilter` syntax which is described [here](https://docs.openstack.org/cinder/latest/configuration/block-storage/scheduler-filters.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 VolumeV2SchedulerHintArgs.Builder sameHosts​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> sameHosts)
        Parameters:
        sameHosts - A list of volume UUIDs. The volume should be scheduled on the same host as another volume specified in the list provided.
        Returns:
        builder
      • sameHosts

        public VolumeV2SchedulerHintArgs.Builder sameHosts​(java.util.List<java.lang.String> sameHosts)
        Parameters:
        sameHosts - A list of volume UUIDs. The volume should be scheduled on the same host as another volume specified in the list provided.
        Returns:
        builder
      • sameHosts

        public VolumeV2SchedulerHintArgs.Builder sameHosts​(java.lang.String... sameHosts)
        Parameters:
        sameHosts - A list of volume UUIDs. The volume should be scheduled on the same host as another volume specified in the list provided.
        Returns:
        builder