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

com.pulumi.aws.codeartifact.inputs.RepositoryExternalConnectionsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.codeartifact.inputs;

import com.pulumi.core.Output;
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 RepositoryExternalConnectionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final RepositoryExternalConnectionsArgs Empty = new RepositoryExternalConnectionsArgs();

    /**
     * The name of the external connection associated with a repository.
     * 
     */
    @Import(name="externalConnectionName", required=true)
    private Output externalConnectionName;

    /**
     * @return The name of the external connection associated with a repository.
     * 
     */
    public Output externalConnectionName() {
        return this.externalConnectionName;
    }

    @Import(name="packageFormat")
    private @Nullable Output packageFormat;

    public Optional> packageFormat() {
        return Optional.ofNullable(this.packageFormat);
    }

    @Import(name="status")
    private @Nullable Output status;

    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private RepositoryExternalConnectionsArgs() {}

    private RepositoryExternalConnectionsArgs(RepositoryExternalConnectionsArgs $) {
        this.externalConnectionName = $.externalConnectionName;
        this.packageFormat = $.packageFormat;
        this.status = $.status;
    }

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

    public static final class Builder {
        private RepositoryExternalConnectionsArgs $;

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

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

        /**
         * @param externalConnectionName The name of the external connection associated with a repository.
         * 
         * @return builder
         * 
         */
        public Builder externalConnectionName(Output externalConnectionName) {
            $.externalConnectionName = externalConnectionName;
            return this;
        }

        /**
         * @param externalConnectionName The name of the external connection associated with a repository.
         * 
         * @return builder
         * 
         */
        public Builder externalConnectionName(String externalConnectionName) {
            return externalConnectionName(Output.of(externalConnectionName));
        }

        public Builder packageFormat(@Nullable Output packageFormat) {
            $.packageFormat = packageFormat;
            return this;
        }

        public Builder packageFormat(String packageFormat) {
            return packageFormat(Output.of(packageFormat));
        }

        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        public Builder status(String status) {
            return status(Output.of(status));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy