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

com.pulumi.azurenative.hybridnetwork.inputs.ArmResourceDefinitionResourceElementTemplateDetailsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.hybridnetwork.inputs;

import com.pulumi.azurenative.hybridnetwork.inputs.ArmResourceDefinitionResourceElementTemplateArgs;
import com.pulumi.azurenative.hybridnetwork.inputs.DependsOnProfileArgs;
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;


/**
 * The arm resource definition resource element template details.
 * 
 */
public final class ArmResourceDefinitionResourceElementTemplateDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ArmResourceDefinitionResourceElementTemplateDetailsArgs Empty = new ArmResourceDefinitionResourceElementTemplateDetailsArgs();

    /**
     * The resource element template type.
     * 
     */
    @Import(name="configuration")
    private @Nullable Output configuration;

    /**
     * @return The resource element template type.
     * 
     */
    public Optional> configuration() {
        return Optional.ofNullable(this.configuration);
    }

    /**
     * The depends on profile.
     * 
     */
    @Import(name="dependsOnProfile")
    private @Nullable Output dependsOnProfile;

    /**
     * @return The depends on profile.
     * 
     */
    public Optional> dependsOnProfile() {
        return Optional.ofNullable(this.dependsOnProfile);
    }

    /**
     * Name of the resource element template.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the resource element template.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The resource element template type.
     * Expected value is 'ArmResourceDefinition'.
     * 
     */
    @Import(name="resourceElementType", required=true)
    private Output resourceElementType;

    /**
     * @return The resource element template type.
     * Expected value is 'ArmResourceDefinition'.
     * 
     */
    public Output resourceElementType() {
        return this.resourceElementType;
    }

    private ArmResourceDefinitionResourceElementTemplateDetailsArgs() {}

    private ArmResourceDefinitionResourceElementTemplateDetailsArgs(ArmResourceDefinitionResourceElementTemplateDetailsArgs $) {
        this.configuration = $.configuration;
        this.dependsOnProfile = $.dependsOnProfile;
        this.name = $.name;
        this.resourceElementType = $.resourceElementType;
    }

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

    public static final class Builder {
        private ArmResourceDefinitionResourceElementTemplateDetailsArgs $;

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

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

        /**
         * @param configuration The resource element template type.
         * 
         * @return builder
         * 
         */
        public Builder configuration(@Nullable Output configuration) {
            $.configuration = configuration;
            return this;
        }

        /**
         * @param configuration The resource element template type.
         * 
         * @return builder
         * 
         */
        public Builder configuration(ArmResourceDefinitionResourceElementTemplateArgs configuration) {
            return configuration(Output.of(configuration));
        }

        /**
         * @param dependsOnProfile The depends on profile.
         * 
         * @return builder
         * 
         */
        public Builder dependsOnProfile(@Nullable Output dependsOnProfile) {
            $.dependsOnProfile = dependsOnProfile;
            return this;
        }

        /**
         * @param dependsOnProfile The depends on profile.
         * 
         * @return builder
         * 
         */
        public Builder dependsOnProfile(DependsOnProfileArgs dependsOnProfile) {
            return dependsOnProfile(Output.of(dependsOnProfile));
        }

        /**
         * @param name Name of the resource element template.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the resource element template.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceElementType The resource element template type.
         * Expected value is 'ArmResourceDefinition'.
         * 
         * @return builder
         * 
         */
        public Builder resourceElementType(Output resourceElementType) {
            $.resourceElementType = resourceElementType;
            return this;
        }

        /**
         * @param resourceElementType The resource element template type.
         * Expected value is 'ArmResourceDefinition'.
         * 
         * @return builder
         * 
         */
        public Builder resourceElementType(String resourceElementType) {
            return resourceElementType(Output.of(resourceElementType));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy