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

com.pulumi.azurenative.azurestackhci.inputs.DeviceConfigurationArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.azurestackhci.inputs.NicDetailArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The device Configuration of a device.
 * 
 */
public final class DeviceConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DeviceConfigurationArgs Empty = new DeviceConfigurationArgs();

    /**
     * device metadata details.
     * 
     */
    @Import(name="deviceMetadata")
    private @Nullable Output deviceMetadata;

    /**
     * @return device metadata details.
     * 
     */
    public Optional> deviceMetadata() {
        return Optional.ofNullable(this.deviceMetadata);
    }

    /**
     * NIC Details of device
     * 
     */
    @Import(name="nicDetails", required=true)
    private Output> nicDetails;

    /**
     * @return NIC Details of device
     * 
     */
    public Output> nicDetails() {
        return this.nicDetails;
    }

    private DeviceConfigurationArgs() {}

    private DeviceConfigurationArgs(DeviceConfigurationArgs $) {
        this.deviceMetadata = $.deviceMetadata;
        this.nicDetails = $.nicDetails;
    }

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

    public static final class Builder {
        private DeviceConfigurationArgs $;

        public Builder() {
            $ = new DeviceConfigurationArgs();
        }

        public Builder(DeviceConfigurationArgs defaults) {
            $ = new DeviceConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param deviceMetadata device metadata details.
         * 
         * @return builder
         * 
         */
        public Builder deviceMetadata(@Nullable Output deviceMetadata) {
            $.deviceMetadata = deviceMetadata;
            return this;
        }

        /**
         * @param deviceMetadata device metadata details.
         * 
         * @return builder
         * 
         */
        public Builder deviceMetadata(String deviceMetadata) {
            return deviceMetadata(Output.of(deviceMetadata));
        }

        /**
         * @param nicDetails NIC Details of device
         * 
         * @return builder
         * 
         */
        public Builder nicDetails(Output> nicDetails) {
            $.nicDetails = nicDetails;
            return this;
        }

        /**
         * @param nicDetails NIC Details of device
         * 
         * @return builder
         * 
         */
        public Builder nicDetails(List nicDetails) {
            return nicDetails(Output.of(nicDetails));
        }

        /**
         * @param nicDetails NIC Details of device
         * 
         * @return builder
         * 
         */
        public Builder nicDetails(NicDetailArgs... nicDetails) {
            return nicDetails(List.of(nicDetails));
        }

        public DeviceConfigurationArgs build() {
            if ($.nicDetails == null) {
                throw new MissingRequiredPropertyException("DeviceConfigurationArgs", "nicDetails");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy