// *** 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.aws.kms.inputs;

import com.pulumi.aws.kms.inputs.GetSecretsSecretArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;


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

    public static final GetSecretsArgs Empty = new GetSecretsArgs();

    /**
     * One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
     * 
     */
    @Import(name="secrets", required=true)
    private Output<List<GetSecretsSecretArgs>> secrets;

    /**
     * @return One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
     * 
     */
    public Output<List<GetSecretsSecretArgs>> secrets() {
        return this.secrets;
    }

    private GetSecretsArgs() {}

    private GetSecretsArgs(GetSecretsArgs $) {
        this.secrets = $.secrets;
    }

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

    public static final class Builder {
        private GetSecretsArgs $;

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

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

        /**
         * @param secrets One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
         * 
         * @return builder
         * 
         */
        public Builder secrets(Output<List<GetSecretsSecretArgs>> secrets) {
            $.secrets = secrets;
            return this;
        }

        /**
         * @param secrets One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
         * 
         * @return builder
         * 
         */
        public Builder secrets(List<GetSecretsSecretArgs> secrets) {
            return secrets(Output.of(secrets));
        }

        /**
         * @param secrets One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
         * 
         * @return builder
         * 
         */
        public Builder secrets(GetSecretsSecretArgs... secrets) {
            return secrets(List.of(secrets));
        }

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

}
