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

com.pulumi.googlenative.dataproc.v1.outputs.NodeInitializationActionResponse 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 NodeInitializationActionResponse {
    /**
     * @return Cloud Storage URI of executable file.
     * 
     */
    private String executableFile;
    /**
     * @return Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
     * 
     */
    private String executionTimeout;

    private NodeInitializationActionResponse() {}
    /**
     * @return Cloud Storage URI of executable file.
     * 
     */
    public String executableFile() {
        return this.executableFile;
    }
    /**
     * @return Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
     * 
     */
    public String executionTimeout() {
        return this.executionTimeout;
    }

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

    public static Builder builder(NodeInitializationActionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String executableFile;
        private String executionTimeout;
        public Builder() {}
        public Builder(NodeInitializationActionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.executableFile = defaults.executableFile;
    	      this.executionTimeout = defaults.executionTimeout;
        }

        @CustomType.Setter
        public Builder executableFile(String executableFile) {
            this.executableFile = Objects.requireNonNull(executableFile);
            return this;
        }
        @CustomType.Setter
        public Builder executionTimeout(String executionTimeout) {
            this.executionTimeout = Objects.requireNonNull(executionTimeout);
            return this;
        }
        public NodeInitializationActionResponse build() {
            final var o = new NodeInitializationActionResponse();
            o.executableFile = executableFile;
            o.executionTimeout = executionTimeout;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy