com.pulumi.github.outputs.GetSshKeysResult 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 java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetSshKeysResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return An array of GitHub's SSH public keys.
*
*/
private List keys;
private GetSshKeysResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return An array of GitHub's SSH public keys.
*
*/
public List keys() {
return this.keys;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSshKeysResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private List keys;
public Builder() {}
public Builder(GetSshKeysResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.keys = defaults.keys;
}
@CustomType.Setter
public Builder id(String id) {
this.id = Objects.requireNonNull(id);
return this;
}
@CustomType.Setter
public Builder keys(List keys) {
this.keys = Objects.requireNonNull(keys);
return this;
}
public Builder keys(String... keys) {
return keys(List.of(keys));
}
public GetSshKeysResult build() {
final var o = new GetSshKeysResult();
o.id = id;
o.keys = keys;
return o;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy