
com.pulumi.github.outputs.GetActionsVariablesResult Maven / Gradle / Ivy
// *** 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.github.outputs.GetActionsVariablesVariable;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetActionsVariablesResult {
private String fullName;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Name of the variable
*
*/
private String name;
/**
* @return list of variables for the repository
*
*/
private List variables;
private GetActionsVariablesResult() {}
public String fullName() {
return this.fullName;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Name of the variable
*
*/
public String name() {
return this.name;
}
/**
* @return list of variables for the repository
*
*/
public List variables() {
return this.variables;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetActionsVariablesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String fullName;
private String id;
private String name;
private List variables;
public Builder() {}
public Builder(GetActionsVariablesResult defaults) {
Objects.requireNonNull(defaults);
this.fullName = defaults.fullName;
this.id = defaults.id;
this.name = defaults.name;
this.variables = defaults.variables;
}
@CustomType.Setter
public Builder fullName(String fullName) {
this.fullName = Objects.requireNonNull(fullName);
return this;
}
@CustomType.Setter
public Builder id(String id) {
this.id = Objects.requireNonNull(id);
return this;
}
@CustomType.Setter
public Builder name(String name) {
this.name = Objects.requireNonNull(name);
return this;
}
@CustomType.Setter
public Builder variables(List variables) {
this.variables = Objects.requireNonNull(variables);
return this;
}
public Builder variables(GetActionsVariablesVariable... variables) {
return variables(List.of(variables));
}
public GetActionsVariablesResult build() {
final var o = new GetActionsVariablesResult();
o.fullName = fullName;
o.id = id;
o.name = name;
o.variables = variables;
return o;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy