sdk/java/src/main/java/com/pulumi/ovh/Me/outputs/GetSshKeyResult.java
// *** 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.ovh.Me.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetSshKeyResult {
    /**
     * @return True when this public SSH key is used for rescue mode and reinstallations.
     * 
     */
    private Boolean default_;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The content of the public key.
     * E.g.: &#34;ssh-ed25519 AAAAC3...&#34;
     * 
     */
    private String key;
    /**
     * @return See Argument Reference above.
     * 
     */
    private String keyName;

    private GetSshKeyResult() {}
    /**
     * @return True when this public SSH key is used for rescue mode and reinstallations.
     * 
     */
    public Boolean default_() {
        return this.default_;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The content of the public key.
     * E.g.: &#34;ssh-ed25519 AAAAC3...&#34;
     * 
     */
    public String key() {
        return this.key;
    }
    /**
     * @return See Argument Reference above.
     * 
     */
    public String keyName() {
        return this.keyName;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetSshKeyResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean default_;
        private String id;
        private String key;
        private String keyName;
        public Builder() {}
        public Builder(GetSshKeyResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.default_ = defaults.default_;
    	      this.id = defaults.id;
    	      this.key = defaults.key;
    	      this.keyName = defaults.keyName;
        }

        @CustomType.Setter("default")
        public Builder default_(Boolean default_) {
            this.default_ = Objects.requireNonNull(default_);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder key(String key) {
            this.key = Objects.requireNonNull(key);
            return this;
        }
        @CustomType.Setter
        public Builder keyName(String keyName) {
            this.keyName = Objects.requireNonNull(keyName);
            return this;
        }
        public GetSshKeyResult build() {
            final var o = new GetSshKeyResult();
            o.default_ = default_;
            o.id = id;
            o.key = key;
            o.keyName = keyName;
            return o;
        }
    }
}
