com.pulumi.googlenative.datalabeling.v1beta1.outputs.GoogleCloudDatalabelingV1beta1GcsSourceResponse 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.datalabeling.v1beta1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GoogleCloudDatalabelingV1beta1GcsSourceResponse {
/**
* @return The input URI of source file. This must be a Cloud Storage path (`gs://...`).
*
*/
private String inputUri;
/**
* @return The format of the source file. Only "text/csv" is supported.
*
*/
private String mimeType;
private GoogleCloudDatalabelingV1beta1GcsSourceResponse() {}
/**
* @return The input URI of source file. This must be a Cloud Storage path (`gs://...`).
*
*/
public String inputUri() {
return this.inputUri;
}
/**
* @return The format of the source file. Only "text/csv" is supported.
*
*/
public String mimeType() {
return this.mimeType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleCloudDatalabelingV1beta1GcsSourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String inputUri;
private String mimeType;
public Builder() {}
public Builder(GoogleCloudDatalabelingV1beta1GcsSourceResponse defaults) {
Objects.requireNonNull(defaults);
this.inputUri = defaults.inputUri;
this.mimeType = defaults.mimeType;
}
@CustomType.Setter
public Builder inputUri(String inputUri) {
this.inputUri = Objects.requireNonNull(inputUri);
return this;
}
@CustomType.Setter
public Builder mimeType(String mimeType) {
this.mimeType = Objects.requireNonNull(mimeType);
return this;
}
public GoogleCloudDatalabelingV1beta1GcsSourceResponse build() {
final var o = new GoogleCloudDatalabelingV1beta1GcsSourceResponse();
o.inputUri = inputUri;
o.mimeType = mimeType;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy