All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dataproc.v1.outputs.InstanceReferenceResponse 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.googlenative.dataproc.v1.outputs;

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

@CustomType
public final class InstanceReferenceResponse {
    /**
     * @return The unique identifier of the Compute Engine instance.
     * 
     */
    private String instanceId;
    /**
     * @return The user-friendly name of the Compute Engine instance.
     * 
     */
    private String instanceName;
    /**
     * @return The public ECIES key used for sharing data with this instance.
     * 
     */
    private String publicEciesKey;
    /**
     * @return The public RSA key used for sharing data with this instance.
     * 
     */
    private String publicKey;

    private InstanceReferenceResponse() {}
    /**
     * @return The unique identifier of the Compute Engine instance.
     * 
     */
    public String instanceId() {
        return this.instanceId;
    }
    /**
     * @return The user-friendly name of the Compute Engine instance.
     * 
     */
    public String instanceName() {
        return this.instanceName;
    }
    /**
     * @return The public ECIES key used for sharing data with this instance.
     * 
     */
    public String publicEciesKey() {
        return this.publicEciesKey;
    }
    /**
     * @return The public RSA key used for sharing data with this instance.
     * 
     */
    public String publicKey() {
        return this.publicKey;
    }

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

    public static Builder builder(InstanceReferenceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String instanceId;
        private String instanceName;
        private String publicEciesKey;
        private String publicKey;
        public Builder() {}
        public Builder(InstanceReferenceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.instanceId = defaults.instanceId;
    	      this.instanceName = defaults.instanceName;
    	      this.publicEciesKey = defaults.publicEciesKey;
    	      this.publicKey = defaults.publicKey;
        }

        @CustomType.Setter
        public Builder instanceId(String instanceId) {
            this.instanceId = Objects.requireNonNull(instanceId);
            return this;
        }
        @CustomType.Setter
        public Builder instanceName(String instanceName) {
            this.instanceName = Objects.requireNonNull(instanceName);
            return this;
        }
        @CustomType.Setter
        public Builder publicEciesKey(String publicEciesKey) {
            this.publicEciesKey = Objects.requireNonNull(publicEciesKey);
            return this;
        }
        @CustomType.Setter
        public Builder publicKey(String publicKey) {
            this.publicKey = Objects.requireNonNull(publicKey);
            return this;
        }
        public InstanceReferenceResponse build() {
            final var o = new InstanceReferenceResponse();
            o.instanceId = instanceId;
            o.instanceName = instanceName;
            o.publicEciesKey = publicEciesKey;
            o.publicKey = publicKey;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy