
com.pulumi.azurenative.machinelearningservices.outputs.LabelingJobImagePropertiesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.machinelearningservices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LabelingJobImagePropertiesResponse {
/**
* @return Annotation type of image labeling job.
*
*/
private @Nullable String annotationType;
/**
* @return Media type of data asset.
* Expected value is 'Image'.
*
*/
private String mediaType;
private LabelingJobImagePropertiesResponse() {}
/**
* @return Annotation type of image labeling job.
*
*/
public Optional annotationType() {
return Optional.ofNullable(this.annotationType);
}
/**
* @return Media type of data asset.
* Expected value is 'Image'.
*
*/
public String mediaType() {
return this.mediaType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LabelingJobImagePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String annotationType;
private String mediaType;
public Builder() {}
public Builder(LabelingJobImagePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.annotationType = defaults.annotationType;
this.mediaType = defaults.mediaType;
}
@CustomType.Setter
public Builder annotationType(@Nullable String annotationType) {
this.annotationType = annotationType;
return this;
}
@CustomType.Setter
public Builder mediaType(String mediaType) {
if (mediaType == null) {
throw new MissingRequiredPropertyException("LabelingJobImagePropertiesResponse", "mediaType");
}
this.mediaType = mediaType;
return this;
}
public LabelingJobImagePropertiesResponse build() {
final var _resultValue = new LabelingJobImagePropertiesResponse();
_resultValue.annotationType = annotationType;
_resultValue.mediaType = mediaType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy