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

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

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;


/**
 * Properties of certificate imported from key vault.
 * 
 */
public final class ContentCertificatePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ContentCertificatePropertiesArgs Empty = new ContentCertificatePropertiesArgs();

    /**
     * The content of uploaded certificate.
     * 
     */
    @Import(name="content")
    private @Nullable Output content;

    /**
     * @return The content of uploaded certificate.
     * 
     */
    public Optional> content() {
        return Optional.ofNullable(this.content);
    }

    /**
     * The type of the certificate source.
     * Expected value is 'ContentCertificate'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The type of the certificate source.
     * Expected value is 'ContentCertificate'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private ContentCertificatePropertiesArgs() {}

    private ContentCertificatePropertiesArgs(ContentCertificatePropertiesArgs $) {
        this.content = $.content;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ContentCertificatePropertiesArgs $;

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

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

        /**
         * @param content The content of uploaded certificate.
         * 
         * @return builder
         * 
         */
        public Builder content(@Nullable Output content) {
            $.content = content;
            return this;
        }

        /**
         * @param content The content of uploaded certificate.
         * 
         * @return builder
         * 
         */
        public Builder content(String content) {
            return content(Output.of(content));
        }

        /**
         * @param type The type of the certificate source.
         * Expected value is 'ContentCertificate'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of the certificate source.
         * Expected value is 'ContentCertificate'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy