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

com.pulumi.github.UserGpgKeyArgs Maven / Gradle / Ivy

There is a newer version: 6.5.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.github;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final UserGpgKeyArgs Empty = new UserGpgKeyArgs();

    /**
     * Your public GPG key, generated in ASCII-armored format.
     * See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
     * 
     */
    @Import(name="armoredPublicKey", required=true)
    private Output armoredPublicKey;

    /**
     * @return Your public GPG key, generated in ASCII-armored format.
     * See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
     * 
     */
    public Output armoredPublicKey() {
        return this.armoredPublicKey;
    }

    private UserGpgKeyArgs() {}

    private UserGpgKeyArgs(UserGpgKeyArgs $) {
        this.armoredPublicKey = $.armoredPublicKey;
    }

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

    public static final class Builder {
        private UserGpgKeyArgs $;

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

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

        /**
         * @param armoredPublicKey Your public GPG key, generated in ASCII-armored format.
         * See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
         * 
         * @return builder
         * 
         */
        public Builder armoredPublicKey(Output armoredPublicKey) {
            $.armoredPublicKey = armoredPublicKey;
            return this;
        }

        /**
         * @param armoredPublicKey Your public GPG key, generated in ASCII-armored format.
         * See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
         * 
         * @return builder
         * 
         */
        public Builder armoredPublicKey(String armoredPublicKey) {
            return armoredPublicKey(Output.of(armoredPublicKey));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy