Class AggregateV2State.Builder

  • Enclosing class:
    AggregateV2State

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

      • Builder

        public Builder()
    • Method Detail

      • hosts

        public AggregateV2State.Builder hosts​(@Nullable
                                              com.pulumi.core.Output<java.util.List<java.lang.String>> hosts)
        Parameters:
        hosts - The list of hosts contained in the Host Aggregate. The hosts must be added to Openstack and visible in the web interface, or the provider will fail to add them to the host aggregate.
        Returns:
        builder
      • hosts

        public AggregateV2State.Builder hosts​(java.util.List<java.lang.String> hosts)
        Parameters:
        hosts - The list of hosts contained in the Host Aggregate. The hosts must be added to Openstack and visible in the web interface, or the provider will fail to add them to the host aggregate.
        Returns:
        builder
      • hosts

        public AggregateV2State.Builder hosts​(java.lang.String... hosts)
        Parameters:
        hosts - The list of hosts contained in the Host Aggregate. The hosts must be added to Openstack and visible in the web interface, or the provider will fail to add them to the host aggregate.
        Returns:
        builder
      • metadata

        public AggregateV2State.Builder metadata​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> metadata)
        Parameters:
        metadata - The metadata of the Host Aggregate. Can be useful to indicate scheduler hints.
        Returns:
        builder
      • metadata

        public AggregateV2State.Builder metadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Parameters:
        metadata - The metadata of the Host Aggregate. Can be useful to indicate scheduler hints.
        Returns:
        builder
      • name

        public AggregateV2State.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the Host Aggregate
        Returns:
        builder
      • name

        public AggregateV2State.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the Host Aggregate
        Returns:
        builder
      • region

        public AggregateV2State.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to create the Host Aggregate. If omitted, the `region` argument of the provider is used. Changing this creates a new Host Aggregate.
        Returns:
        builder
      • region

        public AggregateV2State.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to create the Host Aggregate. If omitted, the `region` argument of the provider is used. Changing this creates a new Host Aggregate.
        Returns:
        builder
      • zone

        public AggregateV2State.Builder zone​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> zone)
        Parameters:
        zone - The name of the Availability Zone to use. If ommited, it will take the default availability zone.
        Returns:
        builder
      • zone

        public AggregateV2State.Builder zone​(java.lang.String zone)
        Parameters:
        zone - The name of the Availability Zone to use. If ommited, it will take the default availability zone.
        Returns:
        builder