
com.pulumi.azurenative.migrate.outputs.ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.ApacheTomcatWebApplicationResponse;
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 ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse {
/**
* @return ApacheTomcat web application.
*
*/
private @Nullable ApacheTomcatWebApplicationResponse apacheTomcatWebApplication;
/**
* @return Gets or sets the instance type.
* Expected value is 'ApacheTomcatWorkloadInstanceModelCustomProperties'.
*
*/
private String instanceType;
/**
* @return Gets or sets the Web application ARM id.
*
*/
private @Nullable String webAppArmId;
/**
* @return Gets or sets the Web application site name.
*
*/
private @Nullable String webAppSiteName;
private ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse() {}
/**
* @return ApacheTomcat web application.
*
*/
public Optional apacheTomcatWebApplication() {
return Optional.ofNullable(this.apacheTomcatWebApplication);
}
/**
* @return Gets or sets the instance type.
* Expected value is 'ApacheTomcatWorkloadInstanceModelCustomProperties'.
*
*/
public String instanceType() {
return this.instanceType;
}
/**
* @return Gets or sets the Web application ARM id.
*
*/
public Optional webAppArmId() {
return Optional.ofNullable(this.webAppArmId);
}
/**
* @return Gets or sets the Web application site name.
*
*/
public Optional webAppSiteName() {
return Optional.ofNullable(this.webAppSiteName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ApacheTomcatWebApplicationResponse apacheTomcatWebApplication;
private String instanceType;
private @Nullable String webAppArmId;
private @Nullable String webAppSiteName;
public Builder() {}
public Builder(ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.apacheTomcatWebApplication = defaults.apacheTomcatWebApplication;
this.instanceType = defaults.instanceType;
this.webAppArmId = defaults.webAppArmId;
this.webAppSiteName = defaults.webAppSiteName;
}
@CustomType.Setter
public Builder apacheTomcatWebApplication(@Nullable ApacheTomcatWebApplicationResponse apacheTomcatWebApplication) {
this.apacheTomcatWebApplication = apacheTomcatWebApplication;
return this;
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse", "instanceType");
}
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder webAppArmId(@Nullable String webAppArmId) {
this.webAppArmId = webAppArmId;
return this;
}
@CustomType.Setter
public Builder webAppSiteName(@Nullable String webAppSiteName) {
this.webAppSiteName = webAppSiteName;
return this;
}
public ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse build() {
final var _resultValue = new ApacheTomcatWorkloadInstanceModelCustomPropertiesResponse();
_resultValue.apacheTomcatWebApplication = apacheTomcatWebApplication;
_resultValue.instanceType = instanceType;
_resultValue.webAppArmId = webAppArmId;
_resultValue.webAppSiteName = webAppSiteName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy