// *** 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.codecommit.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetRepositoryResult {
    /**
     * @return ARN of the repository
     * 
     */
    private String arn;
    /**
     * @return URL to use for cloning the repository over HTTPS.
     * 
     */
    private String cloneUrlHttp;
    /**
     * @return URL to use for cloning the repository over SSH.
     * 
     */
    private String cloneUrlSsh;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return ID of the repository
     * 
     */
    private String repositoryId;
    private String repositoryName;

    private GetRepositoryResult() {}
    /**
     * @return ARN of the repository
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return URL to use for cloning the repository over HTTPS.
     * 
     */
    public String cloneUrlHttp() {
        return this.cloneUrlHttp;
    }
    /**
     * @return URL to use for cloning the repository over SSH.
     * 
     */
    public String cloneUrlSsh() {
        return this.cloneUrlSsh;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return ID of the repository
     * 
     */
    public String repositoryId() {
        return this.repositoryId;
    }
    public String repositoryName() {
        return this.repositoryName;
    }

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

    public static Builder builder(GetRepositoryResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String cloneUrlHttp;
        private String cloneUrlSsh;
        private String id;
        private String repositoryId;
        private String repositoryName;
        public Builder() {}
        public Builder(GetRepositoryResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.cloneUrlHttp = defaults.cloneUrlHttp;
    	      this.cloneUrlSsh = defaults.cloneUrlSsh;
    	      this.id = defaults.id;
    	      this.repositoryId = defaults.repositoryId;
    	      this.repositoryName = defaults.repositoryName;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            this.arn = Objects.requireNonNull(arn);
            return this;
        }
        @CustomType.Setter
        public Builder cloneUrlHttp(String cloneUrlHttp) {
            this.cloneUrlHttp = Objects.requireNonNull(cloneUrlHttp);
            return this;
        }
        @CustomType.Setter
        public Builder cloneUrlSsh(String cloneUrlSsh) {
            this.cloneUrlSsh = Objects.requireNonNull(cloneUrlSsh);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder repositoryId(String repositoryId) {
            this.repositoryId = Objects.requireNonNull(repositoryId);
            return this;
        }
        @CustomType.Setter
        public Builder repositoryName(String repositoryName) {
            this.repositoryName = Objects.requireNonNull(repositoryName);
            return this;
        }
        public GetRepositoryResult build() {
            final var o = new GetRepositoryResult();
            o.arn = arn;
            o.cloneUrlHttp = cloneUrlHttp;
            o.cloneUrlSsh = cloneUrlSsh;
            o.id = id;
            o.repositoryId = repositoryId;
            o.repositoryName = repositoryName;
            return o;
        }
    }
}
