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

com.pulumi.github.inputs.GetActionsEnvironmentSecretsPlainArgs 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.inputs;

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


public final class GetActionsEnvironmentSecretsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetActionsEnvironmentSecretsPlainArgs Empty = new GetActionsEnvironmentSecretsPlainArgs();

    @Import(name="environment", required=true)
    private String environment;

    public String environment() {
        return this.environment;
    }

    @Import(name="fullName")
    private @Nullable String fullName;

    public Optional fullName() {
        return Optional.ofNullable(this.fullName);
    }

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

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

    private GetActionsEnvironmentSecretsPlainArgs() {}

    private GetActionsEnvironmentSecretsPlainArgs(GetActionsEnvironmentSecretsPlainArgs $) {
        this.environment = $.environment;
        this.fullName = $.fullName;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetActionsEnvironmentSecretsPlainArgs $;

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

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

        public Builder environment(String environment) {
            $.environment = environment;
            return this;
        }

        public Builder fullName(@Nullable String fullName) {
            $.fullName = fullName;
            return this;
        }

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

        public GetActionsEnvironmentSecretsPlainArgs build() {
            if ($.environment == null) {
                throw new MissingRequiredPropertyException("GetActionsEnvironmentSecretsPlainArgs", "environment");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy