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

com.pulumi.azurenative.migrate.inputs.ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs 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.inputs;

import com.pulumi.azurenative.migrate.inputs.ApacheTomcatAKSWorkloadDeploymentArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * ApacheTomcat workload instance model custom properties.
 * 
 */
public final class ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs Empty = new ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs();

    /**
     * ApacheTomcat web application.
     * 
     */
    @Import(name="apacheTomcatAksWorkloadDeploymentProperties")
    private @Nullable Output apacheTomcatAksWorkloadDeploymentProperties;

    /**
     * @return ApacheTomcat web application.
     * 
     */
    public Optional> apacheTomcatAksWorkloadDeploymentProperties() {
        return Optional.ofNullable(this.apacheTomcatAksWorkloadDeploymentProperties);
    }

    /**
     * Gets or sets the instance type.
     * Expected value is 'ApacheTomcatAKSWorkloadDeploymentModelCustomProperties'.
     * 
     */
    @Import(name="instanceType", required=true)
    private Output instanceType;

    /**
     * @return Gets or sets the instance type.
     * Expected value is 'ApacheTomcatAKSWorkloadDeploymentModelCustomProperties'.
     * 
     */
    public Output instanceType() {
        return this.instanceType;
    }

    private ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs() {}

    private ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs(ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs $) {
        this.apacheTomcatAksWorkloadDeploymentProperties = $.apacheTomcatAksWorkloadDeploymentProperties;
        this.instanceType = $.instanceType;
    }

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

    public static final class Builder {
        private ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs $;

        public Builder() {
            $ = new ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs();
        }

        public Builder(ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs defaults) {
            $ = new ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param apacheTomcatAksWorkloadDeploymentProperties ApacheTomcat web application.
         * 
         * @return builder
         * 
         */
        public Builder apacheTomcatAksWorkloadDeploymentProperties(@Nullable Output apacheTomcatAksWorkloadDeploymentProperties) {
            $.apacheTomcatAksWorkloadDeploymentProperties = apacheTomcatAksWorkloadDeploymentProperties;
            return this;
        }

        /**
         * @param apacheTomcatAksWorkloadDeploymentProperties ApacheTomcat web application.
         * 
         * @return builder
         * 
         */
        public Builder apacheTomcatAksWorkloadDeploymentProperties(ApacheTomcatAKSWorkloadDeploymentArgs apacheTomcatAksWorkloadDeploymentProperties) {
            return apacheTomcatAksWorkloadDeploymentProperties(Output.of(apacheTomcatAksWorkloadDeploymentProperties));
        }

        /**
         * @param instanceType Gets or sets the instance type.
         * Expected value is 'ApacheTomcatAKSWorkloadDeploymentModelCustomProperties'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(Output instanceType) {
            $.instanceType = instanceType;
            return this;
        }

        /**
         * @param instanceType Gets or sets the instance type.
         * Expected value is 'ApacheTomcatAKSWorkloadDeploymentModelCustomProperties'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(String instanceType) {
            return instanceType(Output.of(instanceType));
        }

        public ApacheTomcatAKSWorkloadDeploymentModelCustomPropertiesArgs build() {
            $.instanceType = Codegen.stringProp("instanceType").output().arg($.instanceType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy