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

com.pulumi.github.inputs.ActionsEnvironmentVariableState 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 ActionsEnvironmentVariableState extends com.pulumi.resources.ResourceArgs {

    public static final ActionsEnvironmentVariableState Empty = new ActionsEnvironmentVariableState();

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

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

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

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

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

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

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

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

    /**
     * Value of the variable
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return Value of the variable
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

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

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

    private ActionsEnvironmentVariableState() {}

    private ActionsEnvironmentVariableState(ActionsEnvironmentVariableState $) {
        this.createdAt = $.createdAt;
        this.environment = $.environment;
        this.repository = $.repository;
        this.updatedAt = $.updatedAt;
        this.value = $.value;
        this.variableName = $.variableName;
    }

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

    public static final class Builder {
        private ActionsEnvironmentVariableState $;

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

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

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

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

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

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

        /**
         * @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 updatedAt Date of actions_environment_secret update.
         * 
         * @return builder
         * 
         */
        public Builder updatedAt(@Nullable Output updatedAt) {
            $.updatedAt = updatedAt;
            return this;
        }

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

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

        /**
         * @param value Value of the variable
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

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

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

        public ActionsEnvironmentVariableState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy