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

com.pulumi.github.outputs.GetRepositoryPageSource 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.outputs;

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

@CustomType
public final class GetRepositoryPageSource {
    private String branch;
    /**
     * @return The path to the license file within the repository.
     * 
     */
    private String path;

    private GetRepositoryPageSource() {}
    public String branch() {
        return this.branch;
    }
    /**
     * @return The path to the license file within the repository.
     * 
     */
    public String path() {
        return this.path;
    }

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

    public static Builder builder(GetRepositoryPageSource defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String branch;
        private String path;
        public Builder() {}
        public Builder(GetRepositoryPageSource defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.branch = defaults.branch;
    	      this.path = defaults.path;
        }

        @CustomType.Setter
        public Builder branch(String branch) {
            if (branch == null) {
              throw new MissingRequiredPropertyException("GetRepositoryPageSource", "branch");
            }
            this.branch = branch;
            return this;
        }
        @CustomType.Setter
        public Builder path(String path) {
            if (path == null) {
              throw new MissingRequiredPropertyException("GetRepositoryPageSource", "path");
            }
            this.path = path;
            return this;
        }
        public GetRepositoryPageSource build() {
            final var _resultValue = new GetRepositoryPageSource();
            _resultValue.branch = branch;
            _resultValue.path = path;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy