com.pulumi.googlenative.dataproc.v1.outputs.JobReferenceResponse 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 JobReferenceResponse {
/**
* @return Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server.
*
*/
private String jobId;
/**
* @return Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.
*
*/
private String project;
private JobReferenceResponse() {}
/**
* @return Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server.
*
*/
public String jobId() {
return this.jobId;
}
/**
* @return Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.
*
*/
public String project() {
return this.project;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(JobReferenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String jobId;
private String project;
public Builder() {}
public Builder(JobReferenceResponse defaults) {
Objects.requireNonNull(defaults);
this.jobId = defaults.jobId;
this.project = defaults.project;
}
@CustomType.Setter
public Builder jobId(String jobId) {
this.jobId = Objects.requireNonNull(jobId);
return this;
}
@CustomType.Setter
public Builder project(String project) {
this.project = Objects.requireNonNull(project);
return this;
}
public JobReferenceResponse build() {
final var o = new JobReferenceResponse();
o.jobId = jobId;
o.project = project;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy