
com.pulumi.azurenative.workloads.inputs.GetSAPSupportedSkuPlainArgs Maven / Gradle / Ivy
// *** 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.workloads.inputs;
import com.pulumi.azurenative.workloads.enums.SAPDatabaseType;
import com.pulumi.azurenative.workloads.enums.SAPDeploymentType;
import com.pulumi.azurenative.workloads.enums.SAPEnvironmentType;
import com.pulumi.azurenative.workloads.enums.SAPHighAvailabilityType;
import com.pulumi.azurenative.workloads.enums.SAPProductType;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetSAPSupportedSkuPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSAPSupportedSkuPlainArgs Empty = new GetSAPSupportedSkuPlainArgs();
/**
* The geo-location where the resource is to be created.
*
*/
@Import(name="appLocation", required=true)
private String appLocation;
/**
* @return The geo-location where the resource is to be created.
*
*/
public String appLocation() {
return this.appLocation;
}
/**
* The database type. Eg: HANA, DB2, etc
*
*/
@Import(name="databaseType", required=true)
private Either databaseType;
/**
* @return The database type. Eg: HANA, DB2, etc
*
*/
public Either databaseType() {
return this.databaseType;
}
/**
* The deployment type. Eg: SingleServer/ThreeTier
*
*/
@Import(name="deploymentType", required=true)
private Either deploymentType;
/**
* @return The deployment type. Eg: SingleServer/ThreeTier
*
*/
public Either deploymentType() {
return this.deploymentType;
}
/**
* Defines the environment type - Production/Non Production.
*
*/
@Import(name="environment", required=true)
private Either environment;
/**
* @return Defines the environment type - Production/Non Production.
*
*/
public Either environment() {
return this.environment;
}
/**
* The high availability type.
*
*/
@Import(name="highAvailabilityType")
private @Nullable Either highAvailabilityType;
/**
* @return The high availability type.
*
*/
public Optional> highAvailabilityType() {
return Optional.ofNullable(this.highAvailabilityType);
}
/**
* The name of Azure region.
*
*/
@Import(name="location", required=true)
private String location;
/**
* @return The name of Azure region.
*
*/
public String location() {
return this.location;
}
/**
* Defines the SAP Product type.
*
*/
@Import(name="sapProduct", required=true)
private Either sapProduct;
/**
* @return Defines the SAP Product type.
*
*/
public Either sapProduct() {
return this.sapProduct;
}
private GetSAPSupportedSkuPlainArgs() {}
private GetSAPSupportedSkuPlainArgs(GetSAPSupportedSkuPlainArgs $) {
this.appLocation = $.appLocation;
this.databaseType = $.databaseType;
this.deploymentType = $.deploymentType;
this.environment = $.environment;
this.highAvailabilityType = $.highAvailabilityType;
this.location = $.location;
this.sapProduct = $.sapProduct;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSAPSupportedSkuPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSAPSupportedSkuPlainArgs $;
public Builder() {
$ = new GetSAPSupportedSkuPlainArgs();
}
public Builder(GetSAPSupportedSkuPlainArgs defaults) {
$ = new GetSAPSupportedSkuPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param appLocation The geo-location where the resource is to be created.
*
* @return builder
*
*/
public Builder appLocation(String appLocation) {
$.appLocation = appLocation;
return this;
}
/**
* @param databaseType The database type. Eg: HANA, DB2, etc
*
* @return builder
*
*/
public Builder databaseType(Either databaseType) {
$.databaseType = databaseType;
return this;
}
/**
* @param databaseType The database type. Eg: HANA, DB2, etc
*
* @return builder
*
*/
public Builder databaseType(String databaseType) {
return databaseType(Either.ofLeft(databaseType));
}
/**
* @param databaseType The database type. Eg: HANA, DB2, etc
*
* @return builder
*
*/
public Builder databaseType(SAPDatabaseType databaseType) {
return databaseType(Either.ofRight(databaseType));
}
/**
* @param deploymentType The deployment type. Eg: SingleServer/ThreeTier
*
* @return builder
*
*/
public Builder deploymentType(Either deploymentType) {
$.deploymentType = deploymentType;
return this;
}
/**
* @param deploymentType The deployment type. Eg: SingleServer/ThreeTier
*
* @return builder
*
*/
public Builder deploymentType(String deploymentType) {
return deploymentType(Either.ofLeft(deploymentType));
}
/**
* @param deploymentType The deployment type. Eg: SingleServer/ThreeTier
*
* @return builder
*
*/
public Builder deploymentType(SAPDeploymentType deploymentType) {
return deploymentType(Either.ofRight(deploymentType));
}
/**
* @param environment Defines the environment type - Production/Non Production.
*
* @return builder
*
*/
public Builder environment(Either environment) {
$.environment = environment;
return this;
}
/**
* @param environment Defines the environment type - Production/Non Production.
*
* @return builder
*
*/
public Builder environment(String environment) {
return environment(Either.ofLeft(environment));
}
/**
* @param environment Defines the environment type - Production/Non Production.
*
* @return builder
*
*/
public Builder environment(SAPEnvironmentType environment) {
return environment(Either.ofRight(environment));
}
/**
* @param highAvailabilityType The high availability type.
*
* @return builder
*
*/
public Builder highAvailabilityType(@Nullable Either highAvailabilityType) {
$.highAvailabilityType = highAvailabilityType;
return this;
}
/**
* @param highAvailabilityType The high availability type.
*
* @return builder
*
*/
public Builder highAvailabilityType(String highAvailabilityType) {
return highAvailabilityType(Either.ofLeft(highAvailabilityType));
}
/**
* @param highAvailabilityType The high availability type.
*
* @return builder
*
*/
public Builder highAvailabilityType(SAPHighAvailabilityType highAvailabilityType) {
return highAvailabilityType(Either.ofRight(highAvailabilityType));
}
/**
* @param location The name of Azure region.
*
* @return builder
*
*/
public Builder location(String location) {
$.location = location;
return this;
}
/**
* @param sapProduct Defines the SAP Product type.
*
* @return builder
*
*/
public Builder sapProduct(Either sapProduct) {
$.sapProduct = sapProduct;
return this;
}
/**
* @param sapProduct Defines the SAP Product type.
*
* @return builder
*
*/
public Builder sapProduct(String sapProduct) {
return sapProduct(Either.ofLeft(sapProduct));
}
/**
* @param sapProduct Defines the SAP Product type.
*
* @return builder
*
*/
public Builder sapProduct(SAPProductType sapProduct) {
return sapProduct(Either.ofRight(sapProduct));
}
public GetSAPSupportedSkuPlainArgs build() {
if ($.appLocation == null) {
throw new MissingRequiredPropertyException("GetSAPSupportedSkuPlainArgs", "appLocation");
}
if ($.databaseType == null) {
throw new MissingRequiredPropertyException("GetSAPSupportedSkuPlainArgs", "databaseType");
}
if ($.deploymentType == null) {
throw new MissingRequiredPropertyException("GetSAPSupportedSkuPlainArgs", "deploymentType");
}
if ($.environment == null) {
throw new MissingRequiredPropertyException("GetSAPSupportedSkuPlainArgs", "environment");
}
if ($.location == null) {
throw new MissingRequiredPropertyException("GetSAPSupportedSkuPlainArgs", "location");
}
if ($.sapProduct == null) {
throw new MissingRequiredPropertyException("GetSAPSupportedSkuPlainArgs", "sapProduct");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy