com.pulumi.azurenative.sqlvirtualmachine.outputs.GetSqlVirtualMachineGroupResult 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.sqlvirtualmachine.outputs;
import com.pulumi.azurenative.sqlvirtualmachine.outputs.SystemDataResponse;
import com.pulumi.azurenative.sqlvirtualmachine.outputs.WsfcDomainProfileResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetSqlVirtualMachineGroupResult {
/**
* @return Cluster type.
*
*/
private String clusterConfiguration;
/**
* @return Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
*
*/
private String clusterManagerType;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return Resource location.
*
*/
private String location;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return Provisioning state to track the async operation status.
*
*/
private String provisioningState;
/**
* @return Scale type.
*
*/
private String scaleType;
/**
* @return SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
*
*/
private @Nullable String sqlImageOffer;
/**
* @return SQL image sku.
*
*/
private @Nullable String sqlImageSku;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Resource type.
*
*/
private String type;
/**
* @return Cluster Active Directory domain profile.
*
*/
private @Nullable WsfcDomainProfileResponse wsfcDomainProfile;
private GetSqlVirtualMachineGroupResult() {}
/**
* @return Cluster type.
*
*/
public String clusterConfiguration() {
return this.clusterConfiguration;
}
/**
* @return Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
*
*/
public String clusterManagerType() {
return this.clusterManagerType;
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Resource location.
*
*/
public String location() {
return this.location;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return Provisioning state to track the async operation status.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Scale type.
*
*/
public String scaleType() {
return this.scaleType;
}
/**
* @return SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
*
*/
public Optional sqlImageOffer() {
return Optional.ofNullable(this.sqlImageOffer);
}
/**
* @return SQL image sku.
*
*/
public Optional sqlImageSku() {
return Optional.ofNullable(this.sqlImageSku);
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
/**
* @return Cluster Active Directory domain profile.
*
*/
public Optional wsfcDomainProfile() {
return Optional.ofNullable(this.wsfcDomainProfile);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSqlVirtualMachineGroupResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String clusterConfiguration;
private String clusterManagerType;
private String id;
private String location;
private String name;
private String provisioningState;
private String scaleType;
private @Nullable String sqlImageOffer;
private @Nullable String sqlImageSku;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private @Nullable WsfcDomainProfileResponse wsfcDomainProfile;
public Builder() {}
public Builder(GetSqlVirtualMachineGroupResult defaults) {
Objects.requireNonNull(defaults);
this.clusterConfiguration = defaults.clusterConfiguration;
this.clusterManagerType = defaults.clusterManagerType;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.scaleType = defaults.scaleType;
this.sqlImageOffer = defaults.sqlImageOffer;
this.sqlImageSku = defaults.sqlImageSku;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.wsfcDomainProfile = defaults.wsfcDomainProfile;
}
@CustomType.Setter
public Builder clusterConfiguration(String clusterConfiguration) {
if (clusterConfiguration == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "clusterConfiguration");
}
this.clusterConfiguration = clusterConfiguration;
return this;
}
@CustomType.Setter
public Builder clusterManagerType(String clusterManagerType) {
if (clusterManagerType == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "clusterManagerType");
}
this.clusterManagerType = clusterManagerType;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder scaleType(String scaleType) {
if (scaleType == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "scaleType");
}
this.scaleType = scaleType;
return this;
}
@CustomType.Setter
public Builder sqlImageOffer(@Nullable String sqlImageOffer) {
this.sqlImageOffer = sqlImageOffer;
return this;
}
@CustomType.Setter
public Builder sqlImageSku(@Nullable String sqlImageSku) {
this.sqlImageSku = sqlImageSku;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetSqlVirtualMachineGroupResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder wsfcDomainProfile(@Nullable WsfcDomainProfileResponse wsfcDomainProfile) {
this.wsfcDomainProfile = wsfcDomainProfile;
return this;
}
public GetSqlVirtualMachineGroupResult build() {
final var _resultValue = new GetSqlVirtualMachineGroupResult();
_resultValue.clusterConfiguration = clusterConfiguration;
_resultValue.clusterManagerType = clusterManagerType;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.scaleType = scaleType;
_resultValue.sqlImageOffer = sqlImageOffer;
_resultValue.sqlImageSku = sqlImageSku;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.wsfcDomainProfile = wsfcDomainProfile;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy