Package com.pulumi.openstack.compute
Class AggregateV2Args.Builder
- java.lang.Object
-
- com.pulumi.openstack.compute.AggregateV2Args.Builder
-
- Enclosing class:
- AggregateV2Args
public static final class AggregateV2Args.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AggregateV2Args defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateV2Argsbuild()AggregateV2Args.Builderhosts(com.pulumi.core.Output<java.util.List<java.lang.String>> hosts)AggregateV2Args.Builderhosts(java.lang.String... hosts)AggregateV2Args.Builderhosts(java.util.List<java.lang.String> hosts)AggregateV2Args.Buildermetadata(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> metadata)AggregateV2Args.Buildermetadata(java.util.Map<java.lang.String,java.lang.String> metadata)AggregateV2Args.Buildername(com.pulumi.core.Output<java.lang.String> name)AggregateV2Args.Buildername(java.lang.String name)AggregateV2Args.Builderregion(com.pulumi.core.Output<java.lang.String> region)AggregateV2Args.Builderregion(java.lang.String region)AggregateV2Args.Builderzone(com.pulumi.core.Output<java.lang.String> zone)AggregateV2Args.Builderzone(java.lang.String zone)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AggregateV2Args defaults)
-
-
Method Detail
-
hosts
public AggregateV2Args.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 AggregateV2Args.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 AggregateV2Args.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 AggregateV2Args.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 AggregateV2Args.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 AggregateV2Args.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the Host Aggregate- Returns:
- builder
-
name
public AggregateV2Args.Builder name(java.lang.String name)
- Parameters:
name- The name of the Host Aggregate- Returns:
- builder
-
region
public AggregateV2Args.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 AggregateV2Args.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 AggregateV2Args.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 AggregateV2Args.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
-
build
public AggregateV2Args build()
-
-