All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.compute.outputs.DedicatedHostGroupInstanceViewResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.compute.outputs;

import com.pulumi.azurenative.compute.outputs.DedicatedHostInstanceViewWithNameResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class DedicatedHostGroupInstanceViewResponse {
    /**
     * @return List of instance view of the dedicated hosts under the dedicated host group.
     * 
     */
    private @Nullable List hosts;

    private DedicatedHostGroupInstanceViewResponse() {}
    /**
     * @return List of instance view of the dedicated hosts under the dedicated host group.
     * 
     */
    public List hosts() {
        return this.hosts == null ? List.of() : this.hosts;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DedicatedHostGroupInstanceViewResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List hosts;
        public Builder() {}
        public Builder(DedicatedHostGroupInstanceViewResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.hosts = defaults.hosts;
        }

        @CustomType.Setter
        public Builder hosts(@Nullable List hosts) {

            this.hosts = hosts;
            return this;
        }
        public Builder hosts(DedicatedHostInstanceViewWithNameResponse... hosts) {
            return hosts(List.of(hosts));
        }
        public DedicatedHostGroupInstanceViewResponse build() {
            final var _resultValue = new DedicatedHostGroupInstanceViewResponse();
            _resultValue.hosts = hosts;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy