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

com.pulumi.azurenative.appplatform.inputs.ApmPropertiesArgs 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.appplatform.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of an APM
 * 
 */
public final class ApmPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApmPropertiesArgs Empty = new ApmPropertiesArgs();

    /**
     * Non-sensitive properties for the APM
     * 
     */
    @Import(name="properties")
    private @Nullable Output> properties;

    /**
     * @return Non-sensitive properties for the APM
     * 
     */
    public Optional>> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Sensitive properties for the APM
     * 
     */
    @Import(name="secrets")
    private @Nullable Output> secrets;

    /**
     * @return Sensitive properties for the APM
     * 
     */
    public Optional>> secrets() {
        return Optional.ofNullable(this.secrets);
    }

    /**
     * APM Type
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return APM Type
     * 
     */
    public Output type() {
        return this.type;
    }

    private ApmPropertiesArgs() {}

    private ApmPropertiesArgs(ApmPropertiesArgs $) {
        this.properties = $.properties;
        this.secrets = $.secrets;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ApmPropertiesArgs $;

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

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

        /**
         * @param properties Non-sensitive properties for the APM
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output> properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Non-sensitive properties for the APM
         * 
         * @return builder
         * 
         */
        public Builder properties(Map properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param secrets Sensitive properties for the APM
         * 
         * @return builder
         * 
         */
        public Builder secrets(@Nullable Output> secrets) {
            $.secrets = secrets;
            return this;
        }

        /**
         * @param secrets Sensitive properties for the APM
         * 
         * @return builder
         * 
         */
        public Builder secrets(Map secrets) {
            return secrets(Output.of(secrets));
        }

        /**
         * @param type APM Type
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type APM Type
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ApmPropertiesArgs build() {
            if ($.type == null) {
                throw new MissingRequiredPropertyException("ApmPropertiesArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy