com.pulumi.azure.workloadssap.outputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.workloadssap.outputs;
import com.pulumi.azure.workloadssap.outputs.ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachineDataDisk;
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 ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine {
/**
* @return One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
*
*/
private @Nullable List dataDisks;
/**
* @return The full name of the host of the Virtual Machine. Changing this forces a new resource to be created.
*
*/
private @Nullable String hostName;
/**
* @return A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
*
*/
private @Nullable List networkInterfaceNames;
/**
* @return The full name of the OS Disk attached to the Virtual Machine. Changing this forces a new resource to be created.
*
*/
private @Nullable String osDiskName;
/**
* @return The full name of the Virtual Machine in a single server SAP system. Changing this forces a new resource to be created.
*
*/
private @Nullable String virtualMachineName;
private ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine() {}
/**
* @return One or more `data_disk` blocks as defined below. Changing this forces a new resource to be created.
*
*/
public List dataDisks() {
return this.dataDisks == null ? List.of() : this.dataDisks;
}
/**
* @return The full name of the host of the Virtual Machine. Changing this forces a new resource to be created.
*
*/
public Optional hostName() {
return Optional.ofNullable(this.hostName);
}
/**
* @return A list of full names for the Network Interface of the Virtual Machine. Changing this forces a new resource to be created.
*
*/
public List networkInterfaceNames() {
return this.networkInterfaceNames == null ? List.of() : this.networkInterfaceNames;
}
/**
* @return The full name of the OS Disk attached to the Virtual Machine. Changing this forces a new resource to be created.
*
*/
public Optional osDiskName() {
return Optional.ofNullable(this.osDiskName);
}
/**
* @return The full name of the Virtual Machine in a single server SAP system. Changing this forces a new resource to be created.
*
*/
public Optional virtualMachineName() {
return Optional.ofNullable(this.virtualMachineName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List dataDisks;
private @Nullable String hostName;
private @Nullable List networkInterfaceNames;
private @Nullable String osDiskName;
private @Nullable String virtualMachineName;
public Builder() {}
public Builder(ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine defaults) {
Objects.requireNonNull(defaults);
this.dataDisks = defaults.dataDisks;
this.hostName = defaults.hostName;
this.networkInterfaceNames = defaults.networkInterfaceNames;
this.osDiskName = defaults.osDiskName;
this.virtualMachineName = defaults.virtualMachineName;
}
@CustomType.Setter
public Builder dataDisks(@Nullable List dataDisks) {
this.dataDisks = dataDisks;
return this;
}
public Builder dataDisks(ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachineDataDisk... dataDisks) {
return dataDisks(List.of(dataDisks));
}
@CustomType.Setter
public Builder hostName(@Nullable String hostName) {
this.hostName = hostName;
return this;
}
@CustomType.Setter
public Builder networkInterfaceNames(@Nullable List networkInterfaceNames) {
this.networkInterfaceNames = networkInterfaceNames;
return this;
}
public Builder networkInterfaceNames(String... networkInterfaceNames) {
return networkInterfaceNames(List.of(networkInterfaceNames));
}
@CustomType.Setter
public Builder osDiskName(@Nullable String osDiskName) {
this.osDiskName = osDiskName;
return this;
}
@CustomType.Setter
public Builder virtualMachineName(@Nullable String virtualMachineName) {
this.virtualMachineName = virtualMachineName;
return this;
}
public ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine build() {
final var _resultValue = new ThreeTierVirtualInstanceThreeTierConfigurationResourceNamesDatabaseServerVirtualMachine();
_resultValue.dataDisks = dataDisks;
_resultValue.hostName = hostName;
_resultValue.networkInterfaceNames = networkInterfaceNames;
_resultValue.osDiskName = osDiskName;
_resultValue.virtualMachineName = virtualMachineName;
return _resultValue;
}
}
}