com.pulumi.github.outputs.GetActionsVariablesVariable 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 java.lang.String;
import java.util.Objects;
@CustomType
public final class GetActionsVariablesVariable {
/**
* @return Timestamp of the variable creation
*
*/
private String createdAt;
/**
* @return The name of the repository.
*
*/
private String name;
/**
* @return Timestamp of the variable last update
*
*/
private String updatedAt;
/**
* @return Value of the variable
*
*/
private String value;
private GetActionsVariablesVariable() {}
/**
* @return Timestamp of the variable creation
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return The name of the repository.
*
*/
public String name() {
return this.name;
}
/**
* @return Timestamp of the variable last update
*
*/
public String updatedAt() {
return this.updatedAt;
}
/**
* @return Value of the variable
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetActionsVariablesVariable defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdAt;
private String name;
private String updatedAt;
private String value;
public Builder() {}
public Builder(GetActionsVariablesVariable defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.name = defaults.name;
this.updatedAt = defaults.updatedAt;
this.value = defaults.value;
}
@CustomType.Setter
public Builder createdAt(String createdAt) {
if (createdAt == null) {
throw new MissingRequiredPropertyException("GetActionsVariablesVariable", "createdAt");
}
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetActionsVariablesVariable", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder updatedAt(String updatedAt) {
if (updatedAt == null) {
throw new MissingRequiredPropertyException("GetActionsVariablesVariable", "updatedAt");
}
this.updatedAt = updatedAt;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("GetActionsVariablesVariable", "value");
}
this.value = value;
return this;
}
public GetActionsVariablesVariable build() {
final var _resultValue = new GetActionsVariablesVariable();
_resultValue.createdAt = createdAt;
_resultValue.name = name;
_resultValue.updatedAt = updatedAt;
_resultValue.value = value;
return _resultValue;
}
}
}