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

com.pulumi.googlenative.appengine.v1alpha.AuthorizedCertificateArgs 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.googlenative.appengine.v1alpha;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.googlenative.appengine.v1alpha.inputs.CertificateRawDataArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AuthorizedCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final AuthorizedCertificateArgs Empty = new AuthorizedCertificateArgs();

    @Import(name="appId", required=true)
    private Output appId;

    public Output appId() {
        return this.appId;
    }

    /**
     * The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
     * 
     */
    @Import(name="certificateRawData")
    private @Nullable Output certificateRawData;

    /**
     * @return The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
     * 
     */
    public Optional> certificateRawData() {
        return Optional.ofNullable(this.certificateRawData);
    }

    /**
     * The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    private AuthorizedCertificateArgs() {}

    private AuthorizedCertificateArgs(AuthorizedCertificateArgs $) {
        this.appId = $.appId;
        this.certificateRawData = $.certificateRawData;
        this.displayName = $.displayName;
    }

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

    public static final class Builder {
        private AuthorizedCertificateArgs $;

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

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

        public Builder appId(Output appId) {
            $.appId = appId;
            return this;
        }

        public Builder appId(String appId) {
            return appId(Output.of(appId));
        }

        /**
         * @param certificateRawData The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
         * 
         * @return builder
         * 
         */
        public Builder certificateRawData(@Nullable Output certificateRawData) {
            $.certificateRawData = certificateRawData;
            return this;
        }

        /**
         * @param certificateRawData The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
         * 
         * @return builder
         * 
         */
        public Builder certificateRawData(CertificateRawDataArgs certificateRawData) {
            return certificateRawData(Output.of(certificateRawData));
        }

        /**
         * @param displayName The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        public AuthorizedCertificateArgs build() {
            $.appId = Objects.requireNonNull($.appId, "expected parameter 'appId' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy