com.pulumi.azurenative.machinelearningservices.outputs.OutputPathAssetReferenceResponse 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 OutputPathAssetReferenceResponse {
/**
* @return ARM resource ID of the job.
*
*/
private @Nullable String jobId;
/**
* @return The path of the file/directory in the job output.
*
*/
private @Nullable String path;
/**
* @return Enum to determine which reference method to use for an asset.
* Expected value is 'OutputPath'.
*
*/
private String referenceType;
private OutputPathAssetReferenceResponse() {}
/**
* @return ARM resource ID of the job.
*
*/
public Optional jobId() {
return Optional.ofNullable(this.jobId);
}
/**
* @return The path of the file/directory in the job output.
*
*/
public Optional path() {
return Optional.ofNullable(this.path);
}
/**
* @return Enum to determine which reference method to use for an asset.
* Expected value is 'OutputPath'.
*
*/
public String referenceType() {
return this.referenceType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OutputPathAssetReferenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String jobId;
private @Nullable String path;
private String referenceType;
public Builder() {}
public Builder(OutputPathAssetReferenceResponse defaults) {
Objects.requireNonNull(defaults);
this.jobId = defaults.jobId;
this.path = defaults.path;
this.referenceType = defaults.referenceType;
}
@CustomType.Setter
public Builder jobId(@Nullable String jobId) {
this.jobId = jobId;
return this;
}
@CustomType.Setter
public Builder path(@Nullable String path) {
this.path = path;
return this;
}
@CustomType.Setter
public Builder referenceType(String referenceType) {
if (referenceType == null) {
throw new MissingRequiredPropertyException("OutputPathAssetReferenceResponse", "referenceType");
}
this.referenceType = referenceType;
return this;
}
public OutputPathAssetReferenceResponse build() {
final var _resultValue = new OutputPathAssetReferenceResponse();
_resultValue.jobId = jobId;
_resultValue.path = path;
_resultValue.referenceType = referenceType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy