
com.pulumi.azurenative.azurestack.outputs.ProductLinkResponse 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.azurestack.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProductLinkResponse {
/**
* @return The description of the link.
*
*/
private @Nullable String displayName;
/**
* @return The URI corresponding to the link.
*
*/
private @Nullable String uri;
private ProductLinkResponse() {}
/**
* @return The description of the link.
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return The URI corresponding to the link.
*
*/
public Optional uri() {
return Optional.ofNullable(this.uri);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProductLinkResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String displayName;
private @Nullable String uri;
public Builder() {}
public Builder(ProductLinkResponse defaults) {
Objects.requireNonNull(defaults);
this.displayName = defaults.displayName;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder uri(@Nullable String uri) {
this.uri = uri;
return this;
}
public ProductLinkResponse build() {
final var _resultValue = new ProductLinkResponse();
_resultValue.displayName = displayName;
_resultValue.uri = uri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy