
com.pulumi.azurenative.scvmm.outputs.NetworkProfileResponse 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.
// *** 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.scvmm.outputs;
import com.pulumi.azurenative.scvmm.outputs.NetworkInterfacesResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class NetworkProfileResponse {
/**
* @return Gets or sets the list of network interfaces associated with the virtual machine.
*
*/
private @Nullable List networkInterfaces;
private NetworkProfileResponse() {}
/**
* @return Gets or sets the list of network interfaces associated with the virtual machine.
*
*/
public List networkInterfaces() {
return this.networkInterfaces == null ? List.of() : this.networkInterfaces;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworkProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List networkInterfaces;
public Builder() {}
public Builder(NetworkProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.networkInterfaces = defaults.networkInterfaces;
}
@CustomType.Setter
public Builder networkInterfaces(@Nullable List networkInterfaces) {
this.networkInterfaces = networkInterfaces;
return this;
}
public Builder networkInterfaces(NetworkInterfacesResponse... networkInterfaces) {
return networkInterfaces(List.of(networkInterfaces));
}
public NetworkProfileResponse build() {
final var _resultValue = new NetworkProfileResponse();
_resultValue.networkInterfaces = networkInterfaces;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy