All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.migrate.outputs.ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse 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.ApacheTomcatAKSWorkloadDeploymentResponse;
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 ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse {
    /**
     * @return ApacheTomcat web application.
     * 
     */
    private @Nullable ApacheTomcatAKSWorkloadDeploymentResponse apacheTomcatAksWorkloadDeploymentProperties;
    /**
     * @return Gets or sets the instance type.
     * Expected value is 'ApacheTomcatAKSWorkloadDeploymentModelCustomProperties'.
     * 
     */
    private String instanceType;

    private ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse() {}
    /**
     * @return ApacheTomcat web application.
     * 
     */
    public Optional apacheTomcatAksWorkloadDeploymentProperties() {
        return Optional.ofNullable(this.apacheTomcatAksWorkloadDeploymentProperties);
    }
    /**
     * @return Gets or sets the instance type.
     * Expected value is 'ApacheTomcatAKSWorkloadDeploymentModelCustomProperties'.
     * 
     */
    public String instanceType() {
        return this.instanceType;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ApacheTomcatAKSWorkloadDeploymentResponse apacheTomcatAksWorkloadDeploymentProperties;
        private String instanceType;
        public Builder() {}
        public Builder(ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apacheTomcatAksWorkloadDeploymentProperties = defaults.apacheTomcatAksWorkloadDeploymentProperties;
    	      this.instanceType = defaults.instanceType;
        }

        @CustomType.Setter
        public Builder apacheTomcatAksWorkloadDeploymentProperties(@Nullable ApacheTomcatAKSWorkloadDeploymentResponse apacheTomcatAksWorkloadDeploymentProperties) {

            this.apacheTomcatAksWorkloadDeploymentProperties = apacheTomcatAksWorkloadDeploymentProperties;
            return this;
        }
        @CustomType.Setter
        public Builder instanceType(String instanceType) {
            if (instanceType == null) {
              throw new MissingRequiredPropertyException("ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse", "instanceType");
            }
            this.instanceType = instanceType;
            return this;
        }
        public ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse build() {
            final var _resultValue = new ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesResponse();
            _resultValue.apacheTomcatAksWorkloadDeploymentProperties = apacheTomcatAksWorkloadDeploymentProperties;
            _resultValue.instanceType = instanceType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy