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

com.pulumi.azurenative.azurestackhci.inputs.IntentsArgs 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.AdapterPropertyOverridesArgs;
import com.pulumi.azurenative.azurestackhci.inputs.QosPolicyOverridesArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualSwitchConfigurationOverridesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The Intents of a cluster.
 * 
 */
public final class IntentsArgs extends com.pulumi.resources.ResourceArgs {

    public static final IntentsArgs Empty = new IntentsArgs();

    /**
     * Array of network interfaces used for the network intent.
     * 
     */
    @Import(name="adapter")
    private @Nullable Output> adapter;

    /**
     * @return Array of network interfaces used for the network intent.
     * 
     */
    public Optional>> adapter() {
        return Optional.ofNullable(this.adapter);
    }

    /**
     * Set Adapter PropertyOverrides for cluster.
     * 
     */
    @Import(name="adapterPropertyOverrides")
    private @Nullable Output adapterPropertyOverrides;

    /**
     * @return Set Adapter PropertyOverrides for cluster.
     * 
     */
    public Optional> adapterPropertyOverrides() {
        return Optional.ofNullable(this.adapterPropertyOverrides);
    }

    /**
     * Name of the network intent you wish to create.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the network intent you wish to create.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    @Import(name="overrideAdapterProperty")
    private @Nullable Output overrideAdapterProperty;

    /**
     * @return This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    public Optional> overrideAdapterProperty() {
        return Optional.ofNullable(this.overrideAdapterProperty);
    }

    /**
     * This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    @Import(name="overrideQosPolicy")
    private @Nullable Output overrideQosPolicy;

    /**
     * @return This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    public Optional> overrideQosPolicy() {
        return Optional.ofNullable(this.overrideQosPolicy);
    }

    /**
     * This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    @Import(name="overrideVirtualSwitchConfiguration")
    private @Nullable Output overrideVirtualSwitchConfiguration;

    /**
     * @return This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    public Optional> overrideVirtualSwitchConfiguration() {
        return Optional.ofNullable(this.overrideVirtualSwitchConfiguration);
    }

    /**
     * Set QoS PolicyOverrides for cluster.
     * 
     */
    @Import(name="qosPolicyOverrides")
    private @Nullable Output qosPolicyOverrides;

    /**
     * @return Set QoS PolicyOverrides for cluster.
     * 
     */
    public Optional> qosPolicyOverrides() {
        return Optional.ofNullable(this.qosPolicyOverrides);
    }

    /**
     * List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
     * 
     */
    @Import(name="trafficType")
    private @Nullable Output> trafficType;

    /**
     * @return List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
     * 
     */
    public Optional>> trafficType() {
        return Optional.ofNullable(this.trafficType);
    }

    /**
     * Set virtualSwitch ConfigurationOverrides for cluster.
     * 
     */
    @Import(name="virtualSwitchConfigurationOverrides")
    private @Nullable Output virtualSwitchConfigurationOverrides;

    /**
     * @return Set virtualSwitch ConfigurationOverrides for cluster.
     * 
     */
    public Optional> virtualSwitchConfigurationOverrides() {
        return Optional.ofNullable(this.virtualSwitchConfigurationOverrides);
    }

    private IntentsArgs() {}

    private IntentsArgs(IntentsArgs $) {
        this.adapter = $.adapter;
        this.adapterPropertyOverrides = $.adapterPropertyOverrides;
        this.name = $.name;
        this.overrideAdapterProperty = $.overrideAdapterProperty;
        this.overrideQosPolicy = $.overrideQosPolicy;
        this.overrideVirtualSwitchConfiguration = $.overrideVirtualSwitchConfiguration;
        this.qosPolicyOverrides = $.qosPolicyOverrides;
        this.trafficType = $.trafficType;
        this.virtualSwitchConfigurationOverrides = $.virtualSwitchConfigurationOverrides;
    }

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

    public static final class Builder {
        private IntentsArgs $;

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

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

        /**
         * @param adapter Array of network interfaces used for the network intent.
         * 
         * @return builder
         * 
         */
        public Builder adapter(@Nullable Output> adapter) {
            $.adapter = adapter;
            return this;
        }

        /**
         * @param adapter Array of network interfaces used for the network intent.
         * 
         * @return builder
         * 
         */
        public Builder adapter(List adapter) {
            return adapter(Output.of(adapter));
        }

        /**
         * @param adapter Array of network interfaces used for the network intent.
         * 
         * @return builder
         * 
         */
        public Builder adapter(String... adapter) {
            return adapter(List.of(adapter));
        }

        /**
         * @param adapterPropertyOverrides Set Adapter PropertyOverrides for cluster.
         * 
         * @return builder
         * 
         */
        public Builder adapterPropertyOverrides(@Nullable Output adapterPropertyOverrides) {
            $.adapterPropertyOverrides = adapterPropertyOverrides;
            return this;
        }

        /**
         * @param adapterPropertyOverrides Set Adapter PropertyOverrides for cluster.
         * 
         * @return builder
         * 
         */
        public Builder adapterPropertyOverrides(AdapterPropertyOverridesArgs adapterPropertyOverrides) {
            return adapterPropertyOverrides(Output.of(adapterPropertyOverrides));
        }

        /**
         * @param name Name of the network intent you wish to create.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the network intent you wish to create.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param overrideAdapterProperty This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
         * 
         * @return builder
         * 
         */
        public Builder overrideAdapterProperty(@Nullable Output overrideAdapterProperty) {
            $.overrideAdapterProperty = overrideAdapterProperty;
            return this;
        }

        /**
         * @param overrideAdapterProperty This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
         * 
         * @return builder
         * 
         */
        public Builder overrideAdapterProperty(Boolean overrideAdapterProperty) {
            return overrideAdapterProperty(Output.of(overrideAdapterProperty));
        }

        /**
         * @param overrideQosPolicy This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
         * 
         * @return builder
         * 
         */
        public Builder overrideQosPolicy(@Nullable Output overrideQosPolicy) {
            $.overrideQosPolicy = overrideQosPolicy;
            return this;
        }

        /**
         * @param overrideQosPolicy This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
         * 
         * @return builder
         * 
         */
        public Builder overrideQosPolicy(Boolean overrideQosPolicy) {
            return overrideQosPolicy(Output.of(overrideQosPolicy));
        }

        /**
         * @param overrideVirtualSwitchConfiguration This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
         * 
         * @return builder
         * 
         */
        public Builder overrideVirtualSwitchConfiguration(@Nullable Output overrideVirtualSwitchConfiguration) {
            $.overrideVirtualSwitchConfiguration = overrideVirtualSwitchConfiguration;
            return this;
        }

        /**
         * @param overrideVirtualSwitchConfiguration This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
         * 
         * @return builder
         * 
         */
        public Builder overrideVirtualSwitchConfiguration(Boolean overrideVirtualSwitchConfiguration) {
            return overrideVirtualSwitchConfiguration(Output.of(overrideVirtualSwitchConfiguration));
        }

        /**
         * @param qosPolicyOverrides Set QoS PolicyOverrides for cluster.
         * 
         * @return builder
         * 
         */
        public Builder qosPolicyOverrides(@Nullable Output qosPolicyOverrides) {
            $.qosPolicyOverrides = qosPolicyOverrides;
            return this;
        }

        /**
         * @param qosPolicyOverrides Set QoS PolicyOverrides for cluster.
         * 
         * @return builder
         * 
         */
        public Builder qosPolicyOverrides(QosPolicyOverridesArgs qosPolicyOverrides) {
            return qosPolicyOverrides(Output.of(qosPolicyOverrides));
        }

        /**
         * @param trafficType List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
         * 
         * @return builder
         * 
         */
        public Builder trafficType(@Nullable Output> trafficType) {
            $.trafficType = trafficType;
            return this;
        }

        /**
         * @param trafficType List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
         * 
         * @return builder
         * 
         */
        public Builder trafficType(List trafficType) {
            return trafficType(Output.of(trafficType));
        }

        /**
         * @param trafficType List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
         * 
         * @return builder
         * 
         */
        public Builder trafficType(String... trafficType) {
            return trafficType(List.of(trafficType));
        }

        /**
         * @param virtualSwitchConfigurationOverrides Set virtualSwitch ConfigurationOverrides for cluster.
         * 
         * @return builder
         * 
         */
        public Builder virtualSwitchConfigurationOverrides(@Nullable Output virtualSwitchConfigurationOverrides) {
            $.virtualSwitchConfigurationOverrides = virtualSwitchConfigurationOverrides;
            return this;
        }

        /**
         * @param virtualSwitchConfigurationOverrides Set virtualSwitch ConfigurationOverrides for cluster.
         * 
         * @return builder
         * 
         */
        public Builder virtualSwitchConfigurationOverrides(VirtualSwitchConfigurationOverridesArgs virtualSwitchConfigurationOverrides) {
            return virtualSwitchConfigurationOverrides(Output.of(virtualSwitchConfigurationOverrides));
        }

        public IntentsArgs build() {
            $.overrideAdapterProperty = Codegen.booleanProp("overrideAdapterProperty").output().arg($.overrideAdapterProperty).def(false).getNullable();
            $.overrideQosPolicy = Codegen.booleanProp("overrideQosPolicy").output().arg($.overrideQosPolicy).def(false).getNullable();
            $.overrideVirtualSwitchConfiguration = Codegen.booleanProp("overrideVirtualSwitchConfiguration").output().arg($.overrideVirtualSwitchConfiguration).def(false).getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy