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

com.pulumi.azurenative.azurestackhci.outputs.StorageNetworksResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.azurestackhci.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class StorageNetworksResponse {
    /**
     * @return Name of the storage network.
     * 
     */
    private @Nullable String name;
    /**
     * @return Name of the storage network adapter.
     * 
     */
    private @Nullable String networkAdapterName;
    /**
     * @return ID specified for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic.
     * 
     */
    private @Nullable String vlanId;

    private StorageNetworksResponse() {}
    /**
     * @return Name of the storage network.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return Name of the storage network adapter.
     * 
     */
    public Optional networkAdapterName() {
        return Optional.ofNullable(this.networkAdapterName);
    }
    /**
     * @return ID specified for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic.
     * 
     */
    public Optional vlanId() {
        return Optional.ofNullable(this.vlanId);
    }

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

    public static Builder builder(StorageNetworksResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String name;
        private @Nullable String networkAdapterName;
        private @Nullable String vlanId;
        public Builder() {}
        public Builder(StorageNetworksResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.networkAdapterName = defaults.networkAdapterName;
    	      this.vlanId = defaults.vlanId;
        }

        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkAdapterName(@Nullable String networkAdapterName) {

            this.networkAdapterName = networkAdapterName;
            return this;
        }
        @CustomType.Setter
        public Builder vlanId(@Nullable String vlanId) {

            this.vlanId = vlanId;
            return this;
        }
        public StorageNetworksResponse build() {
            final var _resultValue = new StorageNetworksResponse();
            _resultValue.name = name;
            _resultValue.networkAdapterName = networkAdapterName;
            _resultValue.vlanId = vlanId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy