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

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

// *** 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.azurenative.azurestackhci.outputs.AdapterPropertyOverridesResponse;
import com.pulumi.azurenative.azurestackhci.outputs.QosPolicyOverridesResponse;
import com.pulumi.azurenative.azurestackhci.outputs.VirtualSwitchConfigurationOverridesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IntentsResponse {
    /**
     * @return Array of network interfaces used for the network intent.
     * 
     */
    private @Nullable List adapter;
    /**
     * @return Set Adapter PropertyOverrides for cluster.
     * 
     */
    private @Nullable AdapterPropertyOverridesResponse adapterPropertyOverrides;
    /**
     * @return Name of the network intent you wish to create.
     * 
     */
    private @Nullable String name;
    /**
     * @return This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    private @Nullable Boolean overrideAdapterProperty;
    /**
     * @return This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    private @Nullable Boolean overrideQosPolicy;
    /**
     * @return This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
     * 
     */
    private @Nullable Boolean overrideVirtualSwitchConfiguration;
    /**
     * @return Set QoS PolicyOverrides for cluster.
     * 
     */
    private @Nullable QosPolicyOverridesResponse qosPolicyOverrides;
    /**
     * @return List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
     * 
     */
    private @Nullable List trafficType;
    /**
     * @return Set virtualSwitch ConfigurationOverrides for cluster.
     * 
     */
    private @Nullable VirtualSwitchConfigurationOverridesResponse virtualSwitchConfigurationOverrides;

    private IntentsResponse() {}
    /**
     * @return Array of network interfaces used for the network intent.
     * 
     */
    public List adapter() {
        return this.adapter == null ? List.of() : this.adapter;
    }
    /**
     * @return Set Adapter PropertyOverrides for cluster.
     * 
     */
    public Optional adapterPropertyOverrides() {
        return Optional.ofNullable(this.adapterPropertyOverrides);
    }
    /**
     * @return Name of the network intent you wish to create.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @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);
    }
    /**
     * @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);
    }
    /**
     * @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);
    }
    /**
     * @return Set QoS PolicyOverrides for cluster.
     * 
     */
    public Optional qosPolicyOverrides() {
        return Optional.ofNullable(this.qosPolicyOverrides);
    }
    /**
     * @return List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
     * 
     */
    public List trafficType() {
        return this.trafficType == null ? List.of() : this.trafficType;
    }
    /**
     * @return Set virtualSwitch ConfigurationOverrides for cluster.
     * 
     */
    public Optional virtualSwitchConfigurationOverrides() {
        return Optional.ofNullable(this.virtualSwitchConfigurationOverrides);
    }

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

    public static Builder builder(IntentsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List adapter;
        private @Nullable AdapterPropertyOverridesResponse adapterPropertyOverrides;
        private @Nullable String name;
        private @Nullable Boolean overrideAdapterProperty;
        private @Nullable Boolean overrideQosPolicy;
        private @Nullable Boolean overrideVirtualSwitchConfiguration;
        private @Nullable QosPolicyOverridesResponse qosPolicyOverrides;
        private @Nullable List trafficType;
        private @Nullable VirtualSwitchConfigurationOverridesResponse virtualSwitchConfigurationOverrides;
        public Builder() {}
        public Builder(IntentsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.adapter = defaults.adapter;
    	      this.adapterPropertyOverrides = defaults.adapterPropertyOverrides;
    	      this.name = defaults.name;
    	      this.overrideAdapterProperty = defaults.overrideAdapterProperty;
    	      this.overrideQosPolicy = defaults.overrideQosPolicy;
    	      this.overrideVirtualSwitchConfiguration = defaults.overrideVirtualSwitchConfiguration;
    	      this.qosPolicyOverrides = defaults.qosPolicyOverrides;
    	      this.trafficType = defaults.trafficType;
    	      this.virtualSwitchConfigurationOverrides = defaults.virtualSwitchConfigurationOverrides;
        }

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

            this.adapter = adapter;
            return this;
        }
        public Builder adapter(String... adapter) {
            return adapter(List.of(adapter));
        }
        @CustomType.Setter
        public Builder adapterPropertyOverrides(@Nullable AdapterPropertyOverridesResponse adapterPropertyOverrides) {

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

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

            this.overrideAdapterProperty = overrideAdapterProperty;
            return this;
        }
        @CustomType.Setter
        public Builder overrideQosPolicy(@Nullable Boolean overrideQosPolicy) {

            this.overrideQosPolicy = overrideQosPolicy;
            return this;
        }
        @CustomType.Setter
        public Builder overrideVirtualSwitchConfiguration(@Nullable Boolean overrideVirtualSwitchConfiguration) {

            this.overrideVirtualSwitchConfiguration = overrideVirtualSwitchConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder qosPolicyOverrides(@Nullable QosPolicyOverridesResponse qosPolicyOverrides) {

            this.qosPolicyOverrides = qosPolicyOverrides;
            return this;
        }
        @CustomType.Setter
        public Builder trafficType(@Nullable List trafficType) {

            this.trafficType = trafficType;
            return this;
        }
        public Builder trafficType(String... trafficType) {
            return trafficType(List.of(trafficType));
        }
        @CustomType.Setter
        public Builder virtualSwitchConfigurationOverrides(@Nullable VirtualSwitchConfigurationOverridesResponse virtualSwitchConfigurationOverrides) {

            this.virtualSwitchConfigurationOverrides = virtualSwitchConfigurationOverrides;
            return this;
        }
        public IntentsResponse build() {
            final var _resultValue = new IntentsResponse();
            _resultValue.adapter = adapter;
            _resultValue.adapterPropertyOverrides = adapterPropertyOverrides;
            _resultValue.name = name;
            _resultValue.overrideAdapterProperty = overrideAdapterProperty;
            _resultValue.overrideQosPolicy = overrideQosPolicy;
            _resultValue.overrideVirtualSwitchConfiguration = overrideVirtualSwitchConfiguration;
            _resultValue.qosPolicyOverrides = qosPolicyOverrides;
            _resultValue.trafficType = trafficType;
            _resultValue.virtualSwitchConfigurationOverrides = virtualSwitchConfigurationOverrides;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy