com.pulumi.azurenative.resources.outputs.ParametersLinkResponse 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.resources.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 ParametersLinkResponse {
/**
* @return If included, must match the ContentVersion in the template.
*
*/
private @Nullable String contentVersion;
/**
* @return The URI of the parameters file.
*
*/
private String uri;
private ParametersLinkResponse() {}
/**
* @return If included, must match the ContentVersion in the template.
*
*/
public Optional contentVersion() {
return Optional.ofNullable(this.contentVersion);
}
/**
* @return The URI of the parameters file.
*
*/
public String uri() {
return this.uri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ParametersLinkResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String contentVersion;
private String uri;
public Builder() {}
public Builder(ParametersLinkResponse defaults) {
Objects.requireNonNull(defaults);
this.contentVersion = defaults.contentVersion;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder contentVersion(@Nullable String contentVersion) {
this.contentVersion = contentVersion;
return this;
}
@CustomType.Setter
public Builder uri(String uri) {
if (uri == null) {
throw new MissingRequiredPropertyException("ParametersLinkResponse", "uri");
}
this.uri = uri;
return this;
}
public ParametersLinkResponse build() {
final var _resultValue = new ParametersLinkResponse();
_resultValue.contentVersion = contentVersion;
_resultValue.uri = uri;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy