Class AggregateV2State.Builder
- java.lang.Object
-
- com.pulumi.openstack.compute.inputs.AggregateV2State.Builder
-
- Enclosing class:
- AggregateV2State
public static final class AggregateV2State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AggregateV2State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateV2Statebuild()AggregateV2State.Builderhosts(com.pulumi.core.Output<java.util.List<java.lang.String>> hosts)AggregateV2State.Builderhosts(java.lang.String... hosts)AggregateV2State.Builderhosts(java.util.List<java.lang.String> hosts)AggregateV2State.Buildermetadata(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> metadata)AggregateV2State.Buildermetadata(java.util.Map<java.lang.String,java.lang.String> metadata)AggregateV2State.Buildername(com.pulumi.core.Output<java.lang.String> name)AggregateV2State.Buildername(java.lang.String name)AggregateV2State.Builderregion(com.pulumi.core.Output<java.lang.String> region)AggregateV2State.Builderregion(java.lang.String region)AggregateV2State.Builderzone(com.pulumi.core.Output<java.lang.String> zone)AggregateV2State.Builderzone(java.lang.String zone)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AggregateV2State defaults)
-
-
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
-
build
public AggregateV2State build()
-
-