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

com.pulumi.azurenative.testbase.inputs.FirstPartyAppDefinitionArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.testbase.inputs;

import com.pulumi.azurenative.testbase.enums.Architecture;
import com.pulumi.azurenative.testbase.enums.InteropExecutionMode;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of the definition of a first party application of the Test Base package.
 * 
 */
public final class FirstPartyAppDefinitionArgs extends com.pulumi.resources.ResourceArgs {

    public static final FirstPartyAppDefinitionArgs Empty = new FirstPartyAppDefinitionArgs();

    /**
     * The architecture of a first party application of a Test Base Account.
     * 
     */
    @Import(name="architecture")
    private @Nullable Output> architecture;

    /**
     * @return The architecture of a first party application of a Test Base Account.
     * 
     */
    public Optional>> architecture() {
        return Optional.ofNullable(this.architecture);
    }

    /**
     * The channel info of a first party application of a Test Base Account.
     * 
     */
    @Import(name="channel")
    private @Nullable Output channel;

    /**
     * @return The channel info of a first party application of a Test Base Account.
     * 
     */
    public Optional> channel() {
        return Optional.ofNullable(this.channel);
    }

    /**
     * Specifies how the first party applications should be inter-operated with user's application.
     * 
     */
    @Import(name="interopExecutionMode")
    private @Nullable Output> interopExecutionMode;

    /**
     * @return Specifies how the first party applications should be inter-operated with user's application.
     * 
     */
    public Optional>> interopExecutionMode() {
        return Optional.ofNullable(this.interopExecutionMode);
    }

    /**
     * The media name of a first party application of a Test Base Account.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The media name of a first party application of a Test Base Account.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The ring info of a first party application of a Test Base Account.
     * 
     */
    @Import(name="ring")
    private @Nullable Output ring;

    /**
     * @return The ring info of a first party application of a Test Base Account.
     * 
     */
    public Optional> ring() {
        return Optional.ofNullable(this.ring);
    }

    private FirstPartyAppDefinitionArgs() {}

    private FirstPartyAppDefinitionArgs(FirstPartyAppDefinitionArgs $) {
        this.architecture = $.architecture;
        this.channel = $.channel;
        this.interopExecutionMode = $.interopExecutionMode;
        this.name = $.name;
        this.ring = $.ring;
    }

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

    public static final class Builder {
        private FirstPartyAppDefinitionArgs $;

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

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

        /**
         * @param architecture The architecture of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder architecture(@Nullable Output> architecture) {
            $.architecture = architecture;
            return this;
        }

        /**
         * @param architecture The architecture of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder architecture(Either architecture) {
            return architecture(Output.of(architecture));
        }

        /**
         * @param architecture The architecture of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder architecture(String architecture) {
            return architecture(Either.ofLeft(architecture));
        }

        /**
         * @param architecture The architecture of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder architecture(Architecture architecture) {
            return architecture(Either.ofRight(architecture));
        }

        /**
         * @param channel The channel info of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder channel(@Nullable Output channel) {
            $.channel = channel;
            return this;
        }

        /**
         * @param channel The channel info of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder channel(String channel) {
            return channel(Output.of(channel));
        }

        /**
         * @param interopExecutionMode Specifies how the first party applications should be inter-operated with user's application.
         * 
         * @return builder
         * 
         */
        public Builder interopExecutionMode(@Nullable Output> interopExecutionMode) {
            $.interopExecutionMode = interopExecutionMode;
            return this;
        }

        /**
         * @param interopExecutionMode Specifies how the first party applications should be inter-operated with user's application.
         * 
         * @return builder
         * 
         */
        public Builder interopExecutionMode(Either interopExecutionMode) {
            return interopExecutionMode(Output.of(interopExecutionMode));
        }

        /**
         * @param interopExecutionMode Specifies how the first party applications should be inter-operated with user's application.
         * 
         * @return builder
         * 
         */
        public Builder interopExecutionMode(String interopExecutionMode) {
            return interopExecutionMode(Either.ofLeft(interopExecutionMode));
        }

        /**
         * @param interopExecutionMode Specifies how the first party applications should be inter-operated with user's application.
         * 
         * @return builder
         * 
         */
        public Builder interopExecutionMode(InteropExecutionMode interopExecutionMode) {
            return interopExecutionMode(Either.ofRight(interopExecutionMode));
        }

        /**
         * @param name The media name of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The media name of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param ring The ring info of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder ring(@Nullable Output ring) {
            $.ring = ring;
            return this;
        }

        /**
         * @param ring The ring info of a first party application of a Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder ring(String ring) {
            return ring(Output.of(ring));
        }

        public FirstPartyAppDefinitionArgs build() {
            $.interopExecutionMode = Codegen.stringProp("interopExecutionMode").left(InteropExecutionMode.class).output().arg($.interopExecutionMode).def("firstPartyAppWithTests").getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy