com.pulumi.github.outputs.GetCodespacesOrganizationSecretsSecret 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 java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCodespacesOrganizationSecretsSecret {
/**
* @return Timestamp of the secret creation
*
*/
private String createdAt;
/**
* @return Secret name
*
*/
private String name;
/**
* @return Timestamp of the secret last update
*
*/
private String updatedAt;
/**
* @return Secret visibility
*
*/
private String visibility;
private GetCodespacesOrganizationSecretsSecret() {}
/**
* @return Timestamp of the secret creation
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return Secret name
*
*/
public String name() {
return this.name;
}
/**
* @return Timestamp of the secret last update
*
*/
public String updatedAt() {
return this.updatedAt;
}
/**
* @return Secret visibility
*
*/
public String visibility() {
return this.visibility;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCodespacesOrganizationSecretsSecret defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdAt;
private String name;
private String updatedAt;
private String visibility;
public Builder() {}
public Builder(GetCodespacesOrganizationSecretsSecret defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.name = defaults.name;
this.updatedAt = defaults.updatedAt;
this.visibility = defaults.visibility;
}
@CustomType.Setter
public Builder createdAt(String createdAt) {
this.createdAt = Objects.requireNonNull(createdAt);
return this;
}
@CustomType.Setter
public Builder name(String name) {
this.name = Objects.requireNonNull(name);
return this;
}
@CustomType.Setter
public Builder updatedAt(String updatedAt) {
this.updatedAt = Objects.requireNonNull(updatedAt);
return this;
}
@CustomType.Setter
public Builder visibility(String visibility) {
this.visibility = Objects.requireNonNull(visibility);
return this;
}
public GetCodespacesOrganizationSecretsSecret build() {
final var o = new GetCodespacesOrganizationSecretsSecret();
o.createdAt = createdAt;
o.name = name;
o.updatedAt = updatedAt;
o.visibility = visibility;
return o;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy