com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetNetworkConfigurationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The 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.VirtualMachineScaleSetNetworkConfigurationPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualMachineScaleSetNetworkConfigurationResponse {
/**
* @return The network configuration name.
*
*/
private String name;
/**
* @return Describes a virtual machine scale set network profile's IP configuration.
*
*/
private @Nullable VirtualMachineScaleSetNetworkConfigurationPropertiesResponse properties;
private VirtualMachineScaleSetNetworkConfigurationResponse() {}
/**
* @return The network configuration name.
*
*/
public String name() {
return this.name;
}
/**
* @return Describes a virtual machine scale set network profile's IP configuration.
*
*/
public Optional properties() {
return Optional.ofNullable(this.properties);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualMachineScaleSetNetworkConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private @Nullable VirtualMachineScaleSetNetworkConfigurationPropertiesResponse properties;
public Builder() {}
public Builder(VirtualMachineScaleSetNetworkConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.properties = defaults.properties;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("VirtualMachineScaleSetNetworkConfigurationResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder properties(@Nullable VirtualMachineScaleSetNetworkConfigurationPropertiesResponse properties) {
this.properties = properties;
return this;
}
public VirtualMachineScaleSetNetworkConfigurationResponse build() {
final var _resultValue = new VirtualMachineScaleSetNetworkConfigurationResponse();
_resultValue.name = name;
_resultValue.properties = properties;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy