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

com.pulumi.github.inputs.DependabotSecretState Maven / Gradle / Ivy

There is a newer version: 6.4.0-alpha.1731735876
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.inputs;

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


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

    public static final DependabotSecretState Empty = new DependabotSecretState();

    /**
     * Date of dependabot_secret creation.
     * 
     */
    @Import(name="createdAt")
    private @Nullable Output createdAt;

    /**
     * @return Date of dependabot_secret creation.
     * 
     */
    public Optional> createdAt() {
        return Optional.ofNullable(this.createdAt);
    }

    /**
     * Encrypted value of the secret using the GitHub public key in Base64 format.
     * 
     */
    @Import(name="encryptedValue")
    private @Nullable Output encryptedValue;

    /**
     * @return Encrypted value of the secret using the GitHub public key in Base64 format.
     * 
     */
    public Optional> encryptedValue() {
        return Optional.ofNullable(this.encryptedValue);
    }

    /**
     * Plaintext value of the secret to be encrypted
     * 
     */
    @Import(name="plaintextValue")
    private @Nullable Output plaintextValue;

    /**
     * @return Plaintext value of the secret to be encrypted
     * 
     */
    public Optional> plaintextValue() {
        return Optional.ofNullable(this.plaintextValue);
    }

    /**
     * Name of the repository
     * 
     */
    @Import(name="repository")
    private @Nullable Output repository;

    /**
     * @return Name of the repository
     * 
     */
    public Optional> repository() {
        return Optional.ofNullable(this.repository);
    }

    /**
     * Name of the secret
     * 
     */
    @Import(name="secretName")
    private @Nullable Output secretName;

    /**
     * @return Name of the secret
     * 
     */
    public Optional> secretName() {
        return Optional.ofNullable(this.secretName);
    }

    /**
     * Date of dependabot_secret update.
     * 
     */
    @Import(name="updatedAt")
    private @Nullable Output updatedAt;

    /**
     * @return Date of dependabot_secret update.
     * 
     */
    public Optional> updatedAt() {
        return Optional.ofNullable(this.updatedAt);
    }

    private DependabotSecretState() {}

    private DependabotSecretState(DependabotSecretState $) {
        this.createdAt = $.createdAt;
        this.encryptedValue = $.encryptedValue;
        this.plaintextValue = $.plaintextValue;
        this.repository = $.repository;
        this.secretName = $.secretName;
        this.updatedAt = $.updatedAt;
    }

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

    public static final class Builder {
        private DependabotSecretState $;

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

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

        /**
         * @param createdAt Date of dependabot_secret creation.
         * 
         * @return builder
         * 
         */
        public Builder createdAt(@Nullable Output createdAt) {
            $.createdAt = createdAt;
            return this;
        }

        /**
         * @param createdAt Date of dependabot_secret creation.
         * 
         * @return builder
         * 
         */
        public Builder createdAt(String createdAt) {
            return createdAt(Output.of(createdAt));
        }

        /**
         * @param encryptedValue Encrypted value of the secret using the GitHub public key in Base64 format.
         * 
         * @return builder
         * 
         */
        public Builder encryptedValue(@Nullable Output encryptedValue) {
            $.encryptedValue = encryptedValue;
            return this;
        }

        /**
         * @param encryptedValue Encrypted value of the secret using the GitHub public key in Base64 format.
         * 
         * @return builder
         * 
         */
        public Builder encryptedValue(String encryptedValue) {
            return encryptedValue(Output.of(encryptedValue));
        }

        /**
         * @param plaintextValue Plaintext value of the secret to be encrypted
         * 
         * @return builder
         * 
         */
        public Builder plaintextValue(@Nullable Output plaintextValue) {
            $.plaintextValue = plaintextValue;
            return this;
        }

        /**
         * @param plaintextValue Plaintext value of the secret to be encrypted
         * 
         * @return builder
         * 
         */
        public Builder plaintextValue(String plaintextValue) {
            return plaintextValue(Output.of(plaintextValue));
        }

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

        /**
         * @param repository Name of the repository
         * 
         * @return builder
         * 
         */
        public Builder repository(String repository) {
            return repository(Output.of(repository));
        }

        /**
         * @param secretName Name of the secret
         * 
         * @return builder
         * 
         */
        public Builder secretName(@Nullable Output secretName) {
            $.secretName = secretName;
            return this;
        }

        /**
         * @param secretName Name of the secret
         * 
         * @return builder
         * 
         */
        public Builder secretName(String secretName) {
            return secretName(Output.of(secretName));
        }

        /**
         * @param updatedAt Date of dependabot_secret update.
         * 
         * @return builder
         * 
         */
        public Builder updatedAt(@Nullable Output updatedAt) {
            $.updatedAt = updatedAt;
            return this;
        }

        /**
         * @param updatedAt Date of dependabot_secret update.
         * 
         * @return builder
         * 
         */
        public Builder updatedAt(String updatedAt) {
            return updatedAt(Output.of(updatedAt));
        }

        public DependabotSecretState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy