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

com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetNetworkProfileResponse 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.azurefleet.outputs;

import com.pulumi.azurenative.azurefleet.outputs.ApiEntityReferenceResponse;
import com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetNetworkConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VirtualMachineScaleSetNetworkProfileResponse {
    /**
     * @return A reference to a load balancer probe used to determine the health of an
     * instance in the virtual machine scale set. The reference will be in the form:
     * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
     * 
     */
    private @Nullable ApiEntityReferenceResponse healthProbe;
    /**
     * @return specifies the Microsoft.Network API version used when creating networking
     * resources in the Network Interface Configurations for Virtual Machine Scale Set
     * with orchestration mode 'Flexible'
     * 
     */
    private @Nullable String networkApiVersion;
    /**
     * @return The list of network configurations.
     * 
     */
    private @Nullable List networkInterfaceConfigurations;

    private VirtualMachineScaleSetNetworkProfileResponse() {}
    /**
     * @return A reference to a load balancer probe used to determine the health of an
     * instance in the virtual machine scale set. The reference will be in the form:
     * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
     * 
     */
    public Optional healthProbe() {
        return Optional.ofNullable(this.healthProbe);
    }
    /**
     * @return specifies the Microsoft.Network API version used when creating networking
     * resources in the Network Interface Configurations for Virtual Machine Scale Set
     * with orchestration mode 'Flexible'
     * 
     */
    public Optional networkApiVersion() {
        return Optional.ofNullable(this.networkApiVersion);
    }
    /**
     * @return The list of network configurations.
     * 
     */
    public List networkInterfaceConfigurations() {
        return this.networkInterfaceConfigurations == null ? List.of() : this.networkInterfaceConfigurations;
    }

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

    public static Builder builder(VirtualMachineScaleSetNetworkProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ApiEntityReferenceResponse healthProbe;
        private @Nullable String networkApiVersion;
        private @Nullable List networkInterfaceConfigurations;
        public Builder() {}
        public Builder(VirtualMachineScaleSetNetworkProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.healthProbe = defaults.healthProbe;
    	      this.networkApiVersion = defaults.networkApiVersion;
    	      this.networkInterfaceConfigurations = defaults.networkInterfaceConfigurations;
        }

        @CustomType.Setter
        public Builder healthProbe(@Nullable ApiEntityReferenceResponse healthProbe) {

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

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

            this.networkInterfaceConfigurations = networkInterfaceConfigurations;
            return this;
        }
        public Builder networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationResponse... networkInterfaceConfigurations) {
            return networkInterfaceConfigurations(List.of(networkInterfaceConfigurations));
        }
        public VirtualMachineScaleSetNetworkProfileResponse build() {
            final var _resultValue = new VirtualMachineScaleSetNetworkProfileResponse();
            _resultValue.healthProbe = healthProbe;
            _resultValue.networkApiVersion = networkApiVersion;
            _resultValue.networkInterfaceConfigurations = networkInterfaceConfigurations;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy