![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.github.outputs.GetRepositoryAutolinkReferencesResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of github Show documentation
Show all versions of github Show documentation
A Pulumi package for creating and managing github cloud resources.
// *** 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 com.pulumi.github.outputs.GetRepositoryAutolinkReferencesAutolinkReference;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetRepositoryAutolinkReferencesResult {
/**
* @return The list of this repository's autolink references. Each element of `autolink_references` has the following attributes:
*
*/
private List autolinkReferences;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String repository;
private GetRepositoryAutolinkReferencesResult() {}
/**
* @return The list of this repository's autolink references. Each element of `autolink_references` has the following attributes:
*
*/
public List autolinkReferences() {
return this.autolinkReferences;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String repository() {
return this.repository;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRepositoryAutolinkReferencesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List autolinkReferences;
private String id;
private String repository;
public Builder() {}
public Builder(GetRepositoryAutolinkReferencesResult defaults) {
Objects.requireNonNull(defaults);
this.autolinkReferences = defaults.autolinkReferences;
this.id = defaults.id;
this.repository = defaults.repository;
}
@CustomType.Setter
public Builder autolinkReferences(List autolinkReferences) {
if (autolinkReferences == null) {
throw new MissingRequiredPropertyException("GetRepositoryAutolinkReferencesResult", "autolinkReferences");
}
this.autolinkReferences = autolinkReferences;
return this;
}
public Builder autolinkReferences(GetRepositoryAutolinkReferencesAutolinkReference... autolinkReferences) {
return autolinkReferences(List.of(autolinkReferences));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetRepositoryAutolinkReferencesResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder repository(String repository) {
if (repository == null) {
throw new MissingRequiredPropertyException("GetRepositoryAutolinkReferencesResult", "repository");
}
this.repository = repository;
return this;
}
public GetRepositoryAutolinkReferencesResult build() {
final var _resultValue = new GetRepositoryAutolinkReferencesResult();
_resultValue.autolinkReferences = autolinkReferences;
_resultValue.id = id;
_resultValue.repository = repository;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy