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

com.pulumi.azurenative.awsconnector.inputs.RepositoryCredentialsArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.azurenative.awsconnector.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;


/**
 * Definition of RepositoryCredentials
 * 
 */
public final class RepositoryCredentialsArgs extends com.pulumi.resources.ResourceArgs {

    public static final RepositoryCredentialsArgs Empty = new RepositoryCredentialsArgs();

    /**
     * The Amazon Resource Name (ARN) of the secret containing the private repository credentials.  When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.
     * 
     */
    @Import(name="credentialsParameter")
    private @Nullable Output credentialsParameter;

    /**
     * @return The Amazon Resource Name (ARN) of the secret containing the private repository credentials.  When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.
     * 
     */
    public Optional> credentialsParameter() {
        return Optional.ofNullable(this.credentialsParameter);
    }

    private RepositoryCredentialsArgs() {}

    private RepositoryCredentialsArgs(RepositoryCredentialsArgs $) {
        this.credentialsParameter = $.credentialsParameter;
    }

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

    public static final class Builder {
        private RepositoryCredentialsArgs $;

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

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

        /**
         * @param credentialsParameter The Amazon Resource Name (ARN) of the secret containing the private repository credentials.  When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.
         * 
         * @return builder
         * 
         */
        public Builder credentialsParameter(@Nullable Output credentialsParameter) {
            $.credentialsParameter = credentialsParameter;
            return this;
        }

        /**
         * @param credentialsParameter The Amazon Resource Name (ARN) of the secret containing the private repository credentials.  When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.
         * 
         * @return builder
         * 
         */
        public Builder credentialsParameter(String credentialsParameter) {
            return credentialsParameter(Output.of(credentialsParameter));
        }

        public RepositoryCredentialsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy